Project

General

Profile

Bug #4410

Install fails with missing readline.so in fileutils.rb

Added by meta (mathew murphy) over 9 years ago. Updated over 9 years ago.

Status:
Third Party's Issue
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
1.9.2p180
Backport:
[ruby-core:35305]

Description

=begin
Checkinstall running make install:

[ many lines omitted ]
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --install=all --rdoc-output=".ext/rdoc"
installing binary commands: /usr/local/bin
installing base libraries: /usr/local/lib
installing arch files: /usr/local/lib/ruby/1.9.1/i686-linux
installing extension objects: /usr/local/lib/ruby/1.9.1/i686-linux
/home/meta/tmp/ruby-1.9.2-p180/lib/fileutils.rb:854:in utime': No such file or directory - /usr/local/lib/ruby/1.9.1/i686-linux/readline.so (Errno::ENOENT)
from /home/meta/tmp/ruby-1.9.2-p180/lib/fileutils.rb:854:in
block in install'
from /home/meta/tmp/ruby-1.9.2-p180/lib/fileutils.rb:1423:in block in fu_each_src_dest'
from /home/meta/tmp/ruby-1.9.2-p180/lib/fileutils.rb:1439:in
fu_each_src_dest0'
from /home/meta/tmp/ruby-1.9.2-p180/lib/fileutils.rb:1421:in fu_each_src_dest'
from /home/meta/tmp/ruby-1.9.2-p180/lib/fileutils.rb:850:in
install'
from ./tool/rbinstall.rb:154:in install'
from ./tool/rbinstall.rb:240:in
block in install_recursive'
from ./tool/rbinstall.rb:235:in each'
from ./tool/rbinstall.rb:235:in
install_recursive'
from ./tool/rbinstall.rb:342:in block in <main>'
from ./tool/rbinstall.rb:542:in
call'
from ./tool/rbinstall.rb:542:in block (2 levels) in <main>'
from ./tool/rbinstall.rb:539:in
each'
from ./tool/rbinstall.rb:539:in block in <main>'
from ./tool/rbinstall.rb:535:in
each'
from ./tool/rbinstall.rb:535:in `'
make: *** [do-install-all] Error 1

**** Installation failed. Aborting package creation.

Same build/install procedure works with p136.
=end

#1

Updated by meta (mathew murphy) over 9 years ago

=begin
Problem doesn't seem to occur on RHEL 5.3.
=end

#2

Updated by meta (mathew murphy) over 9 years ago

=begin
Doesn't happen with a plain make install either. I'd be interested to know what's going on, though.
=end

#3

Updated by eLod (Tamas Pozsonyi) over 9 years ago

=begin
Similar issue on squeeze, to reproduce simply:

./configure --prefix /opt
make
checkinstall -D make install

Error output:

Installing with make install...

========================= Installation results ===========================

...

./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --install=all --rdoc-output=".ext/rdoc"
installing binary commands: /opt/bin
/root/ruby-src/ruby-1.9.2-p180/lib/fileutils.rb:854:in utime': No such file or directory - /opt/bin/ruby (Errno::ENOENT)
from /root/ruby-src/ruby-1.9.2-p180/lib/fileutils.rb:854:in
block in install'
from /root/ruby-src/ruby-1.9.2-p180/lib/fileutils.rb:1423:in block in fu_each_src_dest'
from /root/ruby-src/ruby-1.9.2-p180/lib/fileutils.rb:1437:in
fu_each_src_dest0'
from /root/ruby-src/ruby-1.9.2-p180/lib/fileutils.rb:1421:in fu_each_src_dest'
from /root/ruby-src/ruby-1.9.2-p180/lib/fileutils.rb:850:in
install'
from ./tool/rbinstall.rb:154:in install'
from ./tool/rbinstall.rb:307:in
block in '
from ./tool/rbinstall.rb:542:in call'
from ./tool/rbinstall.rb:542:in
block (2 levels) in '
from ./tool/rbinstall.rb:539:in each'
from ./tool/rbinstall.rb:539:in
block in '
from ./tool/rbinstall.rb:535:in each'
from ./tool/rbinstall.rb:535:in
'
make: *** [do-install-all] Error 1

**** Installation failed. Aborting package creation.

Without checkinstall installation goes fine.
=end

#4

Updated by naruse (Yui NARUSE) over 9 years ago

  • Status changed from Open to Third Party's Issue

It seems debian package's issue; please report this to ruby-deb/lucas.

Also available in: Atom PDF