[Pkg-rust-maintainers] Bug#1149124: rust-rootasrole: FTBFS with the nocheck build profile
Santiago Vila
sanvila at debian.org
Sun Sep 27 00:27:56 BST 2026
Package: src:rust-rootasrole
Version: 4.0.2-1
Severity: serious
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,
this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202609/
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
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 cannot 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-rootasrole, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
error: could not compile `rootasrole-core` (lib) due to 22 previous errors
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] _64-linux-gnu` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
warning: `nonstick2` (lib) generated 14 warnings
error: failed to compile `rootasrole v4.0.2 (/<<PKGBUILDDIR>>)`, intermediate artifacts can be found at `/<<PKGBUILDDIR>>/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_BUILD_BUILD_DIR` to that path.
Traceback (most recent call last):
File "/usr/share/cargo/bin/cargo", line 267, in <module>
sys.exit(main(*sys.argv[1:]))
~~~~^^^^^^^^^^^^^^^
File "/usr/share/cargo/bin/cargo", line 257, in main
return install(os.getenv("DESTDIR", ""),
os.environ["DEB_CARGO_CRATE"],
...<2 lines>...
os.getenv("DEB_CARGO_INSTALL_PREFIX", "/usr"),
*newargs)
File "/usr/share/cargo/bin/cargo", line 137, in install
logrun(["env", "RUST_BACKTRACE=1",
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# set CARGO_TARGET_DIR so build products are saved in target/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
([crate, "--vers", version] if crate_in_registry else ["--path", in_cwd()]) +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
["--root", install_target], check=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/cargo/bin/cargo", line 76, in logrun
return subprocess.run(*args, **kwargs)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['env', 'RUST_BACKTRACE=1', 'CARGO_TARGET_DIR=/<<PKGBUILDDIR>>/target', '/usr/bin/cargo', '-Zavoid-dev-deps', 'install', '--verbose', '--verbose', '-j2', '--target', 'x86_64-unknown-linux-gnu', '--bin', 'dosr', '--features', 'finder', '--path', '/<<PKGBUILDDIR>>', '--root', 'debian/dosr/usr/lib/cargo']' returned non-zero exit status 101.
dh_auto_install: error: env DESTDIR=debian/dosr /usr/share/cargo/bin/cargo install --bin dosr --features finder returned exit code 1
make[1]: *** [debian/rules:13: override_dh_auto_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-rust-maintainers
mailing list