[Pkg-scicomp-devel] Bug#558505: 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: glpk
Version: 4.38-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 -version-info 23:0:23 -export-symbols-regex '^(glp_|_glp_lpx_).*'  -o libglpk.la -rpath /usr/lib glpapi01.lo glpapi02.lo glpapi03.lo glpapi04.lo glpapi05.lo glpapi06.lo glpapi07.lo glpapi08.lo glpapi09.lo glpapi10.lo glpapi11.lo glpapi12.lo glpapi13.lo glpapi14.lo glpapi15.lo glpapi16.lo glpapi17.lo glpapi18.lo glpapi19.lo glpapi20.lo glpavl.lo glpbfd.lo glpbfx.lo glpcpx.lo glpdmp.lo glpdmx.lo glpfhv.lo glpgmp.lo glphbm.lo glpini01.lo glpini02.lo glpios01.lo glpios02.lo glpios03.lo glpios04.lo glpios05.lo glpios06.lo glpios07.lo glpios08.lo glpios09.lo glpios10.lo glpipm.lo glpipp01.lo glpipp02.lo glplib01.lo glplib02.lo glplib03.lo glplib04.lo glplib05.lo glplib06.lo glplib07.lo glplib08.lo glplib09.lo glplib10.lo glplib11.lo glplib12.lo glplpf.lo glplpp01.lo glplpp02.lo glplpx01.lo glplpx02.lo glplpx03.lo glplpx04.lo glplpx05.lo glpluf.lo glplux.lo glpmat.lo glpmpl01.lo glpmpl02.lo glpmpl03.lo glpmpl04.lo glpmpl05.lo glpmpl06.lo glpmps.lo glpnet01.lo glpnet02.lo glpnet03.lo glpnet04.lo glpnet05.lo glpnet06.lo glpnet07.lo glpnpp01.lo glpnpp02.lo glpqmd.lo glprgr.lo glprng01.lo glprng02.lo glpscf.lo glpscg.lo glpscl.lo glpsds.lo glpspm.lo glpspx01.lo glpspx02.lo glpsql.lo glpssx01.lo glpssx02.lo glptsp.lo amd_1.lo amd_2.lo amd_aat.lo amd_control.lo amd_defaults.lo amd_dump.lo amd_info.lo amd_order.lo amd_post_tree.lo amd_postorder.lo amd_preprocess.lo amd_valid.lo colamd.lo  -lltdl -lz -lgmp -lm 
libtool: link: /usr/bin/nm -B  .libs/glpapi01.o .libs/glpapi02.o .libs/glpapi03.o .libs/glpapi04.o .libs/glpapi05.o .libs/glpapi06.o .libs/glpapi07.o .libs/glpapi08.o .libs/glpapi09.o .libs/glpapi10.o .libs/glpapi11.o .libs/glpapi12.o .libs/glpapi13.o .libs/glpapi14.o .libs/glpapi15.o .libs/glpapi16.o .libs/glpapi17.o .libs/glpapi18.o .libs/glpapi19.o .libs/glpapi20.o .libs/glpavl.o .libs/glpbfd.o .libs/glpbfx.o .libs/glpcpx.o .libs/glpdmp.o .libs/glpdmx.o .libs/glpfhv.o .libs/glpgmp.o .libs/glphbm.o .libs/glpini01.o .libs/glpini02.o .libs/glpios01.o .libs/glpios02.o .libs/glpios03.o .libs/glpios04.o .libs/glpios05.o .libs/glpios06.o .libs/glpios07.o .libs/glpios08.o .libs/glpios09.o .libs/glpios10.o .libs/glpipm.o .libs/glpipp01.o .libs/glpipp02.o .libs/glplib01.o .libs/glplib02.o .libs/glplib03.o .libs/glplib04.o .libs/glplib05.o .libs/glplib06.o .libs/glplib07.o .libs/glplib08.o .libs/glplib09.o .libs/glplib10.o .libs/glplib11.o .libs/glplib12.o .libs/glplpf.o .libs/glplpp01.o .libs/glplpp02.o .libs/glplpx01.o .libs/glplpx02.o .libs/glplpx03.o .libs/glplpx04.o .libs/glplpx05.o .libs/glpluf.o .libs/glplux.o .libs/glpmat.o .libs/glpmpl01.o .libs/glpmpl02.o .libs/glpmpl03.o .libs/glpmpl04.o .libs/glpmpl05.o .libs/glpmpl06.o .libs/glpmps.o .libs/glpnet01.o .libs/glpnet02.o .libs/glpnet03.o .libs/glpnet04.o .libs/glpnet05.o .libs/glpnet06.o .libs/glpnet07.o .libs/glpnpp01.o .libs/glpnpp02.o .libs/glpqmd.o .libs/glprgr.o .libs/glprng01.o .libs/glprng02.o .libs/glpscf.o .libs/glpscg.o .libs/glpscl.o .libs/glpsds.o .libs/glpspm.o .libs/glpspx01.o .libs/glpspx02.o .libs/glpsql.o .libs/glpssx01.o .libs/glpssx02.o .libs/glptsp.o .libs/amd_1.o .libs/amd_2.o .libs/amd_aat.o .libs/amd_control.o .libs/amd_defaults.o .libs/amd_dump.o .libs/amd_info.o .libs/amd_order.o .libs/amd_post_tree.o .libs/amd_postorder.o .libs/amd_preprocess.o .libs/amd_valid.o .libs/colamd.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libglpk.exp
libtool: link: /bin/grep -E -e "^(glp_|_glp_lpx_).*" ".libs/libglpk.exp" > ".libs/libglpk.expT"
libtool: link: mv -f ".libs/libglpk.expT" ".libs/libglpk.exp"
libtool: link: cc -shared  .libs/glpapi01.o .libs/glpapi02.o .libs/glpapi03.o .libs/glpapi04.o .libs/glpapi05.o .libs/glpapi06.o .libs/glpapi07.o .libs/glpapi08.o .libs/glpapi09.o .libs/glpapi10.o .libs/glpapi11.o .libs/glpapi12.o .libs/glpapi13.o .libs/glpapi14.o .libs/glpapi15.o .libs/glpapi16.o .libs/glpapi17.o .libs/glpapi18.o .libs/glpapi19.o .libs/glpapi20.o .libs/glpavl.o .libs/glpbfd.o .libs/glpbfx.o .libs/glpcpx.o .libs/glpdmp.o .libs/glpdmx.o .libs/glpfhv.o .libs/glpgmp.o .libs/glphbm.o .libs/glpini01.o .libs/glpini02.o .libs/glpios01.o .libs/glpios02.o .libs/glpios03.o .libs/glpios04.o .libs/glpios05.o .libs/glpios06.o .libs/glpios07.o .libs/glpios08.o .libs/glpios09.o .libs/glpios10.o .libs/glpipm.o .libs/glpipp01.o .libs/glpipp02.o .libs/glplib01.o .libs/glplib02.o .libs/glplib03.o .libs/glplib04.o .libs/glplib05.o .libs/glplib06.o .libs/glplib07.o .libs/glplib08.o .libs/glplib09.o .libs/glplib10.o .libs/glplib11.o .libs/glplib12.o .libs/glplpf.o .libs/glplpp01.o .libs/glplpp02.o .libs/glplpx01.o .libs/glplpx02.o .libs/glplpx03.o .libs/glplpx04.o .libs/glplpx05.o .libs/glpluf.o .libs/glplux.o .libs/glpmat.o .libs/glpmpl01.o .libs/glpmpl02.o .libs/glpmpl03.o .libs/glpmpl04.o .libs/glpmpl05.o .libs/glpmpl06.o .libs/glpmps.o .libs/glpnet01.o .libs/glpnet02.o .libs/glpnet03.o .libs/glpnet04.o .libs/glpnet05.o .libs/glpnet06.o .libs/glpnet07.o .libs/glpnpp01.o .libs/glpnpp02.o .libs/glpqmd.o .libs/glprgr.o .libs/glprng01.o .libs/glprng02.o .libs/glpscf.o .libs/glpscg.o .libs/glpscl.o .libs/glpsds.o .libs/glpspm.o .libs/glpspx01.o .libs/glpspx02.o .libs/glpsql.o .libs/glpssx01.o .libs/glpssx02.o .libs/glptsp.o .libs/amd_1.o .libs/amd_2.o .libs/amd_aat.o .libs/amd_control.o .libs/amd_defaults.o .libs/amd_dump.o .libs/amd_info.o .libs/amd_order.o .libs/amd_post_tree.o .libs/amd_postorder.o .libs/amd_preprocess.o .libs/amd_valid.o .libs/colamd.o   /usr/lib/libltdl.so -ldl -lz /usr/lib/libgmp.so -lm    -Wl,-soname -Wl,libglpk.so.0 -o .libs/libglpk.so.0.23.0
libtool: link: (cd ".libs" && rm -f "libglpk.so.0" && ln -s "libglpk.so.0.23.0" "libglpk.so.0")
libtool: link: (cd ".libs" && rm -f "libglpk.so" && ln -s "libglpk.so.0.23.0" "libglpk.so")
libtool: link: ar cru .libs/libglpk.a  glpapi01.o glpapi02.o glpapi03.o glpapi04.o glpapi05.o glpapi06.o glpapi07.o glpapi08.o glpapi09.o glpapi10.o glpapi11.o glpapi12.o glpapi13.o glpapi14.o glpapi15.o glpapi16.o glpapi17.o glpapi18.o glpapi19.o glpapi20.o glpavl.o glpbfd.o glpbfx.o glpcpx.o glpdmp.o glpdmx.o glpfhv.o glpgmp.o glphbm.o glpini01.o glpini02.o glpios01.o glpios02.o glpios03.o glpios04.o glpios05.o glpios06.o glpios07.o glpios08.o glpios09.o glpios10.o glpipm.o glpipp01.o glpipp02.o glplib01.o glplib02.o glplib03.o glplib04.o glplib05.o glplib06.o glplib07.o glplib08.o glplib09.o glplib10.o glplib11.o glplib12.o glplpf.o glplpp01.o glplpp02.o glplpx01.o glplpx02.o glplpx03.o glplpx04.o glplpx05.o glpluf.o glplux.o glpmat.o glpmpl01.o glpmpl02.o glpmpl03.o glpmpl04.o glpmpl05.o glpmpl06.o glpmps.o glpnet01.o glpnet02.o glpnet03.o glpnet04.o glpnet05.o glpnet06.o glpnet07.o glpnpp01.o glpnpp02.o glpqmd.o glprgr.o glprng01.o glprng02.o glpscf.o glpscg.o glpscl.o glpsds.o glpspm.o glpspx01.o glpspx02.o glpsql.o glpssx01.o glpssx02.o glptsp.o amd_1.o amd_2.o amd_aat.o amd_control.o amd_defaults.o amd_dump.o amd_info.o amd_order.o amd_post_tree.o amd_postorder.o amd_preprocess.o amd_valid.o colamd.o
libtool: link: ranlib .libs/libglpk.a
libtool: link: ( cd ".libs" && rm -f "libglpk.la" && ln -s "../libglpk.la" "libglpk.la" )
make[3]: Leaving directory `/home/peter/rebuild/build/glpk/glpk-4.38/src'

More information about the Pkg-scicomp-devel mailing list