[Pkg-rust-maintainers] Bug#1103328: rust-prr: FTBFS with the nocheck build profile

Santiago Vila sanvila at debian.org
Wed Apr 16 13:23:35 BST 2025


Package: src:rust-prr
Version: 0.20.0-1
Severity: important
Tags: trixie sid ftbfs
User: debian-qa at lists.debian.org
Usertags: ftbfs-nocheck-profile

Dear maintainer:

During a rebuild of all packages in unstable using the nocheck build profile,
your package failed to build:

--------------------------------------------------------------------------------
[...]
debian cargo wrapper: running subprocess (['ln', '-sfT', '../target/x86_64-unknown-linux-gnu/release/build/prr-4967f3e7eadf7fb4/out', 'debian/cargo_out_dir'],) {'check': True}
/usr/share/cargo/bin/dh-cargo-built-using: found static lib ring_core_0_17_8_ at /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/build/ring-99de0e8475904d31/out/libring_core_0_17_8_.a
/usr/share/cargo/bin/dh-cargo-built-using: found static lib ring_core_0_17_8_test at /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/build/ring-99de0e8475904d31/out/libring_core_0_17_8_test.a
   dh_install -O--buildsystem=cargo
dh_install: warning: Cannot find (any matches for) "gen/completions/_prr" (tried in ., debian/tmp)

dh_install: warning: prr missing files: gen/completions/_prr
dh_install: warning: Cannot find (any matches for) "gen/completions/prr.bash" (tried in ., debian/tmp)

dh_install: warning: prr missing files: gen/completions/prr.bash
dh_install: warning: Cannot find (any matches for) "gen/completions/prr.fish" (tried in ., debian/tmp)

dh_install: warning: prr missing files: gen/completions/prr.fish
dh_install: error: missing files, aborting
make: *** [debian/rules:3: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202504/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:rust-prr, so that this is still
visible in the BTS web page for this package.

Notes:

* When a package is built with the nocheck profile, it means:

- DEB_BUILD_OPTIONS=nocheck
  (the tests should be skipped during the build)

- DEB_BUILD_PROFILES=nocheck
  (Build-Depends marked <!nocheck> are not installed)

- The contents of the package is allowed to be different than normal

* This category of bugs was going to be RC for trixie, but
according to the Release Managers it's a little bit late in the
release cycle to introduce a bunch of RC bugs of this type.

* In addition to the above, this package also fails when
using DEB_BUILD_OPTIONS=nocheck alone. In this mode:

- DEB_BUILD_OPTIONS=nocheck
  (the tests should be skipped during the build)

- Build-Depends marked <!nocheck> are installed as normal

- The contents of the package should not change compared
  to a regular build

Thanks.



More information about the Pkg-rust-maintainers mailing list