Project

General

Profile

Actions

Feature #18427

closed

fileutils.rb: - No such file or directory

Feature #18427: fileutils.rb: - No such file or directory

Added by dklein (Dmitri Klein) almost 4 years ago. Updated almost 4 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
[ruby-core:106781]

Description

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 #Gem::Package::TarReader::Entry:0x877f634

...
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 #Zlib::GzipReader:0x859f79c
...

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'


Related issues 2 (0 open2 closed)

Has duplicate Ruby - Feature #18426: fileutils.rb: - No such file or directoryThird Party's IssueActions
Has duplicate Ruby - Feature #18425: fileutils.rb: - No such file or directoryThird Party's IssueActions

Updated by jeremyevans0 (Jeremy Evans) almost 4 years ago Actions #1 [ruby-core:106782]

  • 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.

Updated by jeremyevans0 (Jeremy Evans) almost 4 years ago Actions #2

  • Has duplicate Feature #18426: fileutils.rb: - No such file or directory added

Updated by jeremyevans0 (Jeremy Evans) almost 4 years ago Actions #3

  • Has duplicate Feature #18425: fileutils.rb: - No such file or directory added

Updated by hsbt (Hiroshi SHIBATA) almost 4 years ago Actions #4

  • Project changed from 14 to Ruby
Actions

Also available in: PDF Atom