Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162753 - dev-util/libconf-0.42.10-r1 emerge fails due to "/bin/install" command not found error.
Summary: dev-util/libconf-0.42.10-r1 emerge fails due to "/bin/install" command not fo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-19 07:24 UTC by Peter
Modified: 2010-12-29 11:56 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2007-01-19 07:24:14 UTC
dev-util/libconf-0.42.10-r1 fails to emerge because the file /bin/install isn't found. I confirmed this with ls.
However, an obvious and simple workaround was to whereis install and then make a soft link.

Reproducible: Always

Actual Results:  
refers to the incorrect location of install

Expected Results:  
refer to the correct location of the install utility.
Comment 1 dams (RETIRED) gentoo-dev 2007-01-19 14:12:03 UTC
Could you paste the output that you have when trying to emerge it ?
Comment 2 dams (RETIRED) gentoo-dev 2007-01-19 14:13:55 UTC
I don't think there is an explicit call to /bin/install in the source
Comment 3 Dominik Stadler (RETIRED) gentoo-dev 2007-01-26 06:24:24 UTC
sounds simmilar to 159922, latest coreutils does not install /bin/install but /usr/bin/install.
Comment 4 James Laver 2007-01-27 18:47:28 UTC
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.
Comment 5 Marcel Partap 2007-02-27 18:54:41 UTC
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
Comment 6 Gabriel Laskar 2007-07-17 18:23:09 UTC
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'.
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-11-03 00:43:18 UTC
Reassigning package due to developer retirement.
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2010-11-11 07:55:36 UTC
Package was masked for removal.
Comment 9 Torsten Veller (RETIRED) gentoo-dev 2010-12-29 11:56:58 UTC
Gone from the tree.