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

Bug 524478

Summary: media-sound/spotify should depend on dev-qt/qtcore[glib] dev-qt/qtgui[glib]
Product: Gentoo Linux Reporter: Andreas Wiese <aw-gentoo>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: normal CC: neocrow-gentoo-bugs
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Wiese 2014-10-04 22:46:44 UTC
The 64bit version of media-sound/spotify (0.9.11.27 at the moment) deadlocks if Qt libraries aren't built with USE=glib enabled.  The corresponding error message is similar to this:

  [watchdog.cpp:171 ] Deadlock detected (Thread: gui)

(line number may differ, didn't rebuild dev-qt/* for reproducing).

GUI doesn't start up.

Reproducible: Always

Steps to Reproduce:
1. echo "dev-qt/* -glib" >> /etc/porate/package.use
2. emerge dev-qt/* [installed]
3. spotify
Actual Results:  
Above error message on terminal, no GUI to spot(ify) anywhere. ;(

Expected Results:  
Spotify GUI showing up.

To our astonishment, installing the 32bit version to ~/.local worked fine, strace(1) as ltrace(1) where not directly helping, but ltrace showed a massive amount of calls to Qt*.  A first guess being missing USE flags lead to USE=glib being the most promising one, a second look showed that emul-linux-x86-qtlibs actually is linked against it.  Tried it, worked.
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-10-08 19:48:45 UTC
fixed in r1