Bug#1043705: 0ad: Fails to build source after successful build
Lucas Nussbaum
lucas at debian.org
Sun Aug 13 14:17:53 BST 2023
Source: 0ad
Version: 0.0.26-4
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 0ad
> dpkg-buildpackage: info: source version 0.0.26-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Vincent Cheng <vcheng at debian.org>
> dpkg-source --before-build .
> debian/rules clean
> dh clean
> debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> build/workspaces/clean-workspaces.sh
> Cleaning bundled third-party dependencies...
> make[2]: Entering directory '/<<PKGBUILDDIR>>/build/premake/premake5/build/gmake2.bsd'
> Cleaning Premake5
> Cleaning lua-lib
> Cleaning luashim-lib
> Cleaning zlib-lib
> Cleaning zip-lib
> Cleaning mbedtls-lib
> Cleaning curl-lib
> Cleaning example
> Cleaning luasocket
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/premake/premake5/build/gmake2.bsd'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/build/premake/premake5/build/gmake2.macosx'
> Cleaning Premake5
> Cleaning lua-lib
> Cleaning luashim-lib
> Cleaning zlib-lib
> Cleaning zip-lib
> Cleaning mbedtls-lib
> Cleaning curl-lib
> Cleaning example
> Cleaning luasocket
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/premake/premake5/build/gmake2.macosx'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/build/premake/premake5/build/gmake2.unix'
> Cleaning Premake5
> Cleaning lua-lib
> Cleaning luashim-lib
> Cleaning zlib-lib
> Cleaning zip-lib
> Cleaning mbedtls-lib
> Cleaning curl-lib
> Cleaning example
> Cleaning luasocket
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/premake/premake5/build/gmake2.unix'
> Removing generated stub and test files...
> Cleaning build output...
>
> Done. Try running update-workspaces.sh again now.
> # Clean up some extra cruft not picked up by clean-workspaces.sh
> find binaries/system/ -type f ! -name readme.txt -delete
> rm -f libraries/fcollada/lib/*.a
> rm -f build/premake/.*.tmp
> rm -rf libraries/source/spidermonkey/lib
> rm -f libraries/source/cxxtest-4.4/python/cxxtest/*.pyc
> rm -f libraries/source/fcollada/lib/*
> rm -rf libraries/source/spidermonkey/include-unix-*
> rm -rf libraries/source/spidermonkey/mozjs-78.6.0
> rm -f libraries/source/nvtt/lib/*.so
> rm -f source/ps/tests/stub_impl_hack.cpp
> dh_auto_clean
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_clean
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building 0ad using existing ./0ad_0.0.26.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file source/test_root.cpp, use --include-removal to override
> dpkg-source: error: cannot represent change to libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/__init__.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add libraries/source/cxxtest-4.4/python/python3/cxxtest/__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 libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/__release__.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/__release__.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 libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/cxx_parser.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/cxx_parser.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 libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/cxxtest_fog.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/cxxtest_fog.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 libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/cxxtest_misc.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/cxxtest_misc.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 libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/cxxtest_parser.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/cxxtest_parser.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 libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/cxxtestgen.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add libraries/source/cxxtest-4.4/python/python3/cxxtest/__pycache__/cxxtestgen.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/0ad_0.0.26-4_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 Pkg-games-devel
mailing list