Source: python-versioneer
Version: 0.28-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 python-versioneer
> dpkg-buildpackage: info: source version 0.28-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Bastian Germann <[email protected]>
>  dpkg-source --before-build .
> dpkg-source: info: using options from 
> python-versioneer-0.28/debian/source/options: 
> --extend-diff-ignore=^[^/]*[.]egg-info/
>  fakeroot debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
>       pybuild --clean -i python{version} -p 3.11
>       rm -rf .pybuild/
>       find . -name \*.pyc -exec rm {} \;
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>       rm -f debian/debhelper-build-stamp
>       rm -rf debian/.debhelper/
>       rm -f -- debian/python3-versioneer.substvars 
> debian/python3-versioneer.postinst.debhelper 
> debian/python3-versioneer.prerm.debhelper debian/files
>       rm -fr -- debian/python3-versioneer/ 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 
> python-versioneer-0.28/debian/source/options: 
> --extend-diff-ignore=^[^/]*[.]egg-info/
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building python-versioneer using existing 
> ./python-versioneer_0.28.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to .tox/py311/bin/python:
> dpkg-source: error:   new version is symlink to /usr/bin/python3
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to .tox/py311/bin/python3:
> dpkg-source: error:   new version is symlink to python
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to .tox/py311/bin/python3.11:
> dpkg-source: error:   new version is symlink to python
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to .tox/.pkg_external/bin/python:
> dpkg-source: error:   new version is symlink to /usr/bin/python3
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to .tox/.pkg_external/bin/python3:
> dpkg-source: error:   new version is symlink to python
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> .tox/.pkg_external/bin/python3.11:
> dpkg-source: error:   new version is symlink to python
> dpkg-source: error:   old version is nonexistent
> dpkg-source: warning: file 
> python-versioneer-0.28/.tox/.pkg_external/.tox-info.json has no final newline 
> (either original or modified version)
> dpkg-source: warning: executable mode 0755 of '.tox/.pkg_external/bin/pip' 
> will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 
> '.tox/.pkg_external/bin/pip-3.11' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of '.tox/.pkg_external/bin/pip3' 
> will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 
> '.tox/.pkg_external/bin/pip3.11' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of '.tox/.pkg_external/bin/wheel' 
> will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 
> '.tox/.pkg_external/bin/wheel-3.11' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of '.tox/.pkg_external/bin/wheel3' 
> will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 
> '.tox/.pkg_external/bin/wheel3.11' will not be represented in diff
> dpkg-source: warning: newly created empty file '.tox/.pkg_external/file.lock' 
> will not be represented in diff
> dpkg-source: warning: file 
> python-versioneer-0.28/.tox/.pkg_external/lib/python3.11/site-packages/_virtualenv.pth
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> python-versioneer-0.28/.tox/.pkg_external/lib/python3.11/site-packages/pip-23.2.dist-info/RECORD
>  has no final newline (either original or modified version)
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip-23.2.virtualenv' will 
> not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_internal/operations/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_internal/operations/build/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_internal/resolution/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_internal/resolution/legacy/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_internal/utils/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_vendor/chardet/cli/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_vendor/chardet/metadata/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_vendor/resolvelib/compat/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_vendor/urllib3/contrib/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_vendor/urllib3/packages/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pkg_resources/_vendor/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/pkg_resources/_vendor/jaraco/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: file 
> python-versioneer-0.28/.tox/.pkg_external/lib/python3.11/site-packages/setuptools-68.0.0.dist-info/RECORD
>  has no final newline (either original or modified version)
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/setuptools-68.0.0.virtualenv'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/setuptools/_vendor/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/setuptools/_vendor/jaraco/__init__.py'
>  will not be represented in diff
> dpkg-source: error: cannot represent change to 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/cli-32.exe: binary 
> file contents changed
> dpkg-source: error: add 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/cli-32.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/cli-64.exe: binary 
> file contents changed
> dpkg-source: error: add 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/cli-64.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/cli-arm64.exe: 
> binary file contents changed
> dpkg-source: error: add 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/cli-arm64.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/cli.exe: binary 
> file contents changed
> dpkg-source: error: add 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/cli.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: file 
> python-versioneer-0.28/.tox/.pkg_external/lib/python3.11/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py
>  has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/gui-32.exe: binary 
> file contents changed
> dpkg-source: error: add 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/gui-32.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/gui-64.exe: binary 
> file contents changed
> dpkg-source: error: add 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/gui-64.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/gui-arm64.exe: 
> binary file contents changed
> dpkg-source: error: add 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/gui-arm64.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/gui.exe: binary 
> file contents changed
> dpkg-source: error: add 
> .tox/.pkg_external/lib/python3.11/site-packages/setuptools/gui.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: file 
> python-versioneer-0.28/.tox/.pkg_external/lib/python3.11/site-packages/wheel-0.41.0.dist-info/RECORD
>  has no final newline (either original or modified version)
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/wheel-0.41.0.virtualenv' 
> will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/wheel/vendored/__init__.py' 
> will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external/lib/python3.11/site-packages/wheel/vendored/packaging/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/.pkg_external_sdist_meta/file.lock' will not be represented in diff
> dpkg-source: warning: file python-versioneer-0.28/.tox/py311/.tox-info.json 
> has no final newline (either original or modified version)
> dpkg-source: warning: executable mode 0755 of '.tox/py311/bin/pip' will not 
> be represented in diff
> dpkg-source: warning: executable mode 0755 of '.tox/py311/bin/pip-3.11' will 
> not be represented in diff
> dpkg-source: warning: executable mode 0755 of '.tox/py311/bin/pip3' will not 
> be represented in diff
> dpkg-source: warning: executable mode 0755 of '.tox/py311/bin/pip3.11' will 
> not be represented in diff
> dpkg-source: warning: executable mode 0755 of '.tox/py311/bin/versioneer' 
> will not be represented in diff
> dpkg-source: warning: executable mode 0755 of '.tox/py311/bin/wheel' will not 
> be represented in diff
> dpkg-source: warning: executable mode 0755 of '.tox/py311/bin/wheel-3.11' 
> will not be represented in diff
> dpkg-source: warning: executable mode 0755 of '.tox/py311/bin/wheel3' will 
> not be represented in diff
> dpkg-source: warning: executable mode 0755 of '.tox/py311/bin/wheel3.11' will 
> not be represented in diff
> dpkg-source: warning: file 
> python-versioneer-0.28/.tox/py311/lib/python3.11/site-packages/_virtualenv.pth
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> python-versioneer-0.28/.tox/py311/lib/python3.11/site-packages/pip-23.2.dist-info/RECORD
>  has no final newline (either original or modified version)
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip-23.2.virtualenv' will not be 
> represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_internal/operations/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_internal/operations/build/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_internal/resolution/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_internal/resolution/legacy/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_internal/utils/__init__.py' 
> will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_vendor/chardet/cli/__init__.py' 
> will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_vendor/chardet/metadata/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_vendor/resolvelib/compat/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_vendor/urllib3/contrib/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_vendor/urllib3/packages/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pkg_resources/_vendor/__init__.py' 
> will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/pkg_resources/_vendor/jaraco/__init__.py'
>  will not be represented in diff
> dpkg-source: warning: file 
> python-versioneer-0.28/.tox/py311/lib/python3.11/site-packages/setuptools-68.0.0.dist-info/RECORD
>  has no final newline (either original or modified version)
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/setuptools-68.0.0.virtualenv' will 
> not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/setuptools/_vendor/__init__.py' will 
> not be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/setuptools/_vendor/jaraco/__init__.py'
>  will not be represented in diff
> dpkg-source: error: cannot represent change to 
> .tox/py311/lib/python3.11/site-packages/setuptools/cli-32.exe: binary file 
> contents changed
> dpkg-source: error: add 
> .tox/py311/lib/python3.11/site-packages/setuptools/cli-32.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> .tox/py311/lib/python3.11/site-packages/setuptools/cli-64.exe: binary file 
> contents changed
> dpkg-source: error: add 
> .tox/py311/lib/python3.11/site-packages/setuptools/cli-64.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> .tox/py311/lib/python3.11/site-packages/setuptools/cli-arm64.exe: binary file 
> contents changed
> dpkg-source: error: add 
> .tox/py311/lib/python3.11/site-packages/setuptools/cli-arm64.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> .tox/py311/lib/python3.11/site-packages/setuptools/cli.exe: binary file 
> contents changed
> dpkg-source: error: add 
> .tox/py311/lib/python3.11/site-packages/setuptools/cli.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: file 
> python-versioneer-0.28/.tox/py311/lib/python3.11/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py
>  has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to 
> .tox/py311/lib/python3.11/site-packages/setuptools/gui-32.exe: binary file 
> contents changed
> dpkg-source: error: add 
> .tox/py311/lib/python3.11/site-packages/setuptools/gui-32.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> .tox/py311/lib/python3.11/site-packages/setuptools/gui-64.exe: binary file 
> contents changed
> dpkg-source: error: add 
> .tox/py311/lib/python3.11/site-packages/setuptools/gui-64.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> .tox/py311/lib/python3.11/site-packages/setuptools/gui-arm64.exe: binary file 
> contents changed
> dpkg-source: error: add 
> .tox/py311/lib/python3.11/site-packages/setuptools/gui-arm64.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> .tox/py311/lib/python3.11/site-packages/setuptools/gui.exe: binary file 
> contents changed
> dpkg-source: error: add 
> .tox/py311/lib/python3.11/site-packages/setuptools/gui.exe in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/versioneer-0.28.dist-info/REQUESTED' 
> will not be represented in diff
> dpkg-source: warning: file 
> python-versioneer-0.28/.tox/py311/lib/python3.11/site-packages/versioneer-0.28.dist-info/direct_url.json
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> python-versioneer-0.28/.tox/py311/lib/python3.11/site-packages/wheel-0.41.0.dist-info/RECORD
>  has no final newline (either original or modified version)
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/wheel-0.41.0.virtualenv' will not be 
> represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/wheel/vendored/__init__.py' will not 
> be represented in diff
> dpkg-source: warning: newly created empty file 
> '.tox/py311/lib/python3.11/site-packages/wheel/vendored/packaging/__init__.py'
>  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/python-versioneer_0.28-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