Source: memstat Version: 1.1+nmu1 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`, memstat failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- Format: 3.0 (native) Source: memstat Binary: memstat Architecture: any Version: 1.1+nmu1 Maintainer: Michael Meskes <mes...@debian.org> Standards-Version: 4.1.3 Build-Depends: debhelper (>= 11) Package-List: memstat deb admin optional arch=any Checksums-Sha1: 123fc16ac688d45ae3b7ade40749de3ab8463d0b 9060 memstat_1.1+nmu1.tar.xz Checksums-Sha256: c201035986201d6c05eff0a2d554f56c561e0a23e16462c1cc8781c3027ea3aa 9060 memstat_1.1+nmu1.tar.xz Files: 460b9c7545703b33da21779eeb9afdf9 9060 memstat_1.1+nmu1.tar.xz gpgv: Signature made Sun Feb 18 15:16:12 2024 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 ./ memstat_1.1+nmu1.dsc: no acceptable signature found dpkg-source: info: extracting memstat in /<<PKGBUILDDIR>> dpkg-source: info: unpacking memstat_1.1+nmu1.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 memstat dpkg-buildpackage: info: source version 1.1+nmu1 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_auto_clean make -j8 clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -f memstat.o memstat DEADJOE *~ */*~ make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j8 "INSTALL=install --strip-program=true" make[1]: Entering directory '/<<PKGBUILDDIR>>' cc -g -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now memstat.c -o memstat memstat.c: In function ‘summarize_usage’: memstat.c:277:23: warning: writing 1 byte into a region of size 0 [- Wstringop-overflow=] 277 | linkname[len] = '\0'; | ~~~~~~~~~~~~~~^~~~~~ memstat.c:267:14: note: at offset -1 into destination object ‘linkname’ of size 4096 267 | char linkname[PATH_MAX], filename[PATH_MAX]; | ^~~~~~~~ make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_installdirs dh_auto_install --destdir=debian/memstat/ make -j8 install DESTDIR=/<<BUILDDIR>>/memstat-1.1\+nmu1/debian/memstat AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/<<PKGBUILDDIR>>' install --strip-program=true -p -s -o root -g root -m 755 memstat / <<PKGBUILDDIR>>/debian/memstat//usr/bin/memstat install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/memstat// usr/bin/memstat': Operation not permitted make[1]: *** [Makefile:21: install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_install: error: make -j8 install DESTDIR=/<<BUILDDIR>>/ memstat-1.1\+nmu1/debian/memstat AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" returned exit code 2 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-11-17T11:58:02Z ------------------------------------------------------------------------------- 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/1022574.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