[Pkg-rust-maintainers] Bug#1116899: rust-fips203-ffi: FTBFS with the nocheck build profile

Santiago Vila sanvila at debian.org
Tue Sep 30 15:54:49 BST 2025


Package: src:rust-fips203-ffi
Version: 0.4.3-2
Severity: important
Tags: forky 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.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

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

A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:

https://wiki.debian.org/qa.debian.org/FTBFS/Nocheck

(It's a wiki, so you are welcome to contribute)

[ Note: This is RC, but I will wait at least two weeks before raising
the severities, there are a lot of gcc-15 and CMake 4 bugs open now ].

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-fips203-ffi, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3
   dh_clean -XCargo.toml.orig
 debian/rules binary
dh binary --with python3
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f Cargo.lock
/usr/share/cargo/bin/cargo prepare-debian /usr/share/cargo/registry
debian cargo wrapper: options = ['parallel=2', 'nocheck'], profiles = ['nocheck'], parallel = ['-j2'], lto = 
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
Traceback (most recent call last):
  File "/usr/share/cargo/bin/cargo", line 264, in <module>
    sys.exit(main(*sys.argv[1:]))
             ~~~~^^^^^^^^^^^^^^^
  File "/usr/share/cargo/bin/cargo", line 210, in main
    return prepare_debian(cargo_home, registry,
        os.environ["DEB_CARGO_CRATE"], host_gnu_type,
        os.getenv("LDFLAGS", "").split(), link_from_system, extra_rustflags)
  File "/usr/share/cargo/bin/cargo", line 93, in prepare_debian
    raise ValueError(f'non-existent registry: {registry}')
ValueError: non-existent registry: /usr/share/cargo/registry
make[1]: *** [debian/rules:20: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-rust-maintainers mailing list