liblastfm need to emerge dev-ruby/rubygems. I'm installing clementine player, with lastfm supports, it's need liblastfm, but not want to compiling. http://pastebin.com/3xYYkBDj After installing dev-ruby/rubygems the problem have been solved, please add to ebuild this dependency Reproducible: Always
Please attach build logs here rather than linking to a temporary site such as pastebin. As for the fix, I'm not terribly familiar with ruby, but the issue appears to be that the file /usr/lib64/ruby/1.9.1/rubygems.rb exists (and is installed by the package ruby), but rubygems is not installed.
Created attachment 307963 [details, diff] ebuild patch The need for this seems pretty clearcut. archtester media-libs # nano /usr/lib64/ruby/1.9.1/rubygems.rb ---------------------------------------------------------- require 'rubygems/defaults' require 'rbconfig' require "rubygems/deprecate" ----------------------------------------------------------- archtester media-libs # qfile rbconfig dev-lang/ruby (/usr/lib64/ruby/1.9.1/rbconfig) dev-ruby/rubygems (/usr/lib64/ruby/site_ruby/1.9.1/rbconfig) archtester media-libs # qlist rubygems | grep default /usr/lib64/ruby/site_ruby/1.9.1/rubygems/defaults/operating_system.rb /usr/lib64/ruby/site_ruby/1.9.1/rubygems/defaults.rb archtester media-libs # qlist rubygems | grep deprecate /usr/lib64/ruby/site_ruby/1.9.1/rubygems/deprecate.rb AND archtester media-libs # head -3 /mnt/gen2/TmpDir/portage/media-libs/liblastfm-0.3.3/work/mxcl-liblastfm-1c739eb/configure #!/usr/bin/ruby if ARGV.include? '--help' puts "usage: ./configure [--prefix <dir>] [--release] [--no-strip] [--skip-checks]" confgiure is a ruby script.
As we can have multiple ruby implementations the package should actually use ruby eclass to determine its deps and build.
New version doesn't depend on ruby. + 23 Jun 2012; Johannes Huber <johu@gentoo.org> +liblastfm-1.0.1.ebuild, + -liblastfm-0.3.0.ebuild, metadata.xml: + Version bump, remove old.