Source: heat-cfntools
Version: 1.4.2-3
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 heat-cfntools
> dpkg-buildpackage: info: source version 1.4.2-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Thomas Goirand <[email protected]>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> make: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> dh clean --with python3
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> rm -rf docs/build
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
> dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in 
> use)
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building heat-cfntools using existing 
> ./heat-cfntools_1.4.2.orig.tar.xz
> dpkg-source: warning: newly created empty file 
> 'build/lib/heat_cfntools/__init__.py' will not be represented in diff
> dpkg-source: warning: newly created empty file 
> 'build/lib/heat_cfntools/cfntools/__init__.py' will not be represented in diff
> dpkg-source: warning: newly created empty file 
> 'build/lib/heat_cfntools/tests/__init__.py' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 
> 'build/scripts-3.11/cfn-create-aws-symlinks' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 
> 'build/scripts-3.11/cfn-get-metadata' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'build/scripts-3.11/cfn-hup' 
> will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'build/scripts-3.11/cfn-init' 
> will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 
> 'build/scripts-3.11/cfn-push-stats' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'build/scripts-3.11/cfn-signal' 
> will not be represented in diff
> dpkg-source: error: cannot represent change to 
> doc/build/doctrees/environment.pickle: binary file contents changed
> dpkg-source: error: add doc/build/doctrees/environment.pickle in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> doc/build/doctrees/man/cfn-create-aws-symlinks.doctree: binary file contents 
> changed
> dpkg-source: error: add 
> doc/build/doctrees/man/cfn-create-aws-symlinks.doctree in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> doc/build/doctrees/man/cfn-get-metadata.doctree: binary file contents changed
> dpkg-source: error: add doc/build/doctrees/man/cfn-get-metadata.doctree in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> doc/build/doctrees/man/cfn-hup.doctree: binary file contents changed
> dpkg-source: error: add doc/build/doctrees/man/cfn-hup.doctree in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> doc/build/doctrees/man/cfn-init.doctree: binary file contents changed
> dpkg-source: error: add doc/build/doctrees/man/cfn-init.doctree in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> doc/build/doctrees/man/cfn-push-stats.doctree: binary file contents changed
> dpkg-source: error: add doc/build/doctrees/man/cfn-push-stats.doctree in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> doc/build/doctrees/man/cfn-signal.doctree: binary file contents changed
> dpkg-source: error: add doc/build/doctrees/man/cfn-signal.doctree in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> doc/build/doctrees/man/index.doctree: binary file contents changed
> dpkg-source: error: add doc/build/doctrees/man/index.doctree in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: file 
> heat-cfntools-1.4.2/heat_cfntools.egg-info/SOURCES.txt has no final newline 
> (either original or modified version)
> dpkg-source: error: cannot represent change to 
> heat_cfntools/__pycache__/__init__.cpython-311.pyc: binary file contents 
> changed
> dpkg-source: error: add heat_cfntools/__pycache__/__init__.cpython-311.pyc in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> heat_cfntools/cfntools/__pycache__/__init__.cpython-311.pyc: binary file 
> contents changed
> dpkg-source: error: add 
> heat_cfntools/cfntools/__pycache__/__init__.cpython-311.pyc in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> heat_cfntools/cfntools/__pycache__/cfn_helper.cpython-311.pyc: binary file 
> contents changed
> dpkg-source: error: add 
> heat_cfntools/cfntools/__pycache__/cfn_helper.cpython-311.pyc in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> heat_cfntools/tests/__pycache__/__init__.cpython-311.pyc: binary file 
> contents changed
> dpkg-source: error: add 
> heat_cfntools/tests/__pycache__/__init__.cpython-311.pyc in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> heat_cfntools/tests/__pycache__/test_cfn_helper.cpython-311.pyc: binary file 
> contents changed
> dpkg-source: error: add 
> heat_cfntools/tests/__pycache__/test_cfn_helper.cpython-311.pyc in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> heat_cfntools/tests/__pycache__/test_cfn_hup.cpython-311.pyc: binary file 
> contents changed
> dpkg-source: error: add 
> heat_cfntools/tests/__pycache__/test_cfn_hup.cpython-311.pyc in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> 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/heat-cfntools_1.4.2-3_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