Bug#558550: 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: gtksourceview2
Version: 2.8.1-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  -g -O2 -g -Wall -O2 -no-undefined -export-symbols-regex "^gtk_source_.*" -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -o libgtksourceview-2.0.la -rpath /usr/lib gtksourcebuffer.lo gtksourceiter.lo gtksourceview.lo gtksourceundomanager.lo gtktextregion.lo gtksourcelanguage.lo gtksourcelanguagemanager.lo gtksourcelanguage-parser-1.lo gtksourcelanguage-parser-2.lo gtksourceview-i18n.lo gtksourceview-utils.lo gtksourcestyle.lo gtksourcestyleschememanager.lo gtksourcestylescheme.lo gtksourceengine.lo gtksourcecontextengine.lo gtksourcemark.lo gtksourceprintcompositor.lo gtksourcegutter.lo  gtksourceview-marshal.lo gtksourceview-typebuiltins.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 -lxml2   
libtool: link: /usr/bin/nm -B  .libs/gtksourcebuffer.o .libs/gtksourceiter.o .libs/gtksourceview.o .libs/gtksourceundomanager.o .libs/gtktextregion.o .libs/gtksourcelanguage.o .libs/gtksourcelanguagemanager.o .libs/gtksourcelanguage-parser-1.o .libs/gtksourcelanguage-parser-2.o .libs/gtksourceview-i18n.o .libs/gtksourceview-utils.o .libs/gtksourcestyle.o .libs/gtksourcestyleschememanager.o .libs/gtksourcestylescheme.o .libs/gtksourceengine.o .libs/gtksourcecontextengine.o .libs/gtksourcemark.o .libs/gtksourceprintcompositor.o .libs/gtksourcegutter.o .libs/gtksourceview-marshal.o .libs/gtksourceview-typebuiltins.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libgtksourceview-2.0.exp
libtool: link: /bin/grep -E -e "^gtk_source_.*" ".libs/libgtksourceview-2.0.exp" > ".libs/libgtksourceview-2.0.expT"
libtool: link: mv -f ".libs/libgtksourceview-2.0.expT" ".libs/libgtksourceview-2.0.exp"
libtool: link: cc -shared  .libs/gtksourcebuffer.o .libs/gtksourceiter.o .libs/gtksourceview.o .libs/gtksourceundomanager.o .libs/gtktextregion.o .libs/gtksourcelanguage.o .libs/gtksourcelanguagemanager.o .libs/gtksourcelanguage-parser-1.o .libs/gtksourcelanguage-parser-2.o .libs/gtksourceview-i18n.o .libs/gtksourceview-utils.o .libs/gtksourcestyle.o .libs/gtksourcestyleschememanager.o .libs/gtksourcestylescheme.o .libs/gtksourceengine.o .libs/gtksourcecontextengine.o .libs/gtksourcemark.o .libs/gtksourceprintcompositor.o .libs/gtksourcegutter.o .libs/gtksourceview-marshal.o .libs/gtksourceview-typebuiltins.o   -Wl,--as-needed /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 -lm /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 /usr/lib/libxml2.so  -Wl,-z -Wl,defs -Wl,-O1   -Wl,-soname -Wl,libgtksourceview-2.0.so.0 -o .libs/libgtksourceview-2.0.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libgtksourceview-2.0.so.0" && ln -s "libgtksourceview-2.0.so.0.0.0" "libgtksourceview-2.0.so.0")
libtool: link: (cd ".libs" && rm -f "libgtksourceview-2.0.so" && ln -s "libgtksourceview-2.0.so.0.0.0" "libgtksourceview-2.0.so")
libtool: link: ar cru .libs/libgtksourceview-2.0.a  gtksourcebuffer.o gtksourceiter.o gtksourceview.o gtksourceundomanager.o gtktextregion.o gtksourcelanguage.o gtksourcelanguagemanager.o gtksourcelanguage-parser-1.o gtksourcelanguage-parser-2.o gtksourceview-i18n.o gtksourceview-utils.o gtksourcestyle.o gtksourcestyleschememanager.o gtksourcestylescheme.o gtksourceengine.o gtksourcecontextengine.o gtksourcemark.o gtksourceprintcompositor.o gtksourcegutter.o gtksourceview-marshal.o gtksourceview-typebuiltins.o
libtool: link: ranlib .libs/libgtksourceview-2.0.a
libtool: link: ( cd ".libs" && rm -f "libgtksourceview-2.0.la" && ln -s "../libgtksourceview-2.0.la" "libgtksourceview-2.0.la" )
make[5]: Leaving directory `/home/peter/rebuild/build/gtksourceview2/gtksourceview2-2.8.1/gtksourceview'





More information about the pkg-gnome-maintainers mailing list