Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383649 - media-sound/audacious-3.0.2, media-plugins/audacious-plugins-3.0.2 automagic dependency on x11-libs/gtk+:3
Summary: media-sound/audacious-3.0.2, media-plugins/audacious-plugins-3.0.2 automagic ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-19 15:04 UTC by Bartosz Brachaczek
Modified: 2011-09-22 14:59 UTC (History)
1 user (show)

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


Attachments
audacious-3.0.3.ebuild.patch (diff,1.79 KB, patch)
2011-09-22 14:23 UTC, Agostino Sarubbo
Details | Diff
audacious-plugins-3.0.3.ebuild.patch (diff,2.00 KB, patch)
2011-09-22 14:24 UTC, Agostino Sarubbo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Brachaczek 2011-09-19 15:04:09 UTC
Both media-sound/audacious-3.0.2 and media-plugins/audacious-plugins-3.0.2 explicitly depend on >=x11-libs/gtk+-2.14:2. I compiled them while having gtk+-3 installed in my system and they apparently linked to that version. Now I removed gtk+-3 and audacious fails to start:

  $ audacious 
  audacious: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory

...so I need to recompile them.
Comment 1 Rafał Mużyło 2011-09-19 15:17:36 UTC
Quite, it seems '--disable-gtk3' needs to be added to both ebuilds.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2011-09-22 13:16:33 UTC
You should be running revdep-rebuild after downgrading libraries on your system. This is not a bug in the Audacious ebuild or the Audacious software.
It is normal behaviour for software to use the newest version of a shared library that it can cope with.
Comment 3 Bartosz Brachaczek 2011-09-22 13:32:24 UTC
I didn't downgrade anything. I just removed a library that nothing depended on (i.e., x11-libs/gtk+:3). Audacious depends on x11-libs/gtk+:2 (this slot dependency is written explicitly in the ebuild) and it uses version from a different slot if one is found, so I still consider it a bug. I don't push for any specific fix, be it a USE flag or anything else.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2011-09-22 13:34:36 UTC
Neither option that I have been given fills me with joy, but I have opted for a gtk3 USE-flag as the least bad option.
Comment 5 Bartosz Brachaczek 2011-09-22 13:37:16 UTC
Okay, thanks.
Comment 6 Agostino Sarubbo gentoo-dev 2011-09-22 14:23:16 UTC
Created attachment 287409 [details, diff]
audacious-3.0.3.ebuild.patch
Comment 7 Agostino Sarubbo gentoo-dev 2011-09-22 14:24:51 UTC
Created attachment 287411 [details, diff]
audacious-plugins-3.0.3.ebuild.patch
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2011-09-22 14:59:23 UTC
+*audacious-3.0.3 (22 Sep 2011)
+
+  22 Sep 2011; Tony Vroon <chainsaw@gentoo.org> -audacious-3.0.2.ebuild,
+  +audacious-3.0.3.ebuild:
+  Version bump. Ebuild improvements by Agostino "ago" Sarubbo close bugs
+  #380577, #383357 & #383649. Remove vulnerable version for security bug
+  #383991.

+*audacious-plugins-3.0.3 (22 Sep 2011)
+
+  22 Sep 2011; Tony Vroon <chainsaw@gentoo.org>
+  -audacious-plugins-3.0.2.ebuild, +audacious-plugins-3.0.3.ebuild,
+  metadata.xml:
+  Version bump. Ebuild improvements by Agostino "ago" Sarubbo close bugs
+  #380577, #383357 & #383649. Remove vulnerable version for security bug
+  #383991.