Source: chiark-utils
Version: 7.0.3
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`,
chiark-utils failed to rebuild.

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

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


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

Format: 3.0 (native)
Source: chiark-utils
Binary: chiark-backup, chiark-scripts, chiark-rwbuffer, chiark-utils-
bin, chiark-really
Architecture: any all
Version: 7.0.3
Maintainer: Ian Jackson <ijack...@chiark.greenend.org.uk>
Standards-Version: 4.6.1.1
Vcs-Browser: https://www.chiark.greenend.org.uk/ucgi/~ian/git/chiark-
utils.git/
Vcs-Git: https://www.chiark.greenend.org.uk/ucgi/~ian/githttp/chiark-
utils.git
Build-Depends: libx11-dev, libxmu-dev, nettle-dev, debhelper (>= 13),
libxdmcp-dev, libxau-dev, libice-dev, libsm-dev, libuv1-dev
Package-List:
 chiark-backup deb utils optional arch=all
 chiark-really deb admin optional arch=any
 chiark-rwbuffer deb utils optional arch=any
 chiark-scripts deb admin optional arch=all
 chiark-utils-bin deb utils optional arch=any
Checksums-Sha1:
 54c200012cfe044d3640f065c9e25dabd5afa5e8 161724 chiark-utils_7.0.3.tar.xz
Checksums-Sha256:
 4f2ba73d1778f7a193600d2fffde63f191f506218f8ad12986c73ff04412161b 161724
chiark-utils_7.0.3.tar.xz
Files:
 1375d049795f2d04026cde1d437094c4 161724 chiark-utils_7.0.3.tar.xz
Dgit: b23a7f5855185b60cedc073c3066e619fd0e189f debian archive/
debian/7.0.3 https://git.dgit.debian.org/chiark-utils


gpgv: Signature made Thu Sep 26 16:10:00 2024 UTC
gpgv:                using RSA key 9B917007AE030E36E4FC248B695B7AE4BF066240
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./chiark-
utils_7.0.3.dsc: no acceptable signature found
dpkg-source: info: extracting chiark-utils in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking chiark-utils_7.0.3.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 chiark-utils
dpkg-buildpackage: info: source version 7.0.3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Sean Whitton
<spwhit...@spwhitton.name>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
test -f cprogs/writebuffer.c
rm -f build
set -e; for s in cprogs; do \
        /usr/bin/make -C $s -i distclean || \
        /usr/bin/make -C $s -f Makefile.in distclean; \
done
make[1]: Entering directory '/<<PKGBUILDDIR>>/cprogs'
rm -f *~ ./#*# *.o readbuffer writebuffer with-lock-ex xbatmon-simple
summer watershed rcopy-repeatedly xduplic-copier prefork-interp cgi-
fcgi-interp acctdump
rm -f readbuffer writebuffer with-lock-ex xbatmon-simple summer
watershed rcopy-repeatedly xduplic-copier prefork-interp cgi-fcgi-interp
acctdump really trivsoundd watershed.txt prefork-interp.txt cgi-fcgi-
interp.txt xbatmon-simple.txt rcopy-repeatedly.txt
make[1]: Leaving directory '/<<PKGBUILDDIR>>/cprogs'
rm -rf *~ debian/tmp debian/*~ debian/files* debian/substvars*
rm -rf debian/sv-* debian/*.debhelper.log
 debian/rules binary
test -f cprogs/writebuffer.c
test root = "`whoami`"
make: *** [debian/rules:161: checkroot] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-15T21:39:05Z

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


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