[xml/sgml-pkgs] Bug#242683: FTBFS: missing dependency on zlib1g-dev
Matt Kraai
Matt Kraai <kraai@ftbfs.org>, 242683@bugs.debian.org
Thu, 31 Dec 1903 16:50:03 -0800
Package: libxml2-dev
Version: 2.6.8-1
Severity: serious
hotway fails to build from source:
...
if i386-linux-gcc -DPACKAGE_NAME=\"hotwayd\" -DPACKAGE_TARNAME=\"hotwayd\" -DPACKAGE_VERSION=\"0.7.1\" -DPACKAGE_STRING=\"hotwayd\ 0.7.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"hotwayd\" -DVERSION=\"0.7.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -I. -I. `xml2-config --cflags` -g -O2 -I/usr/include/libxml2 -MT version.o -MD -MP -MF ".deps/version.Tpo" \
-c -o version.o `test -f 'version.c' || echo './'`version.c; \
then mv -f ".deps/version.Tpo" ".deps/version.Po"; \
else rm -f ".deps/version.Tpo"; exit 1; \
fi
i386-linux-gcc -g -O2 -I/usr/include/libxml2 -o hotwayd hotwayd.o commands.o xmlstuff.o cache.o inet.o version.o libghttp-1.0.9-mod/ghttp.c libghttp-1.0.9-mod/http_date.c libghttp-1.0.9-mod/http_hdrs.c libghttp-1.0.9-mod/http_req.c libghttp-1.0.9-mod/http_resp.c libghttp-1.0.9-mod/http_trans.c libghttp-1.0.9-mod/http_uri.c libghttp-1.0.9-mod/http_base64.c libghttp-1.0.9-mod/http_digest.c libghttp-1.0.9-mod/http_lazy.c libghttp-1.0.9-mod/md5c.c strlcpy.c strlcat.c -L/usr/lib -lxml2 -lz -lpthread -lm
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[1]: *** [hotwayd] Error 1
...
The "-lz" comes from the libtool information file in libxml2-dev,
so it should depend on zlib1g-dev.
--
Matt Kraai kraai@ftbfs.org http://ftbfs.org/