Source: binwalk
Version: 2.3.4+dfsg1-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 /<> && runuser -u user42 -- dpkg-buildpackage --sanitize-env
> -us -uc -rfakeroot -S
> ---
>
> dpkg-buildpackage: info: source package binwalk
> dpkg-buildpackage: info: source version 2.3.4+dfsg1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Gianfranco Costamagna
>
> dpkg-source --before-build .
> debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<>'
> # Upstream setup.py clean does not accept options passed by
> # pybuild
> python3 setup.py clean
> running clean
> removing '/<>/build' (and everything under it)
> removing '/<>/dist' (and everything under it)
> make[1]: Leaving directory '/<>'
>dh_autoreconf_clean -O--buildsystem=pybuild
>dh_clean -O--buildsystem=pybuild
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building binwalk using existing
> ./binwalk_2.3.4+dfsg1.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: file
> binwalk-2.3.4+dfsg1/src/binwalk.egg-info/SOURCES.txt has no final newline
> (either original or modified version)
> dpkg-source: error: cannot represent change to
> src/binwalk/__pycache__/__init__.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add src/binwalk/__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
> src/binwalk/core/__pycache__/__init__.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add src/binwalk/core/__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
> src/binwalk/core/__pycache__/common.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add src/binwalk/core/__pycache__/common.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
> src/binwalk/core/__pycache__/compat.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add src/binwalk/core/__pycache__/compat.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
> src/binwalk/core/__pycache__/exceptions.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add
> src/binwalk/core/__pycache__/exceptions.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
> src/binwalk/core/__pycache__/idb.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add src/binwalk/core/__pycache__/idb.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
> src/binwalk/core/__pycache__/module.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add src/binwalk/core/__pycache__/module.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
> src/binwalk/core/__pycache__/plugin.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add src/binwalk/core/__pycache__/plugin.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
> src/binwalk/core/__pycache__/settings.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add src/binwalk/core/__pycache__/settings.cpython-311.pyc
> in debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: erro