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

Bug 498258

Summary: media-sound/pulseaudio-4.0 should DEPEND on >=sys-devel/libtool-2.4
Product: Gentoo Linux Reporter: Florian Berger <florian.berger>
Component: [OLD] LibraryAssignee: Gentoo Sound Team <sound>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alex_y_xu
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=73701
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt

Description Florian Berger 2014-01-16 14:46:57 UTC
Emerging media-sound/pulseaudio-4.0 fails with

i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/modules -I../src/modules -DPA_ALSA_PATHS_DIR=\"/usr/share/pulseaudio/alsa-mixer/paths\" -DPA_ALSA_PROFILE_SETS_DIR=\"/usr/share/pulseaudio/alsa-mixer/profile-sets\" -DFASTPATH -pthread -DPA_SRCDIR=\"/var/tmp/portage/media-sound/pulseaudio-4.0/work/pulseaudio-4.0/src\" -DPA_BUILDDIR=\"/var/tmp/portage/media-sound/pulseaudio-4.0/work/pulseaudio-4.0/src\"   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -O2 -march=prescott -fomit-frame-pointer -pipe -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -c -o pulseaudio-dumpmodules.o `test -f 'daemon/dumpmodules.c' || echo './'`daemon/dumpmodules.c
daemon/dumpmodules.c: In function 'is_preloaded':
daemon/dumpmodules.c:95:14: error: 'lt__PROGRAM__LTX_preloaded_symbols' undeclared (first use in this function)
daemon/dumpmodules.c:95:14: note: each undeclared identifier is reported only once for each function it appears in
daemon/dumpmodules.c: In function 'pa_dump_modules':
daemon/dumpmodules.c:138:18: error: 'lt__PROGRAM__LTX_preloaded_symbols' undeclared (first use in this function)

The bug has been reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=73701

According to https://stackoverflow.com/questions/11912815/ , a fix would be patching src/daemon/dumpmodules.c with

    extern const lt_dlsymlist lt_preloaded_symbols[] ;

However I do not know whether this is Gentoo's business; then again, I currently can't run anything with strict dependencies on pulseaudio.

Thanks for considering.


Reproducible: Always
Comment 1 Florian Berger 2014-01-16 14:47:34 UTC
Created attachment 367956 [details]
emerge-info.txt
Comment 2 Rafał Mużyło 2014-01-16 16:20:55 UTC
> sys-devel/libtool:        2.2.6b

Well, every now and then it's a good idea to run 'emerge -upvD --with-bdeps y @world'
Comment 3 Florian Berger 2014-01-16 19:57:25 UTC
(In reply to Rafał Mużyło from comment #2)
> > sys-devel/libtool:        2.2.6b
> 
> Well, every now and then it's a good idea to run 'emerge -upvD --with-bdeps
> y @world'

Updating sys-devel/libtool from 2.2.6b to current 2.4.2 fixed it. Thanks!

Seizing the opportunity to learn, could I have guessed that from the error or the output somehow?

And shouldn't pulseaudio depend on a certain version of libtool then?
Comment 4 Florian Berger 2014-01-17 09:53:14 UTC
Feedback from upstream:

> As of v3.0, we depend on libtool 2.4. The dependencies on
> Gentoo should be updated to reflect this.
> 
> For some reason, the LT_PREREQ(2.4) that we have in
> configure.ac didn't catch this.

https://bugs.freedesktop.org/show_bug.cgi?id=73701#c3
Comment 5 Alex Xu (Hello71) 2014-01-20 00:25:50 UTC

*** This bug has been marked as a duplicate of bug 496334 ***