[Debian-med-packaging] Bug#1049483: htscodecs: Fails to build binary packages again after successful build

Lucas Nussbaum lucas at debian.org
Wed Aug 16 08:42:49 BST 2023


Source: htscodecs
Version: 1.5.1-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: debian-qa at lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to do build a binary-only build (not source) after a
successful build (dpkg-buildpackage ; dpkg-buildpackage -b).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/DoubleBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -b
> -------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package htscodecs
> dpkg-buildpackage: info: source version 1.5.1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Étienne Mollier <emollier at debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
> find . -name "*.o" -o -name "*.lo" -delete
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
> libtoolize: putting auxiliary files in '.'.
> libtoolize: copying file './ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
> libtoolize: copying file 'm4/libtool.m4'
> libtoolize: copying file 'm4/ltoptions.m4'
> libtoolize: copying file 'm4/ltsugar.m4'
> libtoolize: copying file 'm4/ltversion.m4'
> libtoolize: copying file 'm4/lt~obsolete.m4'
> configure.ac:71: installing './compile'
> configure.ac:73: installing './config.guess'
> configure.ac:73: installing './config.sub'
> configure.ac:10: installing './install-sh'
> configure.ac:10: installing './missing'
> htscodecs/Makefile.am: installing './depcomp'
> parallel-tests: installing './test-driver'
>    dh_auto_configure
> 	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a race-free mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether the compiler supports GNU C... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to enable C11 features... none needed
> checking whether gcc understands -c and -o together... yes
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of gcc... none
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking how to print strings... printf
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 1572864
> checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
> checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
> checking for /usr/bin/ld option to reload object files... -r
> checking for file... file
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... ar
> checking for archiver @FILE support... @
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking for sysroot... no
> checking for a working dd... /bin/dd
> checking how to truncate binary pipes... /bin/dd bs=4096 count=1
> checking for mt... no
> checking if : is a manifest tool... no
> checking for stdio.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for strings.h... yes
> checking for sys/stat.h... yes
> checking for sys/types.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for grep that handles long lines and -e... (cached) /bin/grep
> checking for C compiler warning flags... -Wall
> checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
> checking for __builtin_prefetch... yes
> checking C compiler flags needed for ssse3... -mssse3
> checking C compiler flags needed for popcnt... -mpopcnt
> checking C compiler flags needed for sse4.1... -msse4.1
> checking C compiler flags needed for avx2... -mavx2
> checking C compiler flags needed for avx512f... -mavx512f
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking for fcntl.h... yes
> checking for limits.h... yes
> checking for unistd.h... (cached) yes
> checking for malloc.h... yes
> checking for zlib.h... no
> checking for function pthread_join... -lpthread
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating htscodecs/Makefile
> config.status: creating tests/Makefile
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
> config.status: executing libtool commands
>    dh_auto_build
> 	make -j8
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make  all-recursive
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Making all in htscodecs
> make[3]: Entering directory '/<<PKGBUILDDIR>>/htscodecs'
> make  all-am
> make[4]: Entering directory '/<<PKGBUILDDIR>>/htscodecs'
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pack.lo pack.c
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rle.lo rle.c
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fqzcomp_qual.lo fqzcomp_qual.c
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rANS_static.lo rANS_static.c
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rANS_static4x16pr.lo rANS_static4x16pr.c
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rANS_static32x16pr.lo rANS_static32x16pr.c
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rANS_static32x16pr_neon.lo rANS_static32x16pr_neon.c
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tokenise_name3.lo tokenise_name3.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static4x16pr.c  -fPIC -DPIC -o .libs/rANS_static4x16pr.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static.c  -fPIC -DPIC -o .libs/rANS_static.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rle.c  -fPIC -DPIC -o .libs/rle.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c fqzcomp_qual.c  -fPIC -DPIC -o .libs/fqzcomp_qual.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static32x16pr.c  -fPIC -DPIC -o .libs/rANS_static32x16pr.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static32x16pr_neon.c  -fPIC -DPIC -o .libs/rANS_static32x16pr_neon.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c pack.c  -fPIC -DPIC -o .libs/pack.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c tokenise_name3.c  -fPIC -DPIC -o .libs/tokenise_name3.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static32x16pr_neon.c -o rANS_static32x16pr_neon.o >/dev/null 2>&1
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o arith_dynamic.lo arith_dynamic.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rle.c -o rle.o >/dev/null 2>&1
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o htscodecs.lo htscodecs.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c arith_dynamic.c  -fPIC -DPIC -o .libs/arith_dynamic.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c pack.c -o pack.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c htscodecs.c  -fPIC -DPIC -o .libs/htscodecs.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c htscodecs.c -o htscodecs.o >/dev/null 2>&1
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o utils.lo utils.c
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -msse4.1 -mssse3 -mpopcnt -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o librANS_static32x16pr_sse4_la-rANS_static32x16pr_sse4.lo `test -f 'rANS_static32x16pr_sse4.c' || echo './'`rANS_static32x16pr_sse4.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c tokenise_name3.c -o tokenise_name3.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c utils.c  -fPIC -DPIC -o .libs/utils.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -msse4.1 -mssse3 -mpopcnt -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static32x16pr_sse4.c  -fPIC -DPIC -o .libs/librANS_static32x16pr_sse4_la-rANS_static32x16pr_sse4.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static.c -o rANS_static.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c utils.c -o utils.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static32x16pr.c -o rANS_static32x16pr.o >/dev/null 2>&1
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -mavx2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o librANS_static32x16pr_avx2_la-rANS_static32x16pr_avx2.lo `test -f 'rANS_static32x16pr_avx2.c' || echo './'`rANS_static32x16pr_avx2.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -mavx2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static32x16pr_avx2.c  -fPIC -DPIC -o .libs/librANS_static32x16pr_avx2_la-rANS_static32x16pr_avx2.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c arith_dynamic.c -o arith_dynamic.o >/dev/null 2>&1
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -mavx512f -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o librANS_static32x16pr_avx512_la-rANS_static32x16pr_avx512.lo `test -f 'rANS_static32x16pr_avx512.c' || echo './'`rANS_static32x16pr_avx512.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c fqzcomp_qual.c -o fqzcomp_qual.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -mavx512f -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static32x16pr_avx512.c  -fPIC -DPIC -o .libs/librANS_static32x16pr_avx512_la-rANS_static32x16pr_avx512.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static4x16pr.c -o rANS_static4x16pr.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -msse4.1 -mssse3 -mpopcnt -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static32x16pr_sse4.c -o librANS_static32x16pr_sse4_la-rANS_static32x16pr_sse4.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -mavx512f -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static32x16pr_avx512.c -o librANS_static32x16pr_avx512_la-rANS_static32x16pr_avx512.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -mavx2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rANS_static32x16pr_avx2.c -o librANS_static32x16pr_avx2_la-rANS_static32x16pr_avx2.o >/dev/null 2>&1
> /bin/bash ../libtool  --tag=CC   --mode=link gcc -msse4.1 -mssse3 -mpopcnt -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o librANS_static32x16pr_sse4.la  librANS_static32x16pr_sse4_la-rANS_static32x16pr_sse4.lo  -lpthread -lbz2 
> libtool: link: rm -fr  .libs/librANS_static32x16pr_sse4.a .libs/librANS_static32x16pr_sse4.la
> libtool: link: ar cr .libs/librANS_static32x16pr_sse4.a .libs/librANS_static32x16pr_sse4_la-rANS_static32x16pr_sse4.o 
> libtool: link: ranlib .libs/librANS_static32x16pr_sse4.a
> libtool: link: ( cd ".libs" && rm -f "librANS_static32x16pr_sse4.la" && ln -s "../librANS_static32x16pr_sse4.la" "librANS_static32x16pr_sse4.la" )
> /bin/bash ../libtool  --tag=CC   --mode=link gcc -mavx512f -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o librANS_static32x16pr_avx512.la  librANS_static32x16pr_avx512_la-rANS_static32x16pr_avx512.lo  -lpthread -lbz2 
> libtool: link: rm -fr  .libs/librANS_static32x16pr_avx512.a .libs/librANS_static32x16pr_avx512.la
> libtool: link: ar cr .libs/librANS_static32x16pr_avx512.a .libs/librANS_static32x16pr_avx512_la-rANS_static32x16pr_avx512.o 
> libtool: link: ranlib .libs/librANS_static32x16pr_avx512.a
> libtool: link: ( cd ".libs" && rm -f "librANS_static32x16pr_avx512.la" && ln -s "../librANS_static32x16pr_avx512.la" "librANS_static32x16pr_avx512.la" )
> /bin/bash ../libtool  --tag=CC   --mode=link gcc -mavx2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o librANS_static32x16pr_avx2.la  librANS_static32x16pr_avx2_la-rANS_static32x16pr_avx2.lo  -lpthread -lbz2 
> libtool: link: rm -fr  .libs/librANS_static32x16pr_avx2.a .libs/librANS_static32x16pr_avx2.la
> libtool: link: ar cr .libs/librANS_static32x16pr_avx2.a .libs/librANS_static32x16pr_avx2_la-rANS_static32x16pr_avx2.o 
> libtool: link: ranlib .libs/librANS_static32x16pr_avx2.a
> libtool: link: ( cd ".libs" && rm -f "librANS_static32x16pr_avx2.la" && ln -s "../librANS_static32x16pr_avx2.la" "librANS_static32x16pr_avx2.la" )
> /bin/bash ../libtool  --tag=CC   --mode=link gcc  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -version-info 3:3:1  -Wl,-z,relro -Wl,-z,now -o libhtscodecs.la -rpath /usr/lib/x86_64-linux-gnu pack.lo rle.lo fqzcomp_qual.lo rANS_static.lo rANS_static4x16pr.lo rANS_static32x16pr.lo rANS_static32x16pr_neon.lo tokenise_name3.lo arith_dynamic.lo htscodecs.lo utils.lo librANS_static32x16pr_sse4.la librANS_static32x16pr_avx2.la librANS_static32x16pr_avx512.la -lm -lpthread -lbz2 
> libtool: link: rm -fr  .libs/libhtscodecs.a .libs/libhtscodecs.la .libs/libhtscodecs.lai .libs/libhtscodecs.so .libs/libhtscodecs.so.2 .libs/libhtscodecs.so.2.1.3
> libtool: link: gcc -shared  -fPIC -DPIC  .libs/pack.o .libs/rle.o .libs/fqzcomp_qual.o .libs/rANS_static.o .libs/rANS_static4x16pr.o .libs/rANS_static32x16pr.o .libs/rANS_static32x16pr_neon.o .libs/tokenise_name3.o .libs/arith_dynamic.o .libs/htscodecs.o .libs/utils.o  -Wl,--whole-archive ./.libs/librANS_static32x16pr_sse4.a ./.libs/librANS_static32x16pr_avx2.a ./.libs/librANS_static32x16pr_avx512.a -Wl,--no-whole-archive  -lm -lpthread -lbz2  -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now   -Wl,-soname -Wl,libhtscodecs.so.2 -o .libs/libhtscodecs.so.2.1.3
> libtool: link: (cd ".libs" && rm -f "libhtscodecs.so.2" && ln -s "libhtscodecs.so.2.1.3" "libhtscodecs.so.2")
> libtool: link: (cd ".libs" && rm -f "libhtscodecs.so" && ln -s "libhtscodecs.so.2.1.3" "libhtscodecs.so")
> libtool: link: (cd .libs/libhtscodecs.lax/librANS_static32x16pr_sse4.a && ar x "/<<PKGBUILDDIR>>/htscodecs/./.libs/librANS_static32x16pr_sse4.a")
> libtool: link: (cd .libs/libhtscodecs.lax/librANS_static32x16pr_avx2.a && ar x "/<<PKGBUILDDIR>>/htscodecs/./.libs/librANS_static32x16pr_avx2.a")
> libtool: link: (cd .libs/libhtscodecs.lax/librANS_static32x16pr_avx512.a && ar x "/<<PKGBUILDDIR>>/htscodecs/./.libs/librANS_static32x16pr_avx512.a")
> libtool: link: ar cr .libs/libhtscodecs.a  pack.o rle.o fqzcomp_qual.o rANS_static.o rANS_static4x16pr.o rANS_static32x16pr.o rANS_static32x16pr_neon.o tokenise_name3.o arith_dynamic.o htscodecs.o utils.o  .libs/libhtscodecs.lax/librANS_static32x16pr_sse4.a/librANS_static32x16pr_sse4_la-rANS_static32x16pr_sse4.o  .libs/libhtscodecs.lax/librANS_static32x16pr_avx2.a/librANS_static32x16pr_avx2_la-rANS_static32x16pr_avx2.o  .libs/libhtscodecs.lax/librANS_static32x16pr_avx512.a/librANS_static32x16pr_avx512_la-rANS_static32x16pr_avx512.o 
> libtool: link: ranlib .libs/libhtscodecs.a
> libtool: link: rm -fr .libs/libhtscodecs.lax
> libtool: link: ( cd ".libs" && rm -f "libhtscodecs.la" && ln -s "../libhtscodecs.la" "libhtscodecs.la" )
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/htscodecs'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/htscodecs'
> Making all in .
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> Making all in tests
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
> gcc -DHAVE_CONFIG_H -I. -I..  -I.. -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rANS_static4x16pr_test.o rANS_static4x16pr_test.c
> make[3]: *** No rule to make target 'tokenise_name3_test.c', needed by 'tokenise_name3_test.o'.  Stop.
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> make[2]: *** [Makefile:513: all-recursive] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [Makefile:421: all] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j8 returned exit code 2
> make: *** [debian/rules:11: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -b' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/16/htscodecs_1.5.1-1_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Debian-med-packaging mailing list