From: "jeremyevans0 (Jeremy Evans)" Date: 2021-12-23T16:01:08+00:00 Subject: [ruby-core:106782] [CommonRuby Feature#18427] fileutils.rb: - No such file or directory Issue #18427 has been updated by jeremyevans0 (Jeremy Evans). Status changed from Open to Third Party's Issue First, please don't file 3 separate bug reports. If you want to add more information to a bug report, please update the bug report you initially filed. Second, this is an issue when installing the msgpack gem, so you should report it to them: https://github.com/msgpack/msgpack-ruby/issues . Looks like an issue with the compiler you are using, it may be older than they support. I can tell you that you probably don't want the `--debug` flag. It's likely what is causing the exceptions that are being printed, since debug mode prints exceptions that are raised, even if they are handled. It's quite unlikely your problem is related to fileutils. ---------------------------------------- Feature #18427: fileutils.rb: - No such file or directory https://bugs.ruby-lang.org/issues/18427#change-95481 * Author: dklein (Dmitri Klein) * Status: Third Party's Issue * Priority: Normal ---------------------------------------- gem install msgpack-1.3.3.gem --debug ... Exception `NoMethodError' at /opt/csw/lib/ruby/2.0.0/rubygems/package.rb:420 - undefined method `readpartial' for # ... Exception `Errno::ENOENT' at /opt/csw/lib/ruby/2.0.0/fileutils.rb:1439 - No such file or directory - /opt/csw/lib/ruby/gems/2.0.0/gems/msgpack-1.3.3/spec/spec_helper.rb ... Exception `Errno::ENOENT' at /opt/csw/lib/ruby/2.0.0/fileutils.rb:1319 - No such file or directory - /opt/csw/lib/ruby/gems/2.0.0/gems/msgpack-1.3.3/spec/timestamp_spec.rb ... Exception `NoMethodError' at /opt/csw/lib/ruby/2.0.0/rubygems/package/tar_reader.rb:71 - undefined method `seek' for # ... ERROR: Error installing msgpack-1.3.3.gem: ERROR: Failed to build gem native extension. ... make "DESTDIR=" compiling buffer.c cc: -W option with unknown program all *** Error code 1 The following command caused the error: /opt/SUNWspro/bin/cc -I. -I/opt/csw/include/ruby-2.0.0/i386-solaris2.10 -I/opt/csw/include/ruby-2.0.0/ruby/backward -I/opt/csw/include/ruby-2.0.0 -I. -DHAVE_RUBY_ST_H -DHAVE_ST_H -DHAVE_RB_STR_REPLACE -DHAVE_RB_INTERN_STR -DHAVE_RB_STR_INTERN -DHAVE_RB_BLOCK_LAMBDA -DHAVE_RB_HASH_DUP -DHAVE_RB_HASH_CLEAR -I/opt/csw/include -D_FILE_OFFSET_BITS=64 -KPIC -xO3 -xarch=pentium_pro -xchip=pentium_pro -KPIC -I.. -Wall -O3 -g -std=gnu99 -m32 -o buffer.o -c buffer.c make: Fatal error: Command failed for target `buffer.o' -- https://bugs.ruby-lang.org/ Unsubscribe: