Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320147 - rubygems-1.3.7: files/auto_gem.rb missing
Summary: rubygems-1.3.7: files/auto_gem.rb missing
Status: VERIFIED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 11:25 UTC by Sven Schwyn (svoop)
Modified: 2010-05-20 14:18 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 Sven Schwyn (svoop) 2010-05-17 11:25:39 UTC
!!! newins: /Gentoo/usr/portage/dev-ruby/rubygems/files/auto_gem.rb.ruby18 does not exist
 * ERROR: dev-ruby/rubygems-1.3.7 failed

Reproducible: Always

Steps to Reproduce:
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-05-17 15:15:18 UTC
thx, added.
Comment 2 Sven Schwyn (svoop) 2010-05-20 07:48:38 UTC
I still get the

 * ERROR: dev-ruby/rubygems-1.3.7 failed:
 *   newins auto_gem failed

In the ebuild, the newins looks like this:

insinto $(ruby_rbconfig_value 'sitelibdir')
newins "${FILESDIR}/auto_gem.rb.$(basename ${RUBY})" auto_gem.rb || die "newins auto_gem failed"

"$(ruby_rbconfig_value 'sitelibdir')" is /Gentoo/usr/lib/ruby/site_ruby/1.8 and contains auto_gem.rb. The permissions are fine.

RUBY is /Gentoo/usr/bin/ruby18 and thus the above results in auto_gem.rb.ruby18 which is present in files.

I don't see why this should fail, but it does with $?=1.

Anything I can provide in order to nail down this bug?
Comment 3 Fabian Groffen gentoo-dev 2010-05-20 11:23:56 UTC
fixed, thanks
Comment 4 Sven Schwyn (svoop) 2010-05-20 11:34:36 UTC
Just curious: What was the problem?
Comment 5 Fabian Groffen gentoo-dev 2010-05-20 12:19:12 UTC
insinto was using the offset prefix, the message was produced by newins, but not logged as error, so to find it you had to scroll up a bit more
Comment 6 Sven Schwyn (svoop) 2010-05-20 14:18:40 UTC
Thanks for the fix and info!