[Debian-med-packaging] Bug#713597: praat: FTBFS: ld: external/portaudio/libportaudio.a(pa_unix_util.o): undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5'

David Suárez david.sephirot at gmail.com
Sat Jun 22 12:45:23 UTC 2013


Source: praat
Version: 5.3.16-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Maybe you need to add explicitly the offending lib to LD flags.

Relevant part:
> g++ -o praat main/main_Praat.o  fon/libfon.a \
> 		contrib/ola/libOla.a artsynth/libartsynth.a \
> 		FFNet/libFFNet.a gram/libgram.a EEG/libEEG.a \
> 		LPC/libLPC.a dwtools/libdwtools.a \
> 		fon/libfon.a stat/libstat.a dwsys/libdwsys.a \
> 		sys/libsys.a num/libnum.a kar/libkar.a \
> 		external/espeak/libespeak.a external/portaudio/libportaudio.a \
> 		external/flac/libflac.a external/mp3/libmp3.a \
> 		external/glpk/libglpk.a external/gsl/libgsl.a \
> 		-Wl,--as-needed `pkg-config --libs gtk+-2.0` -lm -lasound -Wl,-z,relro
> /usr/bin/ld: external/portaudio/libportaudio.a(pa_unix_util.o): undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5'
> /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/praat_5.3.16-1_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-med-packaging mailing list