Source: checksecurity Version: 2.0.16+nmu4 Severity: important Tags: ftbfs Justification: FTBFS X-Debbugs-Cc: ni...@thykier.net User: ni...@thykier.net Usertags: rrr-no-as-default-issue
Dear maintainer, During a test rebuild for building packages with `Rules-Requires-Root: no` as the default in `dpkg`, checksecurity failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- Format: 3.0 (native) Source: checksecurity Binary: checksecurity Architecture: all Version: 2.0.16+nmu4 Maintainer: Javier Fernández-Sanguino Peña <j...@computer.org> Standards-Version: 3.6.1 Build-Depends: debhelper (>= 7) Package-List: checksecurity deb admin optional arch=all Checksums-Sha1: 0331e88093e50362925f9e1d7920731d55b5762e 28092 checksecurity_2.0.16+nmu4.tar.xz Checksums-Sha256: 7e1602fba944c238cb19868c60635fdff034e952e3f0d8abaa8d1a1735a85f71 28092 checksecurity_2.0.16+nmu4.tar.xz Files: 94a03212d0f197d41c44b91f86f1e6b9 28092 checksecurity_2.0.16+nmu4.tar.xz gpgv: Signature made Sat Oct 14 09:09:51 2023 UTC gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 gpgv: issuer "b...@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ checksecurity_2.0.16+nmu4.dsc: no acceptable signature found dpkg-source: info: extracting checksecurity in /<<PKGBUILDDIR>> dpkg-source: info: unpacking checksecurity_2.0.16+nmu4.tar.xz Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=C.UTF-8 LOGNAME=debusine-worker PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SHELL=/bin/sh USER=debusine-worker dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -b -rfakeroot dpkg-buildpackage: info: source package checksecurity dpkg-buildpackage: info: source version 2.0.16+nmu4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Bastian Germann <b...@debian.org> dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh_testdir dh_testroot rm -f build-stamp dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 7 in use) debian/rules binary dh_testdir touch build-stamp dh_testdir dh_testroot dh_prep dh_installdirs dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 7 in use) /usr/bin/make install PREFIX=/<<PKGBUILDDIR>>/debian/checksecurity make[1]: Entering directory '/<<PKGBUILDDIR>>' find . -name '*~' -print | xargs rm -f rm -f build-stamp rm -f debian/files install -d /<<PKGBUILDDIR>>/debian/checksecurity/usr/sbin install -d /<<PKGBUILDDIR>>/debian/checksecurity/usr/share/man/man8 install -d /<<PKGBUILDDIR>>/debian/checksecurity/etc install -d /<<PKGBUILDDIR>>/debian/checksecurity/etc/checksecurity install -d /<<PKGBUILDDIR>>/debian/checksecurity/usr/share/checksecurity cp bin/checksecurity /<<PKGBUILDDIR>>/debian/checksecurity/usr/sbin chown root:root /<<PKGBUILDDIR>>/debian/checksecurity/usr/sbin/checksecurity chown: changing ownership of '/<<PKGBUILDDIR>>/debian/checksecurity/usr/ sbin/checksecurity': Operation not permitted make[1]: *** [Makefile:20: install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:32: binary-indep] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-11-15T21:35:11Z ------------------------------------------------------------------------------- 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/~nthykier/rrr-no-as-default/logs/977235.gz You can find common solutions at https://people.debian.org/~nthykier/rrr-no-as-default/docs/solutions.md If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. If this package is listed in https://people.debian.org/~nthykier/rrr-no-as-default/docs/static- ownership.list, then please just set `Rules-Requires-Root: binary-targets` to the source stanza of `debian/control` as a fix to this bug. If this package is listed in https://people.debian.org/~nthykier/rrr-no-as-default/docs/maybe- misbuilds.list, then the package was deemed at risk for misbuilding (having wrong ownership) but had a FTBFS problem we tested it. Please test whether the package works with `Rules-Requires-Root: no` validating that the resulting deb has the correct ownership for all paths in the deb. The goal is to have the default changed in `dpkg` either in `Trixie` or `Forky`, depending on progress and feasibility with the release schedule for Trixie. For more information on this bug filing, please see: https://lists.debian.org/debian-dpkg/2024/11/msg00016.html Thanks, PS: The builds were performed in mid-November. If you fixed the problem between between then and this bug being filed, then please just close the bug with the version it was fixed in.
OpenPGP_signature.asc
Description: OpenPGP digital signature