Source: rust-lazy-regex
Version: 2.5.0-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 rust-lazy-regex
> dpkg-buildpackage: info: source version 2.5.0-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jonas Smedegaard <[email protected]>
>  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-lazy-regex using existing 
> ./rust-lazy-regex_2.5.0.orig.tar.gz
> dpkg-source: warning: file rust-lazy-regex-2.5.0/target/.rustc_info.json has 
> no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to 
> target/package/lazy-regex-2.5.0.crate: binary file contents changed
> dpkg-source: error: add target/package/lazy-regex-2.5.0.crate 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/package/lazy-regex-proc_macros-2.4.1.crate: binary file contents 
> changed
> dpkg-source: error: add target/package/lazy-regex-proc_macros-2.4.1.crate in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> 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/aho-corasick-285befbe9bc525b2/dep-lib-aho_corasick:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/.fingerprint/aho-corasick-285befbe9bc525b2/dep-lib-aho_corasick
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/aho-corasick-285befbe9bc525b2/invoked.timestamp
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/aho-corasick-285befbe9bc525b2/lib-aho_corasick
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/aho-corasick-285befbe9bc525b2/lib-aho_corasick.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/lazy-regex-0d1c6d4d76bc2d36/dep-test-lib-lazy-regex:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/.fingerprint/lazy-regex-0d1c6d4d76bc2d36/dep-test-lib-lazy-regex
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/lazy-regex-0d1c6d4d76bc2d36/invoked.timestamp
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/lazy-regex-0d1c6d4d76bc2d36/test-lib-lazy-regex
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/lazy-regex-0d1c6d4d76bc2d36/test-lib-lazy-regex.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/lazy-regex-92b549cdd8276d43/dep-lib-lazy-regex:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/.fingerprint/lazy-regex-92b549cdd8276d43/dep-lib-lazy-regex
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/lazy-regex-92b549cdd8276d43/invoked.timestamp
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/lazy-regex-92b549cdd8276d43/lib-lazy-regex
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/lazy-regex-92b549cdd8276d43/lib-lazy-regex.json
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/memchr-a84d05dff20f104d/run-build-script-build-script-build
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/memchr-a84d05dff20f104d/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/memchr-fa55ae943b58dee5/dep-lib-memchr:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/.fingerprint/memchr-fa55ae943b58dee5/dep-lib-memchr
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/memchr-fa55ae943b58dee5/invoked.timestamp
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/memchr-fa55ae943b58dee5/lib-memchr
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/memchr-fa55ae943b58dee5/lib-memchr.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/once_cell-0731ead19a87d7c0/dep-lib-once_cell:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/.fingerprint/once_cell-0731ead19a87d7c0/dep-lib-once_cell
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/once_cell-0731ead19a87d7c0/invoked.timestamp
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/once_cell-0731ead19a87d7c0/lib-once_cell
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/once_cell-0731ead19a87d7c0/lib-once_cell.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/regex-f690ca5ec935446e/dep-lib-regex:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/.fingerprint/regex-f690ca5ec935446e/dep-lib-regex
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/regex-f690ca5ec935446e/invoked.timestamp
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/regex-f690ca5ec935446e/lib-regex
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/regex-f690ca5ec935446e/lib-regex.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/regex-syntax-75b76aae28536baf/dep-lib-regex-syntax:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/.fingerprint/regex-syntax-75b76aae28536baf/dep-lib-regex-syntax
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/regex-syntax-75b76aae28536baf/invoked.timestamp
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/regex-syntax-75b76aae28536baf/lib-regex-syntax
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/.fingerprint/regex-syntax-75b76aae28536baf/lib-regex-syntax.json
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/build/memchr-a84d05dff20f104d/invoked.timestamp
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> rust-lazy-regex-2.5.0/target/x86_64-unknown-linux-gnu/release/build/memchr-a84d05dff20f104d/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/memchr-a84d05dff20f104d/stderr'
>  will not be represented in diff
> dpkg-source: error: cannot represent change to 
> target/x86_64-unknown-linux-gnu/release/deps/lazy_regex-0d1c6d4d76bc2d36: 
> binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/lazy_regex-0d1c6d4d76bc2d36 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/lazy_regex-0d1c6d4d76bc2d36' 
> will not be represented in diff
> dpkg-source: error: cannot represent change to 
> target/x86_64-unknown-linux-gnu/release/deps/libaho_corasick-285befbe9bc525b2.rlib:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/libaho_corasick-285befbe9bc525b2.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/libaho_corasick-285befbe9bc525b2.rmeta:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/libaho_corasick-285befbe9bc525b2.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/liblazy_regex-92b549cdd8276d43.rlib:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/liblazy_regex-92b549cdd8276d43.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/liblazy_regex-92b549cdd8276d43.rmeta:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/liblazy_regex-92b549cdd8276d43.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/libmemchr-fa55ae943b58dee5.rlib: 
> binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/libmemchr-fa55ae943b58dee5.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/libmemchr-fa55ae943b58dee5.rmeta:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/libmemchr-fa55ae943b58dee5.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/libonce_cell-0731ead19a87d7c0.rlib:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/libonce_cell-0731ead19a87d7c0.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/libonce_cell-0731ead19a87d7c0.rmeta:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/libonce_cell-0731ead19a87d7c0.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/libregex-f690ca5ec935446e.rlib: 
> binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/libregex-f690ca5ec935446e.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/libregex-f690ca5ec935446e.rmeta: 
> binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/libregex-f690ca5ec935446e.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/libregex_syntax-75b76aae28536baf.rlib:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/libregex_syntax-75b76aae28536baf.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/libregex_syntax-75b76aae28536baf.rmeta:
>  binary file contents changed
> dpkg-source: error: add 
> target/x86_64-unknown-linux-gnu/release/deps/libregex_syntax-75b76aae28536baf.rmeta
>  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/rust-lazy-regex_2.5.0-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