Bug#558504: Missing autoreconf to fix 554821 or similar bugs in the future
Peter Fritzsche
peter.fritzsche at gmx.de
Sun Nov 29 00:57:05 UTC 2009
Source: glib2.0
Version: 2.22.2-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=CC --mode=link gcc -g -O2 -Wall -g -O2 -version-info 2200:2:2200 -export-dynamic -export-symbols-regex "^g.*" -Wl,-z,defs -Wl,-O1 -o libglib-2.0.la -rpath /usr/lib garray.lo gasyncqueue.lo gatomic.lo gbacktrace.lo gbase64.lo gbookmarkfile.lo gcache.lo gchecksum.lo gcompletion.lo gconvert.lo gdataset.lo gdate.lo gdir.lo gerror.lo gfileutils.lo ghash.lo ghook.lo ghostutils.lo giochannel.lo gkeyfile.lo glist.lo gmain.lo gmappedfile.lo gmarkup.lo gmem.lo gmessages.lo gnode.lo goption.lo gpattern.lo gpoll.lo gprimes.lo gqsort.lo gqueue.lo grel.lo grand.lo gregex.lo gscanner.lo gsequence.lo gshell.lo gslice.lo gslist.lo gstdio.lo gstrfuncs.lo gstring.lo gtestutils.lo gthread.lo gthreadpool.lo gtimer.lo gtree.lo guniprop.lo gutf8.lo gunibreak.lo gunicollate.lo gunidecomp.lo gurifuncs.lo gutils.lo gprintf.lo libcharset/libcharset.la giounix.lo gspawn.lo -lpcre
libtool: link: /usr/bin/nm -B .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o .libs/gbacktrace.o .libs/gbase64.o .libs/gbookmarkfile.o .libs/gcache.o .libs/gchecksum.o .libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o .libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o .libs/ghook.o .libs/ghostutils.o .libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o .libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o .libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gpoll.o .libs/gprimes.o .libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gregex.o .libs/gscanner.o .libs/gsequence.o .libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/gstdio.o .libs/gstrfuncs.o .libs/gstring.o .libs/gtestutils.o .libs/gthread.o .libs/gthreadpool.o .libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o .libs/gurifuncs.o .libs/gutils.o .libs/gprintf.o .libs/giounix.o .libs/gspawn.o libcharset/.libs/libcharset.a | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libglib-2.0.exp
libtool: link: /bin/grep -E -e "^g.*" ".libs/libglib-2.0.exp" > ".libs/libglib-2.0.expT"
libtool: link: mv -f ".libs/libglib-2.0.expT" ".libs/libglib-2.0.exp"
libtool: link: gcc -shared .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o .libs/gbacktrace.o .libs/gbase64.o .libs/gbookmarkfile.o .libs/gcache.o .libs/gchecksum.o .libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o .libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o .libs/ghook.o .libs/ghostutils.o .libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o .libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o .libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gpoll.o .libs/gprimes.o .libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gregex.o .libs/gscanner.o .libs/gsequence.o .libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/gstdio.o .libs/gstrfuncs.o .libs/gstring.o .libs/gtestutils.o .libs/gthread.o .libs/gthreadpool.o .libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o .libs/gurifuncs.o .libs/gutils.o .libs/gprintf.o .libs/giounix.o .libs/gspawn.o -Wl,--whole-archive libcharset/.libs/libcharset.a -Wl,--no-whole-archive -lpcre -Wl,-z -Wl,defs -Wl,-O1 -Wl,-soname -Wl,libglib-2.0.so.0 -o .libs/libglib-2.0.so.0.2200.2
libtool: link: (cd ".libs" && rm -f "libglib-2.0.so.0" && ln -s "libglib-2.0.so.0.2200.2" "libglib-2.0.so.0")
libtool: link: (cd ".libs" && rm -f "libglib-2.0.so" && ln -s "libglib-2.0.so.0.2200.2" "libglib-2.0.so")
libtool: link: (cd .libs/libglib-2.0.lax/libcharset.a && ar x "/home/peter/rebuild/build/glib2.0/glib2.0-2.22.2/debian/build/deb/glib/libcharset/.libs/libcharset.a")
libtool: link: ar cru .libs/libglib-2.0.a garray.o gasyncqueue.o gatomic.o gbacktrace.o gbase64.o gbookmarkfile.o gcache.o gchecksum.o gcompletion.o gconvert.o gdataset.o gdate.o gdir.o gerror.o gfileutils.o ghash.o ghook.o ghostutils.o giochannel.o gkeyfile.o glist.o gmain.o gmappedfile.o gmarkup.o gmem.o gmessages.o gnode.o goption.o gpattern.o gpoll.o gprimes.o gqsort.o gqueue.o grel.o grand.o gregex.o gscanner.o gsequence.o gshell.o gslice.o gslist.o gstdio.o gstrfuncs.o gstring.o gtestutils.o gthread.o gthreadpool.o gtimer.o gtree.o guniprop.o gutf8.o gunibreak.o gunicollate.o gunidecomp.o gurifuncs.o gutils.o gprintf.o giounix.o gspawn.o .libs/libglib-2.0.lax/libcharset.a/localcharset.o
libtool: link: ranlib .libs/libglib-2.0.a
libtool: link: rm -fr .libs/libglib-2.0.lax
libtool: link: ( cd ".libs" && rm -f "libglib-2.0.la" && ln -s "../libglib-2.0.la" "libglib-2.0.la" )
gcc -DHAVE_CONFIG_H -I. -I/home/peter/rebuild/build/glib2.0/glib2.0-2.22.2/glib -I.. -I/home/peter/rebuild/build/glib2.0/glib2.0-2.22.2 -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -pthread -g -O2 -Wall -g -O2 -MT gtester.o -MD -MP -MF .deps/gtester.Tpo -c -o gtester.o /home/peter/rebuild/build/glib2.0/glib2.0-2.22.2/glib/gtester.c
mv -f .deps/gtester.Tpo .deps/gtester.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -g -O2 -Wl,-z,defs -Wl,-O1 -o gtester gtester.o libglib-2.0.la
libtool: link: gcc -g -O2 -Wall -g -O2 -Wl,-z -Wl,defs -Wl,-O1 -o .libs/gtester gtester.o ./.libs/libglib-2.0.so -lpcre
make[5]: Leaving directory `/home/peter/rebuild/build/glib2.0/glib2.0-2.22.2/debian/build/deb/glib'
More information about the pkg-gnome-maintainers
mailing list