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

Peter Fritzsche peter.fritzsche at gmx.de
Sun Nov 29 01:40:06 UTC 2009


Source: vte
Version: 1:0.22.5-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 -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -g -O2 -g -Wall -O2  -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Waggregate-return -Wcast-align -Wimplicit -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wmissing-format-attribute -Wshadow -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -fno-common -Wno-switch-enum -version-info 18:5:9 -export-symbols-regex "^vte_terminal_.*|^_vte_pty_.*|^vte_reaper_.*|_vte_debug_.*" -as-needed  -o libvte.la -rpath /usr/lib libvte_la-caps.lo libvte_la-debug.lo libvte_la-iso2022.lo libvte_la-keymap.lo libvte_la-marshal.lo libvte_la-matcher.lo libvte_la-pty.lo libvte_la-reaper.lo libvte_la-ring.lo libvte_la-table.lo libvte_la-trie.lo libvte_la-vte.lo libvte_la-vteaccess.lo libvte_la-vtebg.lo libvte_la-vteconv.lo libvte_la-vtedraw.lo libvte_la-vtepangocairo.lo libvte_la-vteregex.lo libvte_la-vterowdata.lo libvte_la-vteseq.lo libvte_la-vteskel.lo libvte_la-vtestream.lo libvte_la-vtetc.lo libvte_la-vtetree.lo libvte_la-vtetypebuiltins.lo libvte_la-vteunistr.lo -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lncurses  -lm
libtool: link: /usr/bin/nm -B  .libs/libvte_la-caps.o .libs/libvte_la-debug.o .libs/libvte_la-iso2022.o .libs/libvte_la-keymap.o .libs/libvte_la-marshal.o .libs/libvte_la-matcher.o .libs/libvte_la-pty.o .libs/libvte_la-reaper.o .libs/libvte_la-ring.o .libs/libvte_la-table.o .libs/libvte_la-trie.o .libs/libvte_la-vte.o .libs/libvte_la-vteaccess.o .libs/libvte_la-vtebg.o .libs/libvte_la-vteconv.o .libs/libvte_la-vtedraw.o .libs/libvte_la-vtepangocairo.o .libs/libvte_la-vteregex.o .libs/libvte_la-vterowdata.o .libs/libvte_la-vteseq.o .libs/libvte_la-vteskel.o .libs/libvte_la-vtestream.o .libs/libvte_la-vtetc.o .libs/libvte_la-vtetree.o .libs/libvte_la-vtetypebuiltins.o .libs/libvte_la-vteunistr.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libvte.exp
libtool: link: /bin/grep -E -e "^vte_terminal_.*|^_vte_pty_.*|^vte_reaper_.*|_vte_debug_.*" ".libs/libvte.exp" > ".libs/libvte.expT"
libtool: link: mv -f ".libs/libvte.expT" ".libs/libvte.exp"
libtool: link: cc -shared  .libs/libvte_la-caps.o .libs/libvte_la-debug.o .libs/libvte_la-iso2022.o .libs/libvte_la-keymap.o .libs/libvte_la-marshal.o .libs/libvte_la-matcher.o .libs/libvte_la-pty.o .libs/libvte_la-reaper.o .libs/libvte_la-ring.o .libs/libvte_la-table.o .libs/libvte_la-trie.o .libs/libvte_la-vte.o .libs/libvte_la-vteaccess.o .libs/libvte_la-vtebg.o .libs/libvte_la-vteconv.o .libs/libvte_la-vtedraw.o .libs/libvte_la-vtepangocairo.o .libs/libvte_la-vteregex.o .libs/libvte_la-vterowdata.o .libs/libvte_la-vteseq.o .libs/libvte_la-vteskel.o .libs/libvte_la-vtestream.o .libs/libvte_la-vtetc.o .libs/libvte_la-vtetree.o .libs/libvte_la-vtetypebuiltins.o .libs/libvte_la-vteunistr.o   /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -lncurses -lm    -Wl,-soname -Wl,libvte.so.9 -o .libs/libvte.so.9.9.5
libtool: link: (cd ".libs" && rm -f "libvte.so.9" && ln -s "libvte.so.9.9.5" "libvte.so.9")
libtool: link: (cd ".libs" && rm -f "libvte.so" && ln -s "libvte.so.9.9.5" "libvte.so")
libtool: link: ar cru .libs/libvte.a  libvte_la-caps.o libvte_la-debug.o libvte_la-iso2022.o libvte_la-keymap.o libvte_la-marshal.o libvte_la-matcher.o libvte_la-pty.o libvte_la-reaper.o libvte_la-ring.o libvte_la-table.o libvte_la-trie.o libvte_la-vte.o libvte_la-vteaccess.o libvte_la-vtebg.o libvte_la-vteconv.o libvte_la-vtedraw.o libvte_la-vtepangocairo.o libvte_la-vteregex.o libvte_la-vterowdata.o libvte_la-vteseq.o libvte_la-vteskel.o libvte_la-vtestream.o libvte_la-vtetc.o libvte_la-vtetree.o libvte_la-vtetypebuiltins.o libvte_la-vteunistr.o
libtool: link: ranlib .libs/libvte.a
libtool: link: ( cd ".libs" && rm -f "libvte.la" && ln -s "../libvte.la" "libvte.la" )
\
#	source='vteapp.c' object='vte-vteapp.o' libtool=no 
cc -DHAVE_CONFIG_H -I. -I/home/peter/rebuild/build/vte/vte-0.22.5/./src -I..    -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -g -O2 -g -Wall -O2  -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Waggregate-return -Wcast-align -Wimplicit -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wmissing-format-attribute -Wshadow -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -fno-common -Wno-switch-enum -c -o vte-vteapp.o `test -f 'vteapp.c' || echo '/home/peter/rebuild/build/vte/vte-0.22.5/./src/'`vteapp.c
/home/peter/rebuild/build/vte/vte-0.22.5/./src/vteapp.c: In function 'take_xconsole_ownership':
/home/peter/rebuild/build/vte/vte-0.22.5/./src/vteapp.c:387: warning: initialization discards qualifiers from pointer target type
/home/peter/rebuild/build/vte/vte-0.22.5/./src/vteapp.c:388: warning: initialization discards qualifiers from pointer target type
/home/peter/rebuild/build/vte/vte-0.22.5/./src/vteapp.c:389: warning: initialization discards qualifiers from pointer target type
/home/peter/rebuild/build/vte/vte-0.22.5/./src/vteapp.c:390: warning: initialization discards qualifiers from pointer target type
/home/peter/rebuild/build/vte/vte-0.22.5/./src/vteapp.c: In function 'main':
/home/peter/rebuild/build/vte/vte-0.22.5/./src/vteapp.c:788: warning: 'vte_terminal_set_font_from_string_full' is deprecated (declared at /home/peter/rebuild/build/vte/vte-0.22.5/./src/vte.h:439)
/bin/bash ../libtool  --tag=CC   --mode=link cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -g -O2 -g -Wall -O2  -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Waggregate-return -Wcast-align -Wimplicit -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wmissing-format-attribute -Wshadow -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -fno-common -Wno-switch-enum   -o vte vte-vteapp.o libvte.la -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lncurses  -lm






More information about the pkg-gnome-maintainers mailing list