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

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


Source: schroedinger
Version: 1.0.8-2
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=CXX   --mode=link g++  -g -O2 -g -Wall -O2 -no-undefined -version-info 2:0:2 -export-symbols-regex '^(schro|orc)_' -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -o libschroedinger-1.0.la -rpath /usr/lib libschroedinger_1.0_la-schro.lo libschroedinger_1.0_la-schroarith.lo libschroedinger_1.0_la-schrocog.lo libschroedinger_1.0_la-schrodecoder.lo libschroedinger_1.0_la-schrodebug.lo libschroedinger_1.0_la-schrodomain.lo libschroedinger_1.0_la-schroframe.lo libschroedinger_1.0_la-schrohistogram.lo libschroedinger_1.0_la-schrobuffer.lo libschroedinger_1.0_la-schrobufferlist.lo libschroedinger_1.0_la-schrolowdelay.lo libschroedinger_1.0_la-schromotion.lo libschroedinger_1.0_la-schromotionfast.lo libschroedinger_1.0_la-schrooil.lo libschroedinger_1.0_la-schroparams.lo libschroedinger_1.0_la-schroparse.lo libschroedinger_1.0_la-schroroughmotion.lo libschroedinger_1.0_la-schroqueue.lo libschroedinger_1.0_la-schrotables.lo libschroedinger_1.0_la-schrotablesinit.lo libschroedinger_1.0_la-schrounpack.lo libschroedinger_1.0_la-schrounpacktables.lo libschroedinger_1.0_la-schroutils.lo libschroedinger_1.0_la-schrovideoformat.lo libschroedinger_1.0_la-schrovirtframe.lo  libschroedinger_1.0_la-schroasync-pthread.lo libschroedinger_1.0_la-schromotionref.lo libschroedinger_1.0_la-schroanalysis.lo libschroedinger_1.0_la-schroencoder.lo libschroedinger_1.0_la-schroengine.lo libschroedinger_1.0_la-schrofft.lo libschroedinger_1.0_la-schrofilter.lo libschroedinger_1.0_la-schroglobalest.lo libschroedinger_1.0_la-schrolist.lo libschroedinger_1.0_la-schrometric.lo libschroedinger_1.0_la-schromotionest.lo libschroedinger_1.0_la-schropack.lo libschroedinger_1.0_la-schrophasecorrelation.lo libschroedinger_1.0_la-schroquantiser.lo libschroedinger_1.0_la-schrossim.lo libschroedinger_1.0_la-schrowavelettables.lo  libschroedinger_1.0_la-schrowavelet.lo     -loil-0.3 -lm -lrt    -lpthread 
libtool: link: /usr/bin/nm -B  .libs/libschroedinger_1.0_la-schro.o .libs/libschroedinger_1.0_la-schroarith.o .libs/libschroedinger_1.0_la-schrocog.o .libs/libschroedinger_1.0_la-schrodecoder.o .libs/libschroedinger_1.0_la-schrodebug.o .libs/libschroedinger_1.0_la-schrodomain.o .libs/libschroedinger_1.0_la-schroframe.o .libs/libschroedinger_1.0_la-schrohistogram.o .libs/libschroedinger_1.0_la-schrobuffer.o .libs/libschroedinger_1.0_la-schrobufferlist.o .libs/libschroedinger_1.0_la-schrolowdelay.o .libs/libschroedinger_1.0_la-schromotion.o .libs/libschroedinger_1.0_la-schromotionfast.o .libs/libschroedinger_1.0_la-schrooil.o .libs/libschroedinger_1.0_la-schroparams.o .libs/libschroedinger_1.0_la-schroparse.o .libs/libschroedinger_1.0_la-schroroughmotion.o .libs/libschroedinger_1.0_la-schroqueue.o .libs/libschroedinger_1.0_la-schrotables.o .libs/libschroedinger_1.0_la-schrotablesinit.o .libs/libschroedinger_1.0_la-schrounpack.o .libs/libschroedinger_1.0_la-schrounpacktables.o .libs/libschroedinger_1.0_la-schroutils.o .libs/libschroedinger_1.0_la-schrovideoformat.o .libs/libschroedinger_1.0_la-schrovirtframe.o .libs/libschroedinger_1.0_la-schroasync-pthread.o .libs/libschroedinger_1.0_la-schromotionref.o .libs/libschroedinger_1.0_la-schroanalysis.o .libs/libschroedinger_1.0_la-schroencoder.o .libs/libschroedinger_1.0_la-schroengine.o .libs/libschroedinger_1.0_la-schrofft.o .libs/libschroedinger_1.0_la-schrofilter.o .libs/libschroedinger_1.0_la-schroglobalest.o .libs/libschroedinger_1.0_la-schrolist.o .libs/libschroedinger_1.0_la-schrometric.o .libs/libschroedinger_1.0_la-schromotionest.o .libs/libschroedinger_1.0_la-schropack.o .libs/libschroedinger_1.0_la-schrophasecorrelation.o .libs/libschroedinger_1.0_la-schroquantiser.o .libs/libschroedinger_1.0_la-schrossim.o .libs/libschroedinger_1.0_la-schrowavelettables.o .libs/libschroedinger_1.0_la-schrowavelet.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libschroedinger-1.0.exp
libtool: link: /bin/grep -E -e "^(schro|orc)_" ".libs/libschroedinger-1.0.exp" > ".libs/libschroedinger-1.0.expT"
libtool: link: mv -f ".libs/libschroedinger-1.0.expT" ".libs/libschroedinger-1.0.exp"
libtool: link: g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.3.4/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.3.4/crtbeginS.o  .libs/libschroedinger_1.0_la-schro.o .libs/libschroedinger_1.0_la-schroarith.o .libs/libschroedinger_1.0_la-schrocog.o .libs/libschroedinger_1.0_la-schrodecoder.o .libs/libschroedinger_1.0_la-schrodebug.o .libs/libschroedinger_1.0_la-schrodomain.o .libs/libschroedinger_1.0_la-schroframe.o .libs/libschroedinger_1.0_la-schrohistogram.o .libs/libschroedinger_1.0_la-schrobuffer.o .libs/libschroedinger_1.0_la-schrobufferlist.o .libs/libschroedinger_1.0_la-schrolowdelay.o .libs/libschroedinger_1.0_la-schromotion.o .libs/libschroedinger_1.0_la-schromotionfast.o .libs/libschroedinger_1.0_la-schrooil.o .libs/libschroedinger_1.0_la-schroparams.o .libs/libschroedinger_1.0_la-schroparse.o .libs/libschroedinger_1.0_la-schroroughmotion.o .libs/libschroedinger_1.0_la-schroqueue.o .libs/libschroedinger_1.0_la-schrotables.o .libs/libschroedinger_1.0_la-schrotablesinit.o .libs/libschroedinger_1.0_la-schrounpack.o .libs/libschroedinger_1.0_la-schrounpacktables.o .libs/libschroedinger_1.0_la-schroutils.o .libs/libschroedinger_1.0_la-schrovideoformat.o .libs/libschroedinger_1.0_la-schrovirtframe.o .libs/libschroedinger_1.0_la-schroasync-pthread.o .libs/libschroedinger_1.0_la-schromotionref.o .libs/libschroedinger_1.0_la-schroanalysis.o .libs/libschroedinger_1.0_la-schroencoder.o .libs/libschroedinger_1.0_la-schroengine.o .libs/libschroedinger_1.0_la-schrofft.o .libs/libschroedinger_1.0_la-schrofilter.o .libs/libschroedinger_1.0_la-schroglobalest.o .libs/libschroedinger_1.0_la-schrolist.o .libs/libschroedinger_1.0_la-schrometric.o .libs/libschroedinger_1.0_la-schromotionest.o .libs/libschroedinger_1.0_la-schropack.o .libs/libschroedinger_1.0_la-schrophasecorrelation.o .libs/libschroedinger_1.0_la-schroquantiser.o .libs/libschroedinger_1.0_la-schrossim.o .libs/libschroedinger_1.0_la-schrowavelettables.o .libs/libschroedinger_1.0_la-schrowavelet.o   -Wl,--as-needed -loil-0.3 -lrt -lpthread -L/usr/lib/gcc/x86_64-linux-gnu/4.3.4 -L/usr/lib/gcc/x86_64-linux-gnu/4.3.4/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.3.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.3.4/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.3.4/../../../../lib/crtn.o  -Wl,-z -Wl,defs -Wl,-O1   -Wl,-soname -Wl,libschroedinger-1.0.so.0 -Wl,-retain-symbols-file -Wl,.libs/libschroedinger-1.0.exp -o .libs/libschroedinger-1.0.so.0.2.0
libtool: link: (cd ".libs" && rm -f "libschroedinger-1.0.so.0" && ln -s "libschroedinger-1.0.so.0.2.0" "libschroedinger-1.0.so.0")
libtool: link: (cd ".libs" && rm -f "libschroedinger-1.0.so" && ln -s "libschroedinger-1.0.so.0.2.0" "libschroedinger-1.0.so")
libtool: link: ar cru .libs/libschroedinger-1.0.a  libschroedinger_1.0_la-schro.o libschroedinger_1.0_la-schroarith.o libschroedinger_1.0_la-schrocog.o libschroedinger_1.0_la-schrodecoder.o libschroedinger_1.0_la-schrodebug.o libschroedinger_1.0_la-schrodomain.o libschroedinger_1.0_la-schroframe.o libschroedinger_1.0_la-schrohistogram.o libschroedinger_1.0_la-schrobuffer.o libschroedinger_1.0_la-schrobufferlist.o libschroedinger_1.0_la-schrolowdelay.o libschroedinger_1.0_la-schromotion.o libschroedinger_1.0_la-schromotionfast.o libschroedinger_1.0_la-schrooil.o libschroedinger_1.0_la-schroparams.o libschroedinger_1.0_la-schroparse.o libschroedinger_1.0_la-schroroughmotion.o libschroedinger_1.0_la-schroqueue.o libschroedinger_1.0_la-schrotables.o libschroedinger_1.0_la-schrotablesinit.o libschroedinger_1.0_la-schrounpack.o libschroedinger_1.0_la-schrounpacktables.o libschroedinger_1.0_la-schroutils.o libschroedinger_1.0_la-schrovideoformat.o libschroedinger_1.0_la-schrovirtframe.o libschroedinger_1.0_la-schroasync-pthread.o libschroedinger_1.0_la-schromotionref.o libschroedinger_1.0_la-schroanalysis.o libschroedinger_1.0_la-schroencoder.o libschroedinger_1.0_la-schroengine.o libschroedinger_1.0_la-schrofft.o libschroedinger_1.0_la-schrofilter.o libschroedinger_1.0_la-schroglobalest.o libschroedinger_1.0_la-schrolist.o libschroedinger_1.0_la-schrometric.o libschroedinger_1.0_la-schromotionest.o libschroedinger_1.0_la-schropack.o libschroedinger_1.0_la-schrophasecorrelation.o libschroedinger_1.0_la-schroquantiser.o libschroedinger_1.0_la-schrossim.o libschroedinger_1.0_la-schrowavelettables.o libschroedinger_1.0_la-schrowavelet.o
libtool: link: ranlib .libs/libschroedinger-1.0.a
libtool: link: ( cd ".libs" && rm -f "libschroedinger-1.0.la" && ln -s "../libschroedinger-1.0.la" "libschroedinger-1.0.la" )
make[5]: Leaving directory `/home/peter/rebuild/build/schroedinger/schroedinger-1.0.8/schroedinger'





More information about the Pkg-gstreamer-maintainers mailing list