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

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


Source: gst-fluendo-mpegdemux
Version: 0.10.15-1
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 cc -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2    -g -O2 -g -Wall -O2 -module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*  -o libgstflumpegdemux.la -rpath /usr/lib/gstreamer-0.10 libgstflumpegdemux_la-flumpegdemux.lo libgstflumpegdemux_la-gstmpegdesc.lo libgstflumpegdemux_la-gstmpegdemux.lo libgstflumpegdemux_la-gstpesfilter.lo libgstflumpegdemux_la-gstmpegtsdemux.lo libgstflumpegdemux_la-flutspatinfo.lo libgstflumpegdemux_la-flutspmtinfo.lo libgstflumpegdemux_la-flutspmtstreaminfo.lo libgstflumpegdemux_la-gstsectionfilter.lo -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0   -pthread -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0   
generating symbol list for `libgstflumpegdemux.la'
/usr/bin/nm -B  .libs/libgstflumpegdemux_la-flumpegdemux.o .libs/libgstflumpegdemux_la-gstmpegdesc.o .libs/libgstflumpegdemux_la-gstmpegdemux.o .libs/libgstflumpegdemux_la-gstpesfilter.o .libs/libgstflumpegdemux_la-gstmpegtsdemux.o .libs/libgstflumpegdemux_la-flutspatinfo.o .libs/libgstflumpegdemux_la-flutspmtinfo.o .libs/libgstflumpegdemux_la-flutspmtstreaminfo.o .libs/libgstflumpegdemux_la-gstsectionfilter.o  | sed -n -e 's/^.*[ 	]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ 	][ 	]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libgstflumpegdemux.exp
/bin/grep -E -e "_*(gst_|Gst|GST_).*" ".libs/libgstflumpegdemux.exp" > ".libs/libgstflumpegdemux.expT"
mv -f ".libs/libgstflumpegdemux.expT" ".libs/libgstflumpegdemux.exp"
cc -shared  .libs/libgstflumpegdemux_la-flumpegdemux.o .libs/libgstflumpegdemux_la-gstmpegdesc.o .libs/libgstflumpegdemux_la-gstmpegdemux.o .libs/libgstflumpegdemux_la-gstpesfilter.o .libs/libgstflumpegdemux_la-gstmpegtsdemux.o .libs/libgstflumpegdemux_la-flutspatinfo.o .libs/libgstflumpegdemux_la-flutspmtinfo.o .libs/libgstflumpegdemux_la-flutspmtstreaminfo.o .libs/libgstflumpegdemux_la-gstsectionfilter.o  -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib /usr/lib/libgstbase-0.10.so /usr/lib/libgstreamer-0.10.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libxml2.so /usr/lib/libglib-2.0.so  -pthread -pthread -pthread -Wl,-soname -Wl,libgstflumpegdemux.so -o .libs/libgstflumpegdemux.so
ar cru .libs/libgstflumpegdemux.a  libgstflumpegdemux_la-flumpegdemux.o libgstflumpegdemux_la-gstmpegdesc.o libgstflumpegdemux_la-gstmpegdemux.o libgstflumpegdemux_la-gstpesfilter.o libgstflumpegdemux_la-gstmpegtsdemux.o libgstflumpegdemux_la-flutspatinfo.o libgstflumpegdemux_la-flutspmtinfo.o libgstflumpegdemux_la-flutspmtstreaminfo.o libgstflumpegdemux_la-gstsectionfilter.o
ranlib .libs/libgstflumpegdemux.a
creating libgstflumpegdemux.la
(cd .libs && rm -f libgstflumpegdemux.la && ln -s ../libgstflumpegdemux.la libgstflumpegdemux.la)
make[3]: Leaving directory `/home/peter/rebuild/build/gst-fluendo-mpegdemux/gst-fluendo-mpegdemux-0.10.15/src'





More information about the Pkg-gstreamer-maintainers mailing list