Source: bmagic
Version: 6.3.0-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
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 bmagic
> dpkg-buildpackage: info: source version 6.3.0-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Roberto C. Sanchez 
> <[email protected]>
>  dpkg-source --before-build .
> dpkg-source: info: using options from bmagic-6.3.0/debian/source/options: 
> --diff-ignore --tar-ignore
>  fakeroot debian/rules clean
> dh clean -Scmake
>       rm -f debian/bmagic.debhelper.log
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf /<<PKGBUILDDIR>>/debian/generated-doxygen
> dh_auto_clean
>       rm -rf obj-x86_64-linux-gnu
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean -O-Scmake
>       rm -f debian/debhelper-build-stamp
>       cp -an --reflink=auto 
> debian/.debhelper/bucket/files/b6432e2766ed3a68f05abcf2705ddd7e56f50d0f19f6bed77811371e0aac6a46
>  
> debian/.debhelper/bucket/files/b6432e2766ed3a68f05abcf2705ddd7e56f50d0f19f6bed77811371e0aac6a46.tmp
>       mv 
> debian/.debhelper/bucket/files/b6432e2766ed3a68f05abcf2705ddd7e56f50d0f19f6bed77811371e0aac6a46.tmp
>  config.guess
>       rm -f debian/.debhelper/bucket/index
>       rm -rf debian/.debhelper/
>       rm -f -- debian/bmagic.substvars debian/files
>       rm -fr -- debian/bmagic/ debian/tmp/
>       find .  \( \( \
>               \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
> .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
> -type f -a \
>               \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
>                -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
>                -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
>                -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
>               \) -exec rm -f {} + \) -o \
>               \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) 
> \)
>  dpkg-source -b .
> dpkg-source: info: using options from bmagic-6.3.0/debian/source/options: 
> --diff-ignore --tar-ignore
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building bmagic using existing ./bmagic_6.3.0.orig.tar.gz
> dpkg-source: error: cannot represent change to build/bin/bminv: binary file 
> contents changed
> dpkg-source: error: add build/bin/bminv in debian/source/include-binaries if 
> you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bminv' will not be 
> represented in diff
> dpkg-source: error: cannot represent change to build/bin/bmlnkutil: binary 
> file contents changed
> dpkg-source: error: add build/bin/bmlnkutil in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bmlnkutil' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bmperf: binary file 
> contents changed
> dpkg-source: error: add build/bin/bmperf in debian/source/include-binaries if 
> you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bmperf' will not be 
> represented in diff
> dpkg-source: error: cannot represent change to build/bin/bmperf64: binary 
> file contents changed
> dpkg-source: error: add build/bin/bmperf64 in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bmperf64' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bmsvutil: binary 
> file contents changed
> dpkg-source: error: add build/bin/bmsvutil in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bmsvutil' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bmtest: binary file 
> contents changed
> dpkg-source: error: add build/bin/bmtest in debian/source/include-binaries if 
> you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bmtest' will not be 
> represented in diff
> dpkg-source: error: cannot represent change to build/bin/bmtest64: binary 
> file contents changed
> dpkg-source: error: add build/bin/bmtest64 in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bmtest64' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample01: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample01 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample01' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample01_64: 
> binary file contents changed
> dpkg-source: error: add build/bin/bvsample01_64 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample01_64' will 
> not be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample02: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample02 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample02' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample03: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample03 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample03' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample04: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample04 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample04' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample05: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample05 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample05' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample06: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample06 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample06' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample07: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample07 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample07' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample08: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample08 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample08' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample09: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample09 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample09' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample10: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample10 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample10' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample11: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample11 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample11' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample12: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample12 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample12' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample14: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample14 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample14' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample15: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample15 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample15' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample16: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample16 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample16' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample17: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample17 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample17' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample18: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample18 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample18' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample19: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample19 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample19' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample20: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample20 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample20' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample21: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample21 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample21' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample22: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample22 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample22' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsample23: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsample23 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsample23' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/bvsetalgebra: binary 
> file contents changed
> dpkg-source: error: add build/bin/bvsetalgebra in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/bvsetalgebra' will 
> not be represented in diff
> dpkg-source: error: cannot represent change to build/bin/rscsample01: binary 
> file contents changed
> dpkg-source: error: add build/bin/rscsample01 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/rscsample01' will 
> not be represented in diff
> dpkg-source: error: cannot represent change to build/bin/rscsample02: binary 
> file contents changed
> dpkg-source: error: add build/bin/rscsample02 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/rscsample02' will 
> not be represented in diff
> dpkg-source: error: cannot represent change to build/bin/rscsample03: binary 
> file contents changed
> dpkg-source: error: add build/bin/rscsample03 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/rscsample03' will 
> not be represented in diff
> dpkg-source: error: cannot represent change to build/bin/strsvsample01: 
> binary file contents changed
> dpkg-source: error: add build/bin/strsvsample01 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/strsvsample01' will 
> not be represented in diff
> dpkg-source: error: cannot represent change to build/bin/strsvsample02: 
> binary file contents changed
> dpkg-source: error: add build/bin/strsvsample02 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/strsvsample02' will 
> not be represented in diff
> dpkg-source: error: cannot represent change to build/bin/strsvsample03: 
> binary file contents changed
> dpkg-source: error: add build/bin/strsvsample03 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/strsvsample03' will 
> not be represented in diff
> dpkg-source: error: cannot represent change to build/bin/strsvsample04: 
> binary file contents changed
> dpkg-source: error: add build/bin/strsvsample04 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/strsvsample04' will 
> not be represented in diff
> dpkg-source: error: cannot represent change to build/bin/strsvsample05: 
> binary file contents changed
> dpkg-source: error: add build/bin/strsvsample05 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/strsvsample05' will 
> not be represented in diff
> dpkg-source: error: cannot represent change to build/bin/svsample01: binary 
> file contents changed
> dpkg-source: error: add build/bin/svsample01 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/svsample01' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/svsample02: binary 
> file contents changed
> dpkg-source: error: add build/bin/svsample02 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/svsample02' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/svsample03: binary 
> file contents changed
> dpkg-source: error: add build/bin/svsample03 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/svsample03' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/svsample04: binary 
> file contents changed
> dpkg-source: error: add build/bin/svsample04 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/svsample04' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/svsample05: binary 
> file contents changed
> dpkg-source: error: add build/bin/svsample05 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/svsample05' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/svsample06: binary 
> file contents changed
> dpkg-source: error: add build/bin/svsample06 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/svsample06' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/svsample07: binary 
> file contents changed
> dpkg-source: error: add build/bin/svsample07 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/svsample07' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/svsample08: binary 
> file contents changed
> dpkg-source: error: add build/bin/svsample08 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/svsample08' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/svsample09: binary 
> file contents changed
> dpkg-source: error: add build/bin/svsample09 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/svsample09' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/xsample01: binary 
> file contents changed
> dpkg-source: error: add build/bin/xsample01 in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/xsample01' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/xsample02: binary 
> file contents changed
> dpkg-source: error: add build/bin/xsample02 in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/xsample02' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/xsample03: binary 
> file contents changed
> dpkg-source: error: add build/bin/xsample03 in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/xsample03' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/xsample04: binary 
> file contents changed
> dpkg-source: error: add build/bin/xsample04 in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/xsample04' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/xsample04a: binary 
> file contents changed
> dpkg-source: error: add build/bin/xsample04a in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/xsample04a' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/xsample05: binary 
> file contents changed
> dpkg-source: error: add build/bin/xsample05 in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/xsample05' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/xsample06: binary 
> file contents changed
> dpkg-source: error: add build/bin/xsample06 in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/xsample06' will not 
> be represented in diff
> dpkg-source: error: cannot represent change to build/bin/xsample08: binary 
> file contents changed
> dpkg-source: error: add build/bin/xsample08 in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'build/bin/xsample08' 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/bmagic_6.3.0-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.

Reply via email to