When i removed mongrel and deps (b/c they're now optional via USE="daap"), amarok started to complain about failing to load ruby extensions (Lyrc, etc.). Reinstalling gem_plugin fixed this for me.
As far as I have understood, there is nothing strange/wrong about this behaviour: - removing mongrel, gem_plugin etc. when still having USE="daap" set, leads to having them pulled in as dependency again when running "emerge -uD world" or similar - removing them when having USE="-daap" set makes Amarok working again using "emerge --newuse world" or similar.
(In reply to comment #0) > When i removed mongrel and deps (b/c they're now optional via USE="daap") Removed how exactly? You'll need to rebuild amarok w/ USE="-daap", not just unmerge the dependencies... Works just fine here.
Well, the problem is more widespread. That's what i get during configure: ---- checking for ruby... /usr/bin/ruby /usr/bin/ruby: no such file to load -- auto_gem (LoadError) /usr/bin/ruby: no such file to load -- auto_gem (LoadError) checking ruby.h usability... no checking ruby.h presence... no checking for ruby.h... no checking if amarok should be compiled... no checking if doc should be compiled... yes checking if po should be compiled... yes ---- The problem here is, that it's looking for auto_gem.rb, which is part of rubygems (dep of gem_plugin, which explains why installing that helped me). Notice how it says later: ========================== === Amarok - ERROR ========================================================== ========================== = = The Ruby programming language is not installed. Please obtain Ruby = (version 1.8 or later) from http://ruby-lang.org, or install a distribution = package. To build Amarok requires the Ruby header files as well, which some = distributions package separately. = ================================== === AMAROK WILL NOT BE BUILT ================================================ ================================== = = Some mandatory dependencies are either not installed or not installed = correctly. See the Amarok README for help with this issue. Further assistance = can be found at http://amarok.kde.org or in amarok on irc.freenode.net. = You will still be able to build other modules from extragear/multimedia. = =============================================================================== After that, it goes on to merge the docs *only*, resulting in a completly garbled amarok install. Reproduce by unmerging rubygems, merging amarok with daap disabled.
(In reply to comment #3) > /usr/bin/ruby: no such file to load -- auto_gem (LoadError) Apparently, ruby_gems was not cleanly uninstalled on your system. I had never installed it and don't get such errors when I install amarok with -daap.
OK, the actual reason was a leftover /etc/env.d/10rubygems causing ruby to misbehave (RUBYOPT=-rauto_gems). Thanks rbrown for the hint. Apologies for the spam :)
*** Bug 172605 has been marked as a duplicate of this bug. ***