Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286816 - media-sound/pulseaudio-0.9*: automagic RDEPEND against x11-libs/libXau (libXau.so.6)
Summary: media-sound/pulseaudio-0.9*: automagic RDEPEND against x11-libs/libXau (libXa...
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-28 18:16 UTC by Fabio Erculiani (RETIRED)
Modified: 2009-09-28 22:08 UTC (History)
0 users

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


Attachments
sample patch against pulseaudio-0.9.18-r50.ebuild (pulseaudio-0.9.18-r50.ebuild.patch,668 bytes, patch)
2009-09-28 18:18 UTC, Fabio Erculiani (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 18:16:59 UTC
Pulseaudio ebuilds are missing dependency against x11-lib/libXau when compiled with USE="X".
One of the affected executables is: "/usr/bin/pax11publish".

Please find a patch against pulseaudio-0.9.18-r50.ebuild attached.

Reproducible: Always

Steps to Reproduce:
Comment 1 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 18:18:53 UTC
Created attachment 205508 [details, diff]
sample patch against pulseaudio-0.9.18-r50.ebuild
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-28 18:56:53 UTC
Learn how to check for dependencies; libXau is brought in by some other X11 library, and it's _not_ a dependency of PulseAudio.
Comment 3 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:36:57 UTC
Firstly I politely ask you to stop insulting.
Secondly I checked with objdump, now I'm checking LDFLAGS around.
I know how to deal with this stuff, just give me some time to dive into the build system a bit more.
I will reopen this bug if I find something worth fixing then.

At the moment, I know that objdump -d reports libXau among NEEDED metadata.

Thanks
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-28 19:38:44 UTC
And I politely ask you to stop wasting my time.

You already demonstrated you don't know how to check dependencies that are NOT in NEEDED, now you demonstrate you're not even able to confirm dependencies that ARE in NEEDED.

The bloody package does not build with --as-needed, because of a binutils bug I haven't gone fixing yet, the NEEDED entries are unreliable.
Comment 5 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 20:00:26 UTC
Sorry if I'm not as good as you, really.
I'm just trying to help out and find out issues.
I'm checking the build system, if it's not PA related, good. Where's the problem?
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-28 20:05:45 UTC
And, I was saving this for tomorrow, but might be useful:

http://blog.flameeyes.eu/2009/09/28/removing-la-files-for-dum-w-uncertain-people
Comment 8 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 21:08:38 UTC
Thanks for pointing out .la files, it's definitely libX11 (and thus also libXtst) related. libXau is not pulled in as dep when xcb is enabled. I will open a new bug then.
Comment 9 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 21:09:57 UTC
Just for the sake of completion, libX11.la contains:

# Libraries that this one depends upon.
dependency_libs=' /usr/lib64/libxcb.la /usr/lib64/libXau.la /usr/lib64/libXdmcp.la -ldl'
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-28 21:12:44 UTC
Note: xcb _is_ bringing in xau:

/usr/lib/pkgconfig/xcb.pc:Requires.private: pthread-stubs xau >= 0.99.2 xdmcp

and libxcb depends on xau itself (although not with the same version specification).
Comment 11 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 22:08:00 UTC
Yes, I am too tired to go through all the .la and deps now, I'll file a bug tomorrow or as soon as I have time, hopefully.

Thanks a lot for your help.