[Debian-med-packaging] Bug#906454: biosquid: FTBFS in buster/sid (ld: cannot find -lsquid)
Santiago Vila
sanvila at debian.org
Fri Aug 17 20:20:42 BST 2018
Package: src:biosquid
Version: 1.9g+cvs20050121-10
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-arch
dh build-arch --no-parallel
dh_update_autotools_config -a
install -d debian/.debhelper/bucket/files
cp -an --reflink=auto config.sub debian/.debhelper/bucket/files/6256efe9320ee8690c8be56bb851415d90efe4d27a67fe374efd28a6c6733153.tmp
mv debian/.debhelper/bucket/files/6256efe9320ee8690c8be56bb851415d90efe4d27a67fe374efd28a6c6733153.tmp debian/.debhelper/bucket/files/6256efe9320ee8690c8be56bb851415d90efe4d27a67fe374efd28a6c6733153
cp -f /usr/share/misc/config.sub ./config.sub
dh_autoreconf -a
find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a -type f -exec md5sum {} + -o -type l -printf "symlink %p
" > debian/autoreconf.before
grep -q ^XDT_ configure.ac
autoreconf -f -i
configure.ac:145: warning: underquoted definition of SQ_ARITHMETIC_FPOS_T
configure.ac:145: run info Automake 'Extending aclocal'
[... snipped ...]
checking for stat64... yes
checking for struct stat64... no!
checking size of off_t... 8
checking size of off64_t... 0
checking size of fpos_t... 16
configure: configured for optional LFS, large file support
configure: enabled optional PVM (Parallel Virtual Machine) support
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Testsuite/Makefile
config.status: creating squid.h
config.status: creating libsquid.pc
config.status: creating squidconf.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
# avoid duplicated definition of PACKAGE_NAME (basically conflicting with hmmer2 when used together)
sed -i -e '/^#define PACKAGE_NAME /i #ifndef PACKAGE_NAME' \
-e '/^#define PACKAGE_NAME /a #endif' \
-e '/^#define PACKAGE_VERSION /i #ifndef PACKAGE_VERSION' \
-e '/^#define PACKAGE_VERSION /a #endif' \
-e '/^#define _LARGEFILE_SOURCE /i #ifndef _LARGEFILE_SOURCE' \
-e '/^#define _LARGEFILE_SOURCE /a #endif' \
-e '/^#define _LARGEFILE64_SOURCE /i #ifndef _LARGEFILE64_SOURCE' \
-e '/^#define _LARGEFILE64_SOURCE /a #endif' \
-e '/^#define VERSION /i #ifndef VERSION' \
-e '/^#define VERSION /a #endif' \
squidconf.h
make[1]: Leaving directory '/<<BUILDDIR>>/biosquid-1.9g+cvs20050121'
dh_auto_build -a
make -j1
make[1]: Entering directory '/<<BUILDDIR>>/biosquid-1.9g+cvs20050121'
make all-am
make[2]: Entering directory '/<<BUILDDIR>>/biosquid-1.9g+cvs20050121'
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/biosquid-1.9g+cvs20050121=. -fstack-protector-strong -Wformat -Werror=format-security -c -o afetch_main.o afetch_main.c
/bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/biosquid-1.9g+cvs20050121=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o afetch afetch_main.o -lsquid -lm
libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/biosquid-1.9g+cvs20050121=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o afetch afetch_main.o -lsquid -lm
/usr/bin/ld: cannot find -lsquid
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:790: afetch] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/biosquid-1.9g+cvs20050121'
make[1]: *** [Makefile:642: all] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/biosquid-1.9g+cvs20050121'
dh_auto_build: make -j1 returned exit code 2
make: *** [debian/rules:13: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/biosquid.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the Debian-med-packaging
mailing list