[tlbuild] dvisvgm binary fails to link on GNU Hurd

Hilmar Preuße hille42 at web.de
Mon Jul 22 12:00:38 CEST 2019


Hi all,

since a few releases of TL, building the package on Debian Hurd fails,
see [1]. It fails to link the dvisvgm  binary:

libtool: link: g++ -Wreturn-type -Wno-write-strings -Wnon-virtual-dtor
-I../../../../../texk/dvisvgm/dvisvgm-src/libs/clipper
-I../../../../../texk/dvisvgm/dvisvgm-src/libs/variant/include
-I../../../../../texk/dvisvgm/dvisvgm-src/libs/potrace
-I../../../../../texk/dvisvgm/dvisvgm-src/libs/xxHash
-I../../../../../texk/dvisvgm/dvisvgm-src/libs/brotli/include
-I../../../../../texk/dvisvgm/dvisvgm-src/libs/woff2/include
-I../../../../../texk/dvisvgm/dvisvgm-src/libs/md5
-I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk
-I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wl,-z -Wl,relro -o .libs/dvisvgm dvisvgm.o
libdvisvgm.a ../libs/clipper/libclipper.a -lpotrace -lxxhash
../libs/ff-woff/libfontforge.a -lwoff2enc -lwoff2dec -lwoff2common
-lbrotlienc -lbrotlidec -lbrotlicommon ../libs/md5/libmd5.a
/<<PKGBUILDDIR>>/Work/texk/kpathsea/.libs/libkpathsea.so -lfreetype -lz -lgs
/usr/bin/ld: libdvisvgm.a(DLLoader.o): undefined reference to symbol
'dlclose@@GLIBC_2.2.6'
/usr/bin/ld: /lib/i386-gnu/libdl.so.2: error adding symbols: DSO missing
from command line

As expected the linking works OK, when adding an -ldl flag at the end of
the line. As the configure.ac is heavily patched by the TL people I
can't be sure that this is an upstream bug.

Please be so kind to have a short look at this. Thanks!
Please keep the Debian bug in Cc

Hilmar

[1] https://buildd.debian.org/status/logs.php?pkg=texlive-bin&arch=hurd-i386
--
#206401 http://counter.li.org



More information about the tlbuild mailing list