Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 199189

Summary: dev-ruby/sary-ruby-1.2.0 Makefile calls install with wrong hardcoded path
Product: Gentoo Linux Reporter: Weldon Goree <weldon.goree>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Weldon Goree 2007-11-14 23:00:06 UTC
dev-ruby/sary-ruby-1.2.0 fails to install. Makefile sets INSTALL=/bin/install
Coreutils-6.9-r1 places install in /usr/bin

grep -n INSTALL \
/var/tmp/portage/dev-ruby/sary-ruby-1.2.0/work/sary-ruby-1.2.0/Makefile
62:INSTALL = /bin/install -c
63:INSTALL_PROG = $(INSTALL) -m 0755
64:INSTALL_DATA = $(INSTALL) -m 644



Reproducible: Always

Steps to Reproduce:
1.emerge sary-ruby
2.
3.

Actual Results:  
/bin/install -c -m 0755 sary.so /var/tmp/portage/dev-ruby/sary-ruby-1.2.0/image//usr/lib/ruby/site_ruby/1.8/i686-linux
make: /bin/install: Command not found
make: *** [/var/tmp/portage/dev-ruby/sary-ruby-1.2.0/image//usr/lib/ruby/site_ruby/1.8/i686-linux/sary.so] Error 127
 * 
 * ERROR: dev-ruby/sary-ruby-1.2.0 failed.
 * Call stack:
 *     ebuild.sh, line 1701:  Called dyn_install
 *     ebuild.sh, line 1138:  Called qa_call 'src_install'
 *     ebuild.sh, line   44:  Called src_install
 *     ebuild.sh, line 1383:  Called ruby_src_install
 *   ruby.eclass, line  199:  Called ruby_einstall
 *   ruby.eclass, line  155:  Called die
 * The specific snippet of code:
 *              make DESTDIR=${D} "$@" install || die "make install failed"
 *  The die message:
 *   make install failed
 * 
 * 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/sary-ruby-1.2.0/temp/build.log'.
 * 

 * Messages for package dev-ruby/sary-ruby-1.2.0:

 * 
 * ERROR: dev-ruby/sary-ruby-1.2.0 failed.
 * Call stack:
 *     ebuild.sh, line 1701:  Called dyn_install
 *     ebuild.sh, line 1138:  Called qa_call 'src_install'
 *     ebuild.sh, line   44:  Called src_install
 *     ebuild.sh, line 1383:  Called ruby_src_install
 *   ruby.eclass, line  199:  Called ruby_einstall
 *   ruby.eclass, line  155:  Called die
 * The specific snippet of code:
 *              make DESTDIR=${D} "$@" install || die "make install failed"
 *  The die message:
 *   make install failed


Expected Results:  
Emerge

trivially fixed by a symlink to /usr/bin/install in /bin; Makefile fix would be nice at some point
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-14 23:03:33 UTC

*** This bug has been marked as a duplicate of bug 159922 ***