Source: wzip Version: 1.1.6 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`,
wzip failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
+------------------------------------------------------------------------------+
| Build
|
+------------------------------------------------------------------------------+
Unpack source
-------------
Format: 3.0 (native)
Source: wzip
Binary: wzip
Architecture: any
Version: 1.1.6
Maintainer: Andreas Franzen <[email protected]>
Standards-Version: 4.1.3
Build-Depends: debhelper (>= 9)
Package-List:
wzip deb math optional arch=any
Checksums-Sha1:
b382bb12622158904b751365bc950ef5dbf0be71 36484 wzip_1.1.6.tar.xz
Checksums-Sha256:
a890729c07b4d21a61628241d90cc37aa0766bd4644ccf852db802fe8a4c8630 36484
wzip_1.1.6.tar.xz
Files:
6a13c715bbef888c14dabb8275ef5f55 36484 wzip_1.1.6.tar.xz
gpgv: Signature made Mon May 30 22:07:20 2022 UTC
gpgv: using RSA key AF2D747048DED4ACE5565B7BFAB5556B2E2FB6A3
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
wzip_1.1.6.dsc: no acceptable signature found
dpkg-source: info: extracting wzip in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking wzip_1.1.6.tar.xz
Check disk space
----------------
Sufficient free space for build
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.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 wzip
dpkg-buildpackage: info: source version 1.1.6
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andreas Franzen
<[email protected]>
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 wzip
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 -o wzip wzip.c -g -O2 -Werror=implicit-function-declaration -ffile-
prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-
protection -Wformat -Werror=format-security -mbranch-protection=standard
-Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test
create-stamp debian/debhelper-build-stamp
dh_prep
dh_auto_install --destdir=debian/wzip/
make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/wzip
AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
install -D -g root -o root -m 755 wzip /<<PKGBUILDDIR>>/debian/wzip/usr/
bin/wzip
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/wzip/usr/
bin/wzip': Operation not permitted
make[1]: *** [Makefile:9: install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j8 install DESTDIR=/<<PKGBUILDDIR>>/
debian/wzip AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
returned exit code 2
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T20:38:21Z
-------------------------------------------------------------------------------
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/1051396.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

