Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293798 - Pulseaudio build crashes. Looks like a libtool problem.
Summary: Pulseaudio build crashes. Looks like a libtool problem.
Status: RESOLVED DUPLICATE of bug 288977
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-20 04:34 UTC by Alexandre Sanches
Modified: 2009-11-20 04:51 UTC (History)
0 users

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


Attachments
config.log (config.log,88.57 KB, text/plain)
2009-11-20 04:40 UTC, Alexandre Sanches
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Sanches 2009-11-20 04:34:50 UTC
norbert alex # emerge -v1 pulseaudio

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] media-sound/pulseaudio-0.9.20-r50 [0.9.19-r50] USE="X alsa asyncns avahi caps dbus doc glib gnome hal ipv6 jack libsamplerate tcpd udev -bluetooth -lirc (-oss) -test" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-sound/pulseaudio-0.9.20-r50
 * pulseaudio-0.9.20.tar.gz RMD160 SHA1 SHA256 size ;-) ...              [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * Please note that enabling both udev and hal will build both
 * discover modules, but only udev will be used automatically.
 * If you wish to use hal you have to enable it explicitly
 * or you might just disable the hal USE flag entirely.
>>> Unpacking source...
>>> Unpacking pulseaudio-0.9.20.tar.gz to /var/tmp/portage/media-sound/pulseaudio-0.9.20-r50/work
>>> Source unpacked in /var/tmp/portage/media-sound/pulseaudio-0.9.20-r50/work
>>> Preparing source in /var/tmp/portage/media-sound/pulseaudio-0.9.20-r50/work/pulseaudio-0.9.20 ...
 * Running elibtoolize in: pulseaudio-0.9.20
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-sound/pulseaudio-0.9.20-r50/work/pulseaudio-0.9.20 ...
 * econf: updating pulseaudio-0.9.20/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating pulseaudio-0.9.20/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-largefile --enable-glib2 --disable-solaris --enable-asyncns --disable-oss-output --enable-alsa --disable-lirc --enable-tcpwrap --enable-jack --disable-lirc --enable-avahi --enable-hal --enable-dbus --enable-gconf --enable-samplerate --disable-bluez --enable-x11 --disable-default-build-tests --enable-udev --enable-ipv6 --with-caps --localstatedir=/var --disable-per-user-esound-socket --with-database=gdbm
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 and cc understand -c and -o together... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 needs -traditional... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gm4... no
checking for m4... m4
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wall flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -W flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wextra flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -pipe flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wno-long-long flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Winline flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wvla flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wno-overlength-strings flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wunsafe-loop-optimizations flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wundef flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wformat=2 flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wlogical-op flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wsign-compare flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wformat-security flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wmissing-include-dirs flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wformat-nonliteral flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wold-style-definition flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wpointer-arith flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Winit-self flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wdeclaration-after-statement flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wfloat-equal flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wmissing-prototypes flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wstrict-prototypes flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wredundant-decls flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wmissing-declarations flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wmissing-noreturn flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wshadow flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wendif-labels flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wcast-align flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wstrict-aliasing=2 flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wwrite-strings flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wno-unused-parameter flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -ffast-math flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wp,-D_FORTIFY_SOURCE=2 flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -fno-common flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -fdiagnostics-show-option flag... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wl,-version-script=./src/map-file flag... 
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wl,-z,now flag... 
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wl,-z,nodelete flag... 
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -Wl,--no-undefined flag... 
checking target operating system... linux
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 knows __sync_bool_compare_and_swap()... no
checking architecture for native atomic operations... unknown
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 knows __thread for Thread-Local Storage... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 knows _Bool... yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc -std=gnu99... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc -std=gnu99 object... failed
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 static flag -static works... no
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc -std=gnu99 linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... no
checking for dlopen in -lsvld... no
checking for dld_link in -ldld... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for lt_dladvise_init in -lltdl... no
configure: error: Unable to find libltdl version 2. Makes sure you have libtool 2.2 or later installed.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-sound/pulseaudio-0.9.20-r50/work/pulseaudio-0.9.20/config.log
 * ERROR: media-sound/pulseaudio-0.9.20-r50 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   55:  Called src_configure
 *   environment, line 3118:  Called econf '--enable-largefile' '--enable-glib2' '--disable-solaris' '--enable-asyncns' '--disable-oss-output' '--enable-alsa' '--disable-lirc' '--enable-tcpwrap' '--enable-jack' '--disable-lirc' '--enable-avahi' '--enable-hal' '--enable-dbus' '--enable-gconf' '--enable-samplerate' '--disable-bluez' '--enable-x11' '--disable-default-build-tests' '--enable-udev' '--enable-ipv6' '--with-caps' '--localstatedir=/var' '--disable-per-user-esound-socket' '--with-database=gdbm'
 *     ebuild.sh, line  533:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =media-sound/pulseaudio-0.9.20-r50',
 * the complete build log and the output of 'emerge -pqv =media-sound/pulseaudio-0.9.20-r50'.
 * The complete build log is located at '/var/tmp/portage/media-sound/pulseaudio-0.9.20-r50/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/pulseaudio-0.9.20-r50/temp/environment'.
 * S: '/var/tmp/portage/media-sound/pulseaudio-0.9.20-r50/work/pulseaudio-0.9.20'

>>> Failed to emerge media-sound/pulseaudio-0.9.20-r50, Log file:

>>>  '/var/tmp/portage/media-sound/pulseaudio-0.9.20-r50/temp/build.log'

 * Messages for package media-sound/pulseaudio-0.9.20-r50:

 * Please note that enabling both udev and hal will build both
 * discover modules, but only udev will be used automatically.
 * If you wish to use hal you have to enable it explicitly
 * or you might just disable the hal USE flag entirely.
 * ERROR: media-sound/pulseaudio-0.9.20-r50 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   55:  Called src_configure
 *   environment, line 3118:  Called econf '--enable-largefile' '--enable-glib2' '--disable-solaris' '--enable-asyncns' '--disable-oss-output' '--enable-alsa' '--disable-lirc' '--enable-tcpwrap' '--enable-jack' '--disable-lirc' '--enable-avahi' '--enable-hal' '--enable-dbus' '--enable-gconf' '--enable-samplerate' '--disable-bluez' '--enable-x11' '--disable-default-build-tests' '--enable-udev' '--enable-ipv6' '--with-caps' '--localstatedir=/var' '--disable-per-user-esound-socket' '--with-database=gdbm'
 *     ebuild.sh, line  533:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =media-sound/pulseaudio-0.9.20-r50',
 * the complete build log and the output of 'emerge -pqv =media-sound/pulseaudio-0.9.20-r50'.
 * The complete build log is located at '/var/tmp/portage/media-sound/pulseaudio-0.9.20-r50/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/pulseaudio-0.9.20-r50/temp/environment'.
 * S: '/var/tmp/portage/media-sound/pulseaudio-0.9.20-r50/work/pulseaudio-0.9.20'


Reproducible: Always

Steps to Reproduce:
1.emerge -v1 pulseaudio
2.
3.

Actual Results:  
Build fails. Error message looks odd.
I have the very same problem with libcanberra.

Expected Results:  
Build and install

There is probably a problem with my installation, since another computer, ~amd64 too, works perfectly well.
BUT... It happened here, my configuration is in no way particularly exotic. And I don't wan't to format and rebuild all my system, and I haven't got the skills to understand that bug. So... If anyone has ever met that kind of bug, or can understand it, please, explain !
Comment 1 Alexandre Sanches 2009-11-20 04:40:28 UTC
Created attachment 210675 [details]
config.log

I... just don't understand how such a thing may happen. And I don't have a clue.
Comment 2 Alexandre Sanches 2009-11-20 04:47:20 UTC
A precision I forgot to mention...
norbert pulseaudio-0.9.20-r50 # libtool --version
ltmain.sh (GNU libtool) 2.2.6b
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996

Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

OF COURSE my libtool is a correct version 2.
Comment 3 Alexandre Sanches 2009-11-20 04:51:45 UTC
Sorry for useless noise if someone read me... I will RTFBugzilla, better next time, promise...

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