[Blend-tinker-devel] Bug#1048030: rust-retry: Fails to build source after successful build
Lucas Nussbaum
lucas at debian.org
Sun Aug 13 20:21:25 BST 2023
Source: rust-retry
Version: 2.0.0-3
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 rust-retry
> dpkg-buildpackage: info: source version 2.0.0-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jonas Smedegaard <dr at jones.dk>
> dpkg-source --before-build .
> debian/rules clean
> dh clean --buildsystem cargo
> dh_auto_clean -O--buildsystem=cargo
> /<<PKGBUILDDIR>>/debian/dh-cargo/bin/cargo clean
> debian cargo wrapper: options, profiles, parallel: ['parallel=8'] [] ['-j8']
> debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
> debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose', '--release'],) {'check': True}
> Removing /<<PKGBUILDDIR>>/target/release
> dh_autoreconf_clean -O--buildsystem=cargo
> dh_clean -O--buildsystem=cargo
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building rust-retry using existing ./rust-retry_2.0.0.orig.tar.gz
> dpkg-source: warning: file rust-retry-2.0.0/target/.rustc_info.json has no final newline (either original or modified version)
> dpkg-source: warning: newly created empty file 'target/x86_64-unknown-linux-gnu/release/.cargo-lock' will not be represented in diff
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/.fingerprint/cfg-if-ba4f5506983dc320/dep-lib-cfg-if: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/.fingerprint/cfg-if-ba4f5506983dc320/dep-lib-cfg-if in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/cfg-if-ba4f5506983dc320/invoked.timestamp has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/cfg-if-ba4f5506983dc320/lib-cfg-if has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/cfg-if-ba4f5506983dc320/lib-cfg-if.json has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/.fingerprint/getrandom-7399dbfffe144c13/dep-lib-getrandom: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/.fingerprint/getrandom-7399dbfffe144c13/dep-lib-getrandom in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/getrandom-7399dbfffe144c13/invoked.timestamp has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/getrandom-7399dbfffe144c13/lib-getrandom has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/getrandom-7399dbfffe144c13/lib-getrandom.json has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/.fingerprint/libc-9dc960953d9b9776/dep-lib-libc: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/.fingerprint/libc-9dc960953d9b9776/dep-lib-libc in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/libc-9dc960953d9b9776/invoked.timestamp has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/libc-9dc960953d9b9776/lib-libc has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/libc-9dc960953d9b9776/lib-libc.json has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/libc-aa3d50daecb622c6/run-build-script-build-script-build has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/libc-aa3d50daecb622c6/run-build-script-build-script-build.json has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/.fingerprint/ppv-lite86-afaa2cc0dfe5d642/dep-lib-ppv-lite86: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/.fingerprint/ppv-lite86-afaa2cc0dfe5d642/dep-lib-ppv-lite86 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/ppv-lite86-afaa2cc0dfe5d642/invoked.timestamp has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/ppv-lite86-afaa2cc0dfe5d642/lib-ppv-lite86 has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/ppv-lite86-afaa2cc0dfe5d642/lib-ppv-lite86.json has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/.fingerprint/rand-db231a92b78182b1/dep-lib-rand: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/.fingerprint/rand-db231a92b78182b1/dep-lib-rand in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/rand-db231a92b78182b1/invoked.timestamp has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/rand-db231a92b78182b1/lib-rand has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/rand-db231a92b78182b1/lib-rand.json has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/.fingerprint/rand_chacha-f272ee6202ab4e95/dep-lib-rand_chacha: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/.fingerprint/rand_chacha-f272ee6202ab4e95/dep-lib-rand_chacha in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/rand_chacha-f272ee6202ab4e95/invoked.timestamp has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/rand_chacha-f272ee6202ab4e95/lib-rand_chacha has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/rand_chacha-f272ee6202ab4e95/lib-rand_chacha.json has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/.fingerprint/rand_core-8dbe70a8d6791b17/dep-lib-rand_core: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/.fingerprint/rand_core-8dbe70a8d6791b17/dep-lib-rand_core in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/rand_core-8dbe70a8d6791b17/invoked.timestamp has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/rand_core-8dbe70a8d6791b17/lib-rand_core has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/rand_core-8dbe70a8d6791b17/lib-rand_core.json has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/.fingerprint/retry-3ad97b42532f25c4/dep-lib-retry: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/.fingerprint/retry-3ad97b42532f25c4/dep-lib-retry in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/retry-3ad97b42532f25c4/invoked.timestamp has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/retry-3ad97b42532f25c4/lib-retry has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/retry-3ad97b42532f25c4/lib-retry.json has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/.fingerprint/retry-44e12d56deb8dda5/dep-test-lib-retry: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/.fingerprint/retry-44e12d56deb8dda5/dep-test-lib-retry in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/retry-44e12d56deb8dda5/invoked.timestamp has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/retry-44e12d56deb8dda5/test-lib-retry has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/retry-44e12d56deb8dda5/test-lib-retry.json has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/build/libc-aa3d50daecb622c6/invoked.timestamp has no final newline (either original or modified version)
> dpkg-source: warning: file rust-retry-2.0.0/target/x86_64-unknown-linux-gnu/release/build/libc-aa3d50daecb622c6/root-output has no final newline (either original or modified version)
> dpkg-source: warning: newly created empty file 'target/x86_64-unknown-linux-gnu/release/build/libc-aa3d50daecb622c6/stderr' will not be represented in diff
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/libcfg_if-ba4f5506983dc320.rlib: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/libcfg_if-ba4f5506983dc320.rlib in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/libcfg_if-ba4f5506983dc320.rmeta: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/libcfg_if-ba4f5506983dc320.rmeta in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/libgetrandom-7399dbfffe144c13.rlib: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/libgetrandom-7399dbfffe144c13.rlib in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/libgetrandom-7399dbfffe144c13.rmeta: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/libgetrandom-7399dbfffe144c13.rmeta in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/liblibc-9dc960953d9b9776.rlib: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/liblibc-9dc960953d9b9776.rlib in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/liblibc-9dc960953d9b9776.rmeta: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/liblibc-9dc960953d9b9776.rmeta in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/libppv_lite86-afaa2cc0dfe5d642.rlib: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/libppv_lite86-afaa2cc0dfe5d642.rlib in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/libppv_lite86-afaa2cc0dfe5d642.rmeta: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/libppv_lite86-afaa2cc0dfe5d642.rmeta in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/librand-db231a92b78182b1.rlib: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/librand-db231a92b78182b1.rlib in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/librand-db231a92b78182b1.rmeta: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/librand-db231a92b78182b1.rmeta in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/librand_chacha-f272ee6202ab4e95.rlib: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/librand_chacha-f272ee6202ab4e95.rlib in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/librand_chacha-f272ee6202ab4e95.rmeta: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/librand_chacha-f272ee6202ab4e95.rmeta in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/librand_core-8dbe70a8d6791b17.rlib: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/librand_core-8dbe70a8d6791b17.rlib in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/librand_core-8dbe70a8d6791b17.rmeta: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/librand_core-8dbe70a8d6791b17.rmeta in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/libretry-3ad97b42532f25c4.rlib: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/libretry-3ad97b42532f25c4.rlib in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/libretry-3ad97b42532f25c4.rmeta: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/libretry-3ad97b42532f25c4.rmeta in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to target/x86_64-unknown-linux-gnu/release/deps/retry-44e12d56deb8dda5: binary file contents changed
> dpkg-source: error: add target/x86_64-unknown-linux-gnu/release/deps/retry-44e12d56deb8dda5 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'target/x86_64-unknown-linux-gnu/release/deps/retry-44e12d56deb8dda5' 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/rust-retry_2.0.0-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.
More information about the Blend-tinker-devel
mailing list