Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390809 - dev-ruby/ruby-ldap-0.9.9-r1 : add dev-ruby/rubygems in DEPEND
Summary: dev-ruby/ruby-ldap-0.9.9-r1 : add dev-ruby/rubygems in DEPEND
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autodep
  Show dependency tree
 
Reported: 2011-11-17 09:33 UTC by bay
Modified: 2011-11-18 10:41 UTC (History)
0 users

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


Attachments
Build log (ruby-ldap.txt,2.47 KB, text/plain)
2011-11-17 09:33 UTC, bay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bay 2011-11-17 09:33:06 UTC
Created attachment 292865 [details]
Build log

Package dev-ruby/ruby-ldap-0.9.9-r1 cannot be compiled without dev-ruby/rubygems.

The error is:
/usr/bin/ruby18: no such file to load -- auto_gem (LoadError)

The missing file /usr/lib64/ruby/site_ruby/1.8/auto_gem.rb belongs to dev-ruby/rubygems.

Package ruby_ldap uses ruby 1.8, but ruby 1.8 doesn't RDEPEND on dev-ruby/rubygems(ruby 1.9 does).

Please add dev-ruby/rubygems as a buildtime dependency of dev-ruby/ruby-ldap-0.9.9-r1 or as runtime dependency of dev-lang/ruby:1.8.
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2011-11-17 09:51:25 UTC
ruby_ldap does not require rubygems, neither does ruby 1.8.
You have installed rubygems, otherwise it wouldn't try to load auto_gem. Making sure it is available for all interpreters you'd like to use is your job in this case.
Comment 2 bay 2011-11-17 10:43:56 UTC
I checked it and it still not works.

I uninstalled dev-ruby/rubygems and tried to install dev-ruby/ruby-ldap-0.9.9-r1. It failed again with the same error.

Steps to reproduce:
1. emerge -C virtual/rubygems dev-ruby/rubygems
2. emerge -1 dev-ruby/ruby-ldap
Comment 3 bay 2011-11-17 11:05:36 UTC
It seems RUBYOPT with auto_gem remained in my environment after I uninstall dev-ruby/rubygems.

Don't know if it is a bug or feature.

Thanks and sorry for bothering.
Comment 4 Alex Legler (RETIRED) archtester gentoo-dev Security 2011-11-18 10:41:55 UTC
(In reply to comment #3)
> It seems RUBYOPT with auto_gem remained in my environment after I uninstall
> dev-ruby/rubygems.
> 
> Don't know if it is a bug or feature.
> 

You not reading emerge messages is likely a bug.