Summary: | dev-util/libconf-0.42.10-r1 emerge fails due to "/bin/install" command not found error. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter <paf> |
Component: | New packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bibi.skuk, coldwind, dams, james.laver |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Peter
2007-01-19 07:24:14 UTC
Could you paste the output that you have when trying to emerge it ? I don't think there is an explicit call to /bin/install in the source sounds simmilar to 159922, latest coreutils does not install /bin/install but /usr/bin/install. If it's anything to do with a similar problem I had, it's the makefile. Go into the work directory and grep -R "/bin/install" . and see if the makefile contains a bad macro. localhost libconf-0.42.10-r1 # pwd /var/tmp/portage/dev-util/libconf-0.42.10-r1 localhost libconf-0.42.10-r1 # grep -R "/bin/install" . ./temp/build.log:/bin/install -c -m 0755 conf2xml.so /var/tmp/portage/dev-util/libconf-0.42.10-r1/image//usr/lib64/ruby/site_ruby/1.8/x86_64-linux ./temp/build.log:make[3]: /bin/install: Kommando nicht gefunden ./work/perl-Libconf-0.42.10/bindings/ruby/src/Makefile:INSTALL = /bin/install -c I have the same problem here with dev-ruby/sqlite-ruby-2.2.3-r1, no /bin/install, but a /usr/bin/install. a grep -R "/bin/install" in /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/ gives me this : beltegeuse sqlite-ruby-2.2.3-r1 # grep -R "/bin/install" . ./temp/build.log:/bin/install -c -m 0755 sqlite_api.so /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/image/usr/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3/lib ./temp/build.log:make: /bin/install: Command not found ./temp/environment: if [ ! -x /bin/install -a -x /usr/bin/install ]; then ./temp/environment:CONFIG['INSTALL'] = '/usr/bin/install' ./image/usr/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3/ext/Makefile:INSTALL = /bin/install -c ./image/usr/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3/ext/gem_make.out:/bin/install -c -m 0755 sqlite_api.so /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/image/usr/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3/lib ./image/usr/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3/ext/gem_make.out:make: /bin/install: Command not found It seems to be hardcoded here : ext/Makefile:INSTALL = /bin/install -c I don't know if it is a gem issue or not, so I posted here. here is the output of emerge. * checking sqlite-ruby-2.2.3.gem ;-) ... [ ok ] >>> Unpacking source... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/work ... >>> Source compiled. >>> Test phase [not enabled]: dev-ruby/sqlite-ruby-2.2.3-r1 >>> Install sqlite-ruby-2.2.3-r1 into /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/image/ category dev-ruby ERROR: While executing gem ... (RuntimeError) Error instaling /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/distdir/sqlite-ruby-2.2.3: ERROR: Failed to build gem native extension. ruby extconf.rb install /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/distdir/sqlite-ruby-2.2.3 -v 2.2.3 --ri --rdoc -l -i /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/image///usr/lib/ruby/gems/1.8 checking for main() in -lsqlite... yes checking for sqlite.h... yes checking for sqlite_open() in -lsqlite... yes creating Makefile make i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I. -DHAVE_SQLITE_H -I/usr/local -fPIC -Os -march=i686 -pipe -fPIC -c sqlite-api.c i686-pc-linux-gnu-gcc -shared -L'/usr/local' -Wl,-R'/usr/local' -L'/usr/lib' -Wl,-R'/usr/lib' -o sqlite_api.so sqlite-api.o -Wl,-R -Wl,/usr/lib -L/usr/lib -L. -lruby18 -lsqlite -lsqlite -ldl -lcrypt -lm -lc make install /bin/install -c -m 0755 sqlite_api.so /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/image/usr/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3/lib make: /bin/install: Command not found make: *** [/var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/image/usr/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3/lib/sqlite_api.so] Error 127 Gem files will remain installed in /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/image/usr/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3 for inspection. Results logged to /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/image/usr/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3/ext/gem_make.out Building native extensions. This could take a while... !!! ERROR: dev-ruby/sqlite-ruby-2.2.3-r1 failed. Call stack: ebuild.sh, line 1621: Called dyn_install ebuild.sh, line 1067: Called qa_call 'src_install' ebuild.sh, line 44: Called src_install ebuild.sh, line 1311: Called gems_src_install gems.eclass, line 72: Called die !!! gem install failed: gem-0.9.4 install /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/distdir/sqlite-ruby-2.2.3 -v 2.2.3 --ri --rdoc -l -i /var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/image///usr/lib/ruby/gems/1.8 !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/dev-ruby/sqlite-ruby-2.2.3-r1/temp/build.log'. Reassigning package due to developer retirement. Package was masked for removal. Gone from the tree. |