Source: tpm2-tss Version: 4.0.1-5 Severity: important Tags: ftbfs User: debian-ri...@lists.debian.org Usertags: riscv64 X-Debbugs-Cc: debian-ri...@lists.debian.org
Dear Maintainer, tpm2-tss fail to build from source when built in a chroot created by debootstrap 1.0.133 or later. Starting with this version, packages with priority "Required" are not installed in the chroot anymore, and source packages need to explicitly add a build dependency. In the case of tpm2-tss, the package passwd providing useradd and groupadd is missing. This causes an FTBFS on riscv64: | checking whether C compiler accepts -Wno-missing-braces... yes | checking whether C compiler accepts -Wstrict-overflow=5... yes | checking whether the linker accepts -Wl,--no-undefined... yes | checking whether the linker accepts -Wl,-z,noexecstack... yes | checking whether the linker accepts -Wl,-z,now... yes | checking whether the linker accepts -Wl,-z,relro... yes | checking for systemd-sysusers... no | checking for systemd-tmpfiles... no | checking for useradd... no | checking for groupadd... no | checking for adduser... no | checking for addgroup... no | configure: error: addgroup or groupadd are needed. | tail -v -n \+0 config.log The full build log is available here: https://buildd.debian.org/status/fetch.php?pkg=tpm2-tss&arch=riscv64&ver=4.0.1-5&stamp=1705952887&raw=0 The solution is to add passwd as a build-depends. Note that this bug is currently not a RC bug as riscv64 is currently not a release architecture. It will become RC as soon as one of the two following event happens: - riscv64 becomes a release architecture - trixie is released Regards Aurelien