Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 166604

Summary: media-sound/amarok-1.4.5 installs completely broken when "daap" useflag is missing. and rubygems has been unmerged sometime in the current session
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: Current packagesAssignee: Diego Elio Pettenò (RETIRED) <flameeyes>
Status: RESOLVED INVALID    
Severity: major CC: jakub, rhill, sound
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: amarok-1.4.5_errormessage.txt

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-02-13 02:08:09 UTC
Hi,

amarok-1.4.5 cannot find necessary parts of ruby without the "daap" useflag. Installation seems to succeed but after emerge finished there's no amarok executeable. Adding "daap" useflag solves this problem.
This only happens when a user updates amarok from a version prior to 1.4.4-r4 (which hard-depends on www-servers/mongrel) or when the user installs amarok for the very first time.

Cheers
Poly-C

Reproducible: Always

Steps to Reproduce:
1. emerge -C amarok
2. emerge --depclean
3. USE="-daap" emerge amarok

Actual Results:  
amarok installation is missing most files. Even amarok executeable is missing.

Expected Results:  
a working amarok ;)
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-02-13 02:08:58 UTC
Created attachment 110015 [details]
amarok-1.4.5_errormessage.txt

The corresponding errormessage during compilation.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2007-02-13 08:22:00 UTC
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
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2007-02-13 08:29:50 UTC
`unset RUBYOPT` will fix it.

according to the rubygems uninstall message sourcing /etc/profile or starting a new shell should work but it doesn't.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-02-13 11:23:45 UTC
Not an Amarok bug; the RUBYOPTS problem is known, you should run source /etc/profile between emerges.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-02-13 14:15:29 UTC
Hi,

same problem like dirtyepic. I did "source /etc/profile" but that didn't change anything. Problem still exists.

Poly-C