autogen FTBFS in edgy

Bug #65948 reported by Fabio Massimo Di Nitto
2
Affects Status Importance Assigned to Milestone
autogen (Ubuntu)
Fix Released
High
Kees Cook

Bug Description

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../autoopts -I/usr/include/libxml2 -O2 -MT x.o -MD -MP -MF ".deps/x.Tpo" -c -o x.o x.c; \
 then mv -f ".deps/x.Tpo" ".deps/x.Po"; else rm -f ".deps/x.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -o xml2ag x.o ../autoopts/libopts.la -L/usr/lib -lxml2 -lm -ldl
mkdir .libs
gcc -O2 -o .libs/xml2ag x.o ../autoopts/.libs/libopts.so -L/usr/lib /usr/lib/libxml2.so -lz -lm -ldl
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[3]: *** [xml2ag] Error 1
make[3]: Leaving directory `/build/buildd9/autogen-5.8.3/xml2ag'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd9/autogen-5.8.3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd9/autogen-5.8.3'
make: *** [build-stamp] Error 2

Changed in autogen:
importance: Undecided → High
status: Unconfirmed → Confirmed
Kees Cook (kees)
Changed in autogen:
assignee: nobody → keescook
status: Confirmed → In Progress
Revision history for this message
Kees Cook (kees) wrote :

The "-lz" is coming from libtool's analysis of libxml2-dev's .la file. The correction for this is to fix libxml2-dev's Depends to include zlib1g-dev.

Revision history for this message
Kees Cook (kees) wrote :

This is a debdiff for libxml2. Once that has been published to the archive, a rebuild of autogen will be needed.

Revision history for this message
Kees Cook (kees) wrote :

One of the autogen tests fails because it wasn't expect "core dumped" when testing Abort output. This solves it. libxml2's fix must be in the archive before rebuilding autogen.

Changed in autogen:
status: In Progress → Fix Committed
Kees Cook (kees)
Changed in autogen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.