Source: compartment Version: 1.1.0-5.1 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`, compartment failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- Format: 3.0 (quilt) Source: compartment Binary: compartment Architecture: linux-any Version: 1.1.0-5.1 Maintainer: Javier Fernandez-Sanguino Peña <j...@debian.org> Homepage: http://www.baseline-security.de/downloads.html.en Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9) Package-List: compartment deb admin optional arch=linux-any Checksums-Sha1: 955ab6f8f53d4ace5599b488b8053b54293ed67e 17597 compartment_1.1.0.orig.tar.gz 50547dd8c36f46e0a4b64873f05d3bff7fbc8263 5300 compartment_1.1.0-5.1.debian.tar.xz Checksums-Sha256: 28e11259e91411254e9bc5859f3e52587de9d53bf05c1a1fbe1198d4edfce4ce 17597 compartment_1.1.0.orig.tar.gz 518827b2eaad3b6d2e8c0684c3066965fa7064f0574cd102e5785950e4701fff 5300 compartment_1.1.0-5.1.debian.tar.xz Files: f4338fd32acb4afd46adb71254c0c50b 17597 compartment_1.1.0.orig.tar.gz 5b7db363e47a26cf76d4ca6b9ea70975 5300 compartment_1.1.0-5.1.debian.tar.xz gpgv: Signature made Mon Oct 2 20:19:49 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 ./ compartment_1.1.0-5.1.dsc: no acceptable signature found dpkg-source: info: extracting compartment in /<<PKGBUILDDIR>> dpkg-source: info: unpacking compartment_1.1.0.orig.tar.gz dpkg-source: info: unpacking compartment_1.1.0-5.1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying debian.patch 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 compartment dpkg-buildpackage: info: source version 1.1.0-5.1 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 clean dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_auto_clean dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -f compartment core *~ make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules binary dh binary dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config dh_auto_configure dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_auto_build dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 make[1]: Entering directory '/<<PKGBUILDDIR>>' gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/ <<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection - Wformat -Werror=format-security -mbranch-protection=standard -o compartment compartment.c compartment.c: In function ‘main’: compartment.c:171:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 171 | fprintf(stderr, "Warning: weird uid size: %d\n", sizeof(uid_t)); | ~^ ~~~~~~~~~~~~~ | | | | int long unsigned int | %ld make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_prep dh_installdirs dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_auto_install --destdir=debian/compartment/ dh_auto_install: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/compartment AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/<<PKGBUILDDIR>>' install -d -o root -g root -m 755 /<<PKGBUILDDIR>>/debian/compartment/ usr/share/doc/packages/compartment install: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/ debian/compartment/usr/share/doc/packages/compartment’: Operation not permitted make[1]: *** [Makefile:27: install-doc] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_install: error: make -j1 install DESTDIR=/<<PKGBUILDDIR>>/ debian/compartment AM_UPDATE_INFO_DIR=no returned exit code 2 make: *** [debian/rules:21: binary] Error 255 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-11-15T22:44:18Z ------------------------------------------------------------------------------- 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/978657.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