Source: searchandrescue-data
Version: 1.3.0-1.2
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`,
searchandrescue-data failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]

+------------------------------------------------------------------------------+
| Build
                                                                       |
+------------------------------------------------------------------------------+


Unpack source
-------------

Format: 3.0 (quilt)
Source: searchandrescue-data
Binary: searchandrescue-data
Architecture: all
Version: 1.3.0-1.2
Maintainer: Phil Brooke <p...@debian.org>
Standards-Version: 3.9.2
Build-Depends: debhelper (>= 7)
Package-List:
 searchandrescue-data deb games optional arch=all
Checksums-Sha1:
 4beba336f39f638205805306ef024df562504ff4 52152370 searchandrescue-
data_1.3.0.orig.tar.gz
 ddf2fb958ebc38b60957b18dbaa9fcc55b4b103b 2464 searchandrescue-
data_1.3.0-1.2.debian.tar.xz
Checksums-Sha256:
 24e69e14b9d8c0683b3943d3fabe891e9b204c59dc1e8b47f4abd3db8cb29150
52152370 searchandrescue-data_1.3.0.orig.tar.gz
 59c4dd65a976a8e309cad8568e2616ceeab86a49b82b49e63d7246943af844c7 2464
searchandrescue-data_1.3.0-1.2.debian.tar.xz
Files:
 53d6986bd53e7e2b5de0d7bd996a1910 52152370 searchandrescue-
data_1.3.0.orig.tar.gz
 453137d81217f4e1849498da5b4b21f8 2464 searchandrescue-
data_1.3.0-1.2.debian.tar.xz


gpgv: Signature made Sat Mar 23 12:14:08 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 ./
searchandrescue-data_1.3.0-1.2.dsc: no acceptable signature found
dpkg-source: info: extracting searchandrescue-data in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking searchandrescue-data_1.3.0.orig.tar.gz
dpkg-source: info: unpacking searchandrescue-data_1.3.0-1.2.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying hanger01.3d.patch

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 searchandrescue-data
dpkg-buildpackage: info: source version 1.3.0-1.2
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
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level
7 in use)
 debian/rules binary
# There is nothing to do!
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_installdirs: warning: Compatibility levels before 10 are deprecated
(level 7 in use)
# Create directory .../debian/searchandrescue-common/....
install -d -g root -m 755 -o root `pwd`/debian/searchandrescue-data/usr/
share/games/searchandrescue
install: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/
debian/searchandrescue-data/usr/share/games/searchandrescue’: Operation
not permitted
make: *** [debian/rules:22: install] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T14:28:45Z

-------------------------------------------------------------------------------


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/1044194.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.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to