Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199189 - dev-ruby/sary-ruby-1.2.0 Makefile calls install with wrong hardcoded path
Summary: dev-ruby/sary-ruby-1.2.0 Makefile calls install with wrong hardcoded path
Status: RESOLVED DUPLICATE of bug 159922
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-14 23:00 UTC by Weldon Goree
Modified: 2007-11-14 23:03 UTC (History)
0 users

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 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 ***