[Debian-med-packaging] Bug#1048106: htscodecs: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:20:47 BST 2023


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

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

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/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
> -------------------------------------------------------------------------------------------------------------------------
> 
> 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 .
>  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
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building htscodecs using existing ./htscodecs_1.5.1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to htscodecs/.libs/libhtscodecs.la:
> dpkg-source: error:   new version is symlink to ../libhtscodecs.la
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to htscodecs/.libs/libhtscodecs.so:
> dpkg-source: error:   new version is symlink to libhtscodecs.so.2.1.3
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to htscodecs/.libs/librANS_static32x16pr_avx2.la:
> dpkg-source: error:   new version is symlink to ../librANS_static32x16pr_avx2.la
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to htscodecs/.libs/librANS_static32x16pr_avx512.la:
> dpkg-source: error:   new version is symlink to ../librANS_static32x16pr_avx512.la
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to htscodecs/.libs/libhtscodecs.so.2:
> dpkg-source: error:   new version is symlink to libhtscodecs.so.2.1.3
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to htscodecs/.libs/librANS_static32x16pr_sse4.la:
> dpkg-source: error:   new version is symlink to ../librANS_static32x16pr_sse4.la
> dpkg-source: error:   old version is nonexistent
> dpkg-source: warning: ignoring deletion of file tests/tok3.test, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file tests/tokenise_name3_test.c, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file tests/tokenise_name3_fuzz.c, use --include-removal to override
> dpkg-source: warning: executable mode 0755 of 'config.status' will not be represented in diff
> dpkg-source: error: cannot represent change to htscodecs/.libs/arith_dynamic.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/arith_dynamic.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/fqzcomp_qual.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/fqzcomp_qual.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/htscodecs.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/htscodecs.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/libhtscodecs.a: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/libhtscodecs.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/libhtscodecs.so.2.1.3: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/libhtscodecs.so.2.1.3 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'htscodecs/.libs/libhtscodecs.so.2.1.3' will not be represented in diff
> dpkg-source: error: cannot represent change to htscodecs/.libs/librANS_static32x16pr_avx2.a: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/librANS_static32x16pr_avx2.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/librANS_static32x16pr_avx2_la-rANS_static32x16pr_avx2.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/librANS_static32x16pr_avx2_la-rANS_static32x16pr_avx2.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/librANS_static32x16pr_avx512.a: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/librANS_static32x16pr_avx512.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/librANS_static32x16pr_avx512_la-rANS_static32x16pr_avx512.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/librANS_static32x16pr_avx512_la-rANS_static32x16pr_avx512.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/librANS_static32x16pr_sse4.a: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/librANS_static32x16pr_sse4.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/librANS_static32x16pr_sse4_la-rANS_static32x16pr_sse4.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/librANS_static32x16pr_sse4_la-rANS_static32x16pr_sse4.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/pack.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/pack.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/rANS_static.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/rANS_static.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/rANS_static32x16pr.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/rANS_static32x16pr.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/rANS_static32x16pr_neon.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/rANS_static32x16pr_neon.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/rANS_static4x16pr.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/rANS_static4x16pr.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/rle.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/rle.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/tokenise_name3.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/tokenise_name3.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/.libs/utils.o: binary file contents changed
> dpkg-source: error: add htscodecs/.libs/utils.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/arith_dynamic.o: binary file contents changed
> dpkg-source: error: add htscodecs/arith_dynamic.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/fqzcomp_qual.o: binary file contents changed
> dpkg-source: error: add htscodecs/fqzcomp_qual.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/htscodecs.o: binary file contents changed
> dpkg-source: error: add htscodecs/htscodecs.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/librANS_static32x16pr_avx2_la-rANS_static32x16pr_avx2.o: binary file contents changed
> dpkg-source: error: add htscodecs/librANS_static32x16pr_avx2_la-rANS_static32x16pr_avx2.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/librANS_static32x16pr_avx512_la-rANS_static32x16pr_avx512.o: binary file contents changed
> dpkg-source: error: add htscodecs/librANS_static32x16pr_avx512_la-rANS_static32x16pr_avx512.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/librANS_static32x16pr_sse4_la-rANS_static32x16pr_sse4.o: binary file contents changed
> dpkg-source: error: add htscodecs/librANS_static32x16pr_sse4_la-rANS_static32x16pr_sse4.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/pack.o: binary file contents changed
> dpkg-source: error: add htscodecs/pack.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/rANS_static.o: binary file contents changed
> dpkg-source: error: add htscodecs/rANS_static.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/rANS_static32x16pr.o: binary file contents changed
> dpkg-source: error: add htscodecs/rANS_static32x16pr.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/rANS_static32x16pr_neon.o: binary file contents changed
> dpkg-source: error: add htscodecs/rANS_static32x16pr_neon.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/rANS_static4x16pr.o: binary file contents changed
> dpkg-source: error: add htscodecs/rANS_static4x16pr.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/rle.o: binary file contents changed
> dpkg-source: error: add htscodecs/rle.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/tokenise_name3.o: binary file contents changed
> dpkg-source: error: add htscodecs/tokenise_name3.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to htscodecs/utils.o: binary file contents changed
> dpkg-source: error: add htscodecs/utils.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'libtool' will not be represented in diff
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/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