[Debian-med-packaging] Bug#906481: libfastahack: FTBFS in buster/sid (ld: cannot find -lfastahack)

Santiago Vila sanvila at debian.org
Fri Aug 17 20:21:39 BST 2018


Package: src:libfastahack
Version: 0.0+20160702-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --with autoreconf
   dh_update_autotools_config -a
   dh_autoreconf -a
aclocal: warning: couldn't open directory 'config': No such file or directory
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'.
libtoolize: copying file 'config/libtool.m4'
libtoolize: copying file 'config/ltoptions.m4'
libtoolize: copying file 'config/ltsugar.m4'
libtoolize: copying file 'config/ltversion.m4'
libtoolize: copying file 'config/lt~obsolete.m4'
libtoolize: Consider adding '-I config' to ACLOCAL_AMFLAGS in Makefile.am.

[... snipped ...]

checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
./configure: line 15957: AX_CXXFLAGS: command not found
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libfastahack.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
   dh_auto_build -a
	make -j1
make[1]: Entering directory '/<<BUILDDIR>>/libfastahack-0.0+20160702'
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /<<BUILDDIR>>/libfastahack-0.0+20160702/config/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-am
make[2]: Entering directory '/<<BUILDDIR>>/libfastahack-0.0+20160702'
g++ -DHAVE_CONFIG_H -I.   -I. -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/libfastahack-0.0+20160702=. -fstack-protector-strong -Wformat -Werror=format-security -c -o FastaHack.o FastaHack.cpp
/bin/bash ./libtool  --tag=CXX   --mode=link g++  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/libfastahack-0.0+20160702=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o fastahack FastaHack.o -lfastahack -ldisorder 
libtool: link: g++ -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/libfastahack-0.0+20160702=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o fastahack FastaHack.o  -lfastahack -ldisorder
/usr/bin/ld: cannot find -lfastahack
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:530: fastahack] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/libfastahack-0.0+20160702'
make[1]: *** [Makefile:386: all] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/libfastahack-0.0+20160702'
dh_auto_build: make -j1 returned exit code 2
make: *** [debian/rules:11: 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/libfastahack.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