[Debian-med-packaging] Bug#1048396: last-align: Fails to build source after successful build

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


Source: last-align
Version: 1460-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 last-align
> dpkg-buildpackage: info: source version 1460-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Charles Plessy <plessy at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh  clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> for SIMD in avx2 avx sse4.1 ssse3 sse3 sse2 ; do \
> 	dh_auto_clean -- SFX=-${SIMD} ; done
> 	make -j8 clean SFX=-avx2
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -f ../bin/lastdb-avx2 ../bin/lastal-avx2 ../bin/last-split-avx2 ../bin/lastdb5-avx2 ../bin/lastal5-avx2 ../bin/last-split5-avx2 ../bin/last-merge-batches-avx2 ../bin/last-pair-probs-avx2 ../bin/lastdb8-avx2 ../bin/lastal8-avx2 ../bin/last-split8-avx2 *.o* */*.o*
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> 	make -j8 clean SFX=-avx
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -f ../bin/lastdb-avx ../bin/lastal-avx ../bin/last-split-avx ../bin/lastdb5-avx ../bin/lastal5-avx ../bin/last-split5-avx ../bin/last-merge-batches-avx ../bin/last-pair-probs-avx ../bin/lastdb8-avx ../bin/lastal8-avx ../bin/last-split8-avx *.o* */*.o*
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> 	make -j8 clean SFX=-sse4.1
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -f ../bin/lastdb-sse4.1 ../bin/lastal-sse4.1 ../bin/last-split-sse4.1 ../bin/lastdb5-sse4.1 ../bin/lastal5-sse4.1 ../bin/last-split5-sse4.1 ../bin/last-merge-batches-sse4.1 ../bin/last-pair-probs-sse4.1 ../bin/lastdb8-sse4.1 ../bin/lastal8-sse4.1 ../bin/last-split8-sse4.1 *.o* */*.o*
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> 	make -j8 clean SFX=-ssse3
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -f ../bin/lastdb-ssse3 ../bin/lastal-ssse3 ../bin/last-split-ssse3 ../bin/lastdb5-ssse3 ../bin/lastal5-ssse3 ../bin/last-split5-ssse3 ../bin/last-merge-batches-ssse3 ../bin/last-pair-probs-ssse3 ../bin/lastdb8-ssse3 ../bin/lastal8-ssse3 ../bin/last-split8-ssse3 *.o* */*.o*
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> 	make -j8 clean SFX=-sse3
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -f ../bin/lastdb-sse3 ../bin/lastal-sse3 ../bin/last-split-sse3 ../bin/lastdb5-sse3 ../bin/lastal5-sse3 ../bin/last-split5-sse3 ../bin/last-merge-batches-sse3 ../bin/last-pair-probs-sse3 ../bin/lastdb8-sse3 ../bin/lastal8-sse3 ../bin/last-split8-sse3 *.o* */*.o*
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> 	make -j8 clean SFX=-sse2
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -f ../bin/lastdb-sse2 ../bin/lastal-sse2 ../bin/last-split-sse2 ../bin/lastdb5-sse2 ../bin/lastal5-sse2 ../bin/last-split5-sse2 ../bin/last-merge-batches-sse2 ../bin/last-pair-probs-sse2 ../bin/lastdb8-sse2 ../bin/lastal8-sse2 ../bin/last-split8-sse2 *.o* */*.o*
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> for i in last-merge-batches last-pair-probs last-split last-split5 lastal lastal5 lastdb lastdb5; \
> do \
>    for j in avx avx2 sse2 sse3 sse4.1 ssse3 sse3 sse2 sse ; \
>    do \
>       rm -f bin/$i-$j ; \
>    done ; \
> done
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building last-align using existing ./last-align_1460.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to bin/last-merge-batches-plain: binary file contents changed
> dpkg-source: error: add bin/last-merge-batches-plain in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'bin/last-merge-batches-plain' will not be represented in diff
> dpkg-source: error: cannot represent change to bin/last-pair-probs-plain: binary file contents changed
> dpkg-source: error: add bin/last-pair-probs-plain in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'bin/last-pair-probs-plain' will not be represented in diff
> dpkg-source: error: cannot represent change to bin/last-split-plain: binary file contents changed
> dpkg-source: error: add bin/last-split-plain in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'bin/last-split-plain' will not be represented in diff
> dpkg-source: error: cannot represent change to bin/last-split5-plain: binary file contents changed
> dpkg-source: error: add bin/last-split5-plain in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'bin/last-split5-plain' will not be represented in diff
> dpkg-source: error: cannot represent change to bin/lastal-plain: binary file contents changed
> dpkg-source: error: add bin/lastal-plain in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'bin/lastal-plain' will not be represented in diff
> dpkg-source: error: cannot represent change to bin/lastal5-plain: binary file contents changed
> dpkg-source: error: add bin/lastal5-plain in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'bin/lastal5-plain' will not be represented in diff
> dpkg-source: error: cannot represent change to bin/lastdb-plain: binary file contents changed
> dpkg-source: error: add bin/lastdb-plain in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'bin/lastdb-plain' will not be represented in diff
> dpkg-source: error: cannot represent change to bin/lastdb5-plain: binary file contents changed
> dpkg-source: error: add bin/lastdb5-plain in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'bin/lastdb5-plain' 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/last-align_1460-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