Source: bchunk Version: 1.2.2+git20220715+ds-3 Severity: important Tags: ftbfs Justification: FTBFS X-Debbugs-Cc: [email protected] User: [email protected] 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`,
bchunk failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
+------------------------------------------------------------------------------+
| Build
|
+------------------------------------------------------------------------------+
Unpack source
-------------
Format: 3.0 (quilt)
Source: bchunk
Binary: bchunk
Architecture: any
Version: 1.2.2+git20220715+ds-3
Maintainer: Praveen Arimbrathodiyil <[email protected]>
Uploaders: Alex Myczko <[email protected]>
Homepage: http://he.fi/bchunk/
Standards-Version: 4.7.0
Vcs-Browser: https://salsa.debian.org/debian/bchunk
Vcs-Git: https://salsa.debian.org/debian/bchunk.git
Build-Depends: debhelper-compat (= 13)
Package-List:
bchunk deb otherosfs optional arch=any
Checksums-Sha1:
5f18c4776dfcc7ca86966578c413f03b2beb819d 16524
bchunk_1.2.2+git20220715+ds.orig.tar.xz
49c470ac1b7039c1dbe0729566a933174b88baf0 14844
bchunk_1.2.2+git20220715+ds-3.debian.tar.xz
Checksums-Sha256:
7b4aa3c52b4bf5341b6877b210a0636834da8a3011f6341b9637a461643e2fab 16524
bchunk_1.2.2+git20220715+ds.orig.tar.xz
dd1ec68ecb505fed973890f69e40c35e57d6171fb06774fb048fde9a19676b7d 14844
bchunk_1.2.2+git20220715+ds-3.debian.tar.xz
Files:
2a5db7ca3864db473e3ff1c80b65c612 16524
bchunk_1.2.2+git20220715+ds.orig.tar.xz
9f7cf5c6f2afbe0daa55cfce9e61ef18 14844
bchunk_1.2.2+git20220715+ds-3.debian.tar.xz
gpgv: Signature made Mon Jul 15 13:51:43 2024 UTC
gpgv: using RSA key B60A1BF363DC1319FF0A8E89116852BCDF7515C0
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
bchunk_1.2.2+git20220715+ds-3.dsc: no acceptable signature found
dpkg-source: info: extracting bchunk in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking bchunk_1.2.2+git20220715+ds.orig.tar.xz
dpkg-source: info: unpacking bchunk_1.2.2+git20220715+ds-3.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying nice
dpkg-source: info: applying drop-strip
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 bchunk
dpkg-buildpackage: info: source version 1.2.2+git20220715+ds-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Alex Myczko <[email protected]>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
debian/rules clean
dh clean
dh_auto_clean
make -j8 distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f *.o *~ *.bak core
rm -f bchunk
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- 'LD=$(CC)'
make -j8 "INSTALL=install --strip-program=true" LD=\$\(CC\)
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -Wall -Wstrict-prototypes -O2 -c bchunk.c
gcc -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o bchunk bchunk.o
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test
create-stamp debian/debhelper-build-stamp
dh_prep
dh_installdirs
debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install -- \
INSTALL='install --strip-program=/bin/true' \
BIN_DIR=/<<PKGBUILDDIR>>/debian/bchunk/usr/bin \
MAN_DIR=/<<PKGBUILDDIR>>/debian/bchunk/usr/share/man
make -j8 install DESTDIR=/<<BUILDDIR>>/bchunk-1.2.2\+git20220715\+ds/
debian/bchunk AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-
program=true" "INSTALL=install --strip-program=/bin/true" BIN_DIR=/
<<BUILDDIR>>/bchunk-1.2.2\+git20220715\+ds/debian/bchunk/usr/bin
MAN_DIR=/<<BUILDDIR>>/bchunk-1.2.2\+git20220715\+ds/debian/bchunk/usr/
share/man
make[2]: Entering directory '/<<PKGBUILDDIR>>'
install --strip-program=/bin/true -m 755 -o root -g root bchunk /
<<PKGBUILDDIR>>/debian/bchunk/usr/bin
install --strip-program=/bin/true -m 644 -o bin -g bin bchunk.1 /
<<PKGBUILDDIR>>/debian/bchunk/usr/share/man/man1
install: WARNING: ignoring --strip-program option as -s option was not
specified
install: WARNING: ignoring --strip-program option as -s option was not
specified
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/bchunk/usr/
bin/bchunk': Operation not permitted
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/bchunk/usr/
share/man/man1/bchunk.1': Operation not permitted
make[2]: *** [Makefile:29: installbin] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:31: installman] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j8 install DESTDIR=/<<BUILDDIR>>/
bchunk-1.2.2\+git20220715\+ds/debian/bchunk AM_UPDATE_INFO_DIR=no
"INSTALL=install --strip-program=true" "INSTALL=install --strip-
program=/bin/true" BIN_DIR=/<<BUILDDIR>>/bchunk-1.2.2\+git20220715\+ds/
debian/bchunk/usr/bin MAN_DIR=/<<BUILDDIR>>/bchunk-1.2.2\+git20220715\
+ds/debian/bchunk/usr/share/man returned exit code 2
make[1]: *** [debian/rules:14: override_dh_auto_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-15T20:03:48Z
-------------------------------------------------------------------------------
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/974896.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

