Source: sauce
Version: 0.9.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`,
sauce failed to rebuild.

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

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


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

Format: 1.0
Source: sauce
Binary: sauce
Architecture: all
Version: 0.9.2
Maintainer: Ian Jackson <ijack...@chiark.greenend.org.uk>
Standards-Version: 3.7.3.0
Build-Depends: tcl
Package-List:
 sauce deb mail extra arch=all
Checksums-Sha1:
 cffcf205bcd736f81bd3c1321b2abbd0c26356a0 88864 sauce_0.9.2.tar.gz
Checksums-Sha256:
 b37fa4d98001b6928efdf03dbdee5fdf16db200c83e34b2919eb1c5890e5bd66 88864
sauce_0.9.2.tar.gz
Files:
 9f5e1f483e4b13cfdfb2c68f78284816 88864 sauce_0.9.2.tar.gz
Dgit: d4bdf3e840b8a261dc79c44f6a815bfad7d0b353 debian archive/
debian/0.9.2 https://git.dgit.debian.org/sauce


gpgv: Signature made Sun May 14 17:01:49 2023 UTC
gpgv:                using RSA key 559AE46C2D6B6D3265E7CBA1E3E3392348B50D39
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
sauce_0.9.2.dsc: no acceptable signature found
dpkg-source: info: extracting sauce in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking sauce_0.9.2.tar.gz

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 sauce
dpkg-buildpackage: info: source version 0.9.2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Ian Jackson
<i...@zealot.relativity.greenend.org.uk>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
test -f sauce.tcl
rm -f build
/usr/bin/make -i distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f settings sauce-bwlist sauce-setuserpolicy sauce sauceadmin sauce-
setsyspolicy sauce9-convert firewall rcpt-policy clean-site-annoy
convertdb readlibs readconf library thread dns avf avfpool smtp msgdata
notifybl datastate yesmaster sconfig stall sauce-userblacklist sauce-
firewall sauce-rcptpolicy *.new *~ ./#*# *.bak
rm -f debian/*~ debian/#*# debian/*.bak
rm -f cdb.addr-seen.main cdb.addr-list.log
rm -f cdb.site-seen.main cdb.site-list.log
rm -f cdb.site-annoy.main cdb.site-annoy.log
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
rm -rf *~ debian/tmp debian/*~ debian/files* debian/substvars*
 debian/rules binary
test -f sauce.tcl
test root = "`whoami`"
make: *** [debian/rules:89: checkroot] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T14:00:54Z

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


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