Bug#558565: Missing autoreconf to fix 554821 or similar bugs in the future

Peter Fritzsche peter.fritzsche at gmx.de
Sun Nov 29 00:57:13 UTC 2009


Source: iaxclient
Version: 2.0.2-3
Severity: minor
User: peter.fritzsche at gmx.de
Usertags: missing-libtool-update

I did a rebuild of all packages which are affected by bug #554821. As it seems
your package doesnt do the needed autoreconf needed for libtool. When doing
autoreconf or the needed sequence of different autotools/libtool utilities the
package should be able to fix the problem automatically.
/usr/share/doc/autotools-dev/README.Debian.gz explains it in section "Basic
summary of packaging source that uses autotools".

The build was done in a cowbuild chroot with the patch from #554821 included in
/usr/share/aclocal/libtool.m4 and binutils-gold installed. All logs were then
greped for -export-symbols-regex and not including -version-script. This
should indicate that your package doesnt do the required autoreconf with
updating the libtools stuff.

A small extra test output "test-version-script" was added to libtool.m4 and
silent mode was disabled in global ltmain.sh so it is easier for me to decide if
it was really updated in case libtool doesnt output the ld command to stdout.
So if the output and "test-version-script" is missing then your program doesnt
update the files. I am sorry if this is still a false positive.

udev 147-5 for example fails completely due to new (unknown) symbols appearing
inside the .so, but `autoreconf -fi -I m4` (with libtool.m4 installed on my
system with the mentioned patch) fixes the problem. I had to remove a patch
with touches Makefile.in, but the rest worked out of the box. Maybe it is
better to copy all clean files into a extra directory, run autoreconf inside
the directory, build and install everything from that directory and in clean
remove that directory. This way the diff.gz should be clean and you still do
the necessary autoreconf. A package which does that is g3dviewer. Many other
packages like libupnp4 and compizconfig-python just ignore the fact that these
changes are included in debian.tar.gz/diff.gz

The interesting output inside the log of your program is:

/bin/bash ../libtool --tag=CC   --mode=link x86_64-linux-gnu-gcc -I../../lib/portmixer/px_common -pthread    -I../../lib/libiax2/src -DLIBIAX -pthread   -Wall -Wextra -Wno-unused-parameter -Wpointer-arith -DLIBVER='"2.0.2"' -I/usr/include -Wall -g -D_REENTRANT --std=gnu99 -O2 -no-undefined -version-info 1:0:0 -export-symbols-regex "iaxc_.*"   -o libiaxclient.la -rpath /usr/lib  portmixer/px_unix_oss/px_unix_oss.lo unixfuncs.lo videoLib/linux/libfg/capture.lo videoLib/linux/libfg/frame.lo videoLib/linux/linuxgrab.lo   libiax2/src/md5.lo libiax2/src/iax.lo libiax2/src/iax2-parser.lo libiax2/src/jitterbuf.lo  codec_gsm.lo audio_encode.lo audio_portaudio.lo codec_alaw.lo codec_speex.lo codec_theora.lo codec_ulaw.lo iaxclient_lib.lo ringbuffer.lo spandsp/plc.lo video.lo videoLib/video_grab.lo    -lportaudio -lm -lpthread   -lspeex   -lspeexdsp   -ltheora -logg   -logg    -L/usr/lib -lgsm 
generating symbol list for `libiaxclient.la'
/usr/bin/nm -B  portmixer/px_unix_oss/.libs/px_unix_oss.o .libs/unixfuncs.o videoLib/linux/libfg/.libs/capture.o videoLib/linux/libfg/.libs/frame.o videoLib/linux/.libs/linuxgrab.o libiax2/src/.libs/md5.o libiax2/src/.libs/iax.o libiax2/src/.libs/iax2-parser.o libiax2/src/.libs/jitterbuf.o .libs/codec_gsm.o .libs/audio_encode.o .libs/audio_portaudio.o .libs/codec_alaw.o .libs/codec_speex.o .libs/codec_theora.o .libs/codec_ulaw.o .libs/iaxclient_lib.o .libs/ringbuffer.o spandsp/.libs/plc.o .libs/video.o videoLib/.libs/video_grab.o  | sed -n -e 's/^.*[ 	]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ 	][ 	]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libiaxclient.exp
/bin/grep -E -e "iaxc_.*" ".libs/libiaxclient.exp" > ".libs/libiaxclient.expT"
mv -f ".libs/libiaxclient.expT" ".libs/libiaxclient.exp"
x86_64-linux-gnu-gcc -shared  portmixer/px_unix_oss/.libs/px_unix_oss.o .libs/unixfuncs.o videoLib/linux/libfg/.libs/capture.o videoLib/linux/libfg/.libs/frame.o videoLib/linux/.libs/linuxgrab.o libiax2/src/.libs/md5.o libiax2/src/.libs/iax.o libiax2/src/.libs/iax2-parser.o libiax2/src/.libs/jitterbuf.o .libs/codec_gsm.o .libs/audio_encode.o .libs/audio_portaudio.o .libs/codec_alaw.o .libs/codec_speex.o .libs/codec_theora.o .libs/codec_ulaw.o .libs/iaxclient_lib.o .libs/ringbuffer.o spandsp/.libs/plc.o .libs/video.o videoLib/.libs/video_grab.o  /usr/lib/libportaudio.so -lm -lpthread -lspeex -lspeexdsp /usr/lib/libtheora.so -logg -L/usr/lib -lgsm  -pthread -pthread -Wl,-soname -Wl,libiaxclient.so.1 -o .libs/libiaxclient.so.1.0.0
(cd .libs && rm -f libiaxclient.so.1 && ln -s libiaxclient.so.1.0.0 libiaxclient.so.1)
(cd .libs && rm -f libiaxclient.so && ln -s libiaxclient.so.1.0.0 libiaxclient.so)
ar cru .libs/libiaxclient.a  portmixer/px_unix_oss/px_unix_oss.o unixfuncs.o videoLib/linux/libfg/capture.o videoLib/linux/libfg/frame.o videoLib/linux/linuxgrab.o libiax2/src/md5.o libiax2/src/iax.o libiax2/src/iax2-parser.o libiax2/src/jitterbuf.o codec_gsm.o audio_encode.o audio_portaudio.o codec_alaw.o codec_speex.o codec_theora.o codec_ulaw.o iaxclient_lib.o ringbuffer.o spandsp/plc.o video.o videoLib/video_grab.o
ranlib .libs/libiaxclient.a
creating libiaxclient.la
(cd .libs && rm -f libiaxclient.la && ln -s ../libiaxclient.la libiaxclient.la)
make[3]: Leaving directory `/home/peter/rebuild/build/iaxclient/iaxclient-2.0.2/objs/lib'





More information about the Pkg-voip-maintainers mailing list