Source: xwatch
Version: 2.11-16.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`,
xwatch failed to rebuild.

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

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


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

Format: 3.0 (quilt)
Source: xwatch
Binary: xwatch
Architecture: any
Version: 2.11-16.2
Maintainer: Peter S Galbraith <p...@debian.org>
Standards-Version: 4.5.0
Build-Depends: debhelper-compat (= 13), libforms-dev, yodl
Package-List:
 xwatch deb admin optional arch=any
Checksums-Sha1:
 5fa4aaa9f09db970b0774cbc64a62995874bb991 41064 xwatch_2.11.orig.tar.gz
 4934dec10ace91e99372489fd449f07d2acd9376 11260
xwatch_2.11-16.2.debian.tar.xz
Checksums-Sha256:
 449c2a394cef98e84cd0b70492af823057a354181ab607aa3422304bc267f015 41064
xwatch_2.11.orig.tar.gz
 5fa2eb5fa86823df8524f41637d7adc06bf9b2b3bae4b48af72d12381c0a06d5 11260
xwatch_2.11-16.2.debian.tar.xz
Files:
 6cb8cdbb044663b85f549b6a749c86aa 41064 xwatch_2.11.orig.tar.gz
 2ec29d8828371d37d1201d320f421c6e 11260 xwatch_2.11-16.2.debian.tar.xz


gpgv: Signature made Thu Aug 22 12:09:20 2024 UTC
gpgv:                using RSA key 9CF557FE13CB90CA2AEF1D2080D302F5886D839C
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
xwatch_2.11-16.2.dsc: no acceptable signature found
dpkg-source: info: extracting xwatch in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking xwatch_2.11.orig.tar.gz
dpkg-source: info: unpacking xwatch_2.11-16.2.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 0_Patches_up_to_2.11-14
dpkg-source: info: applying gcc-14.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 xwatch
dpkg-buildpackage: info: source version 2.11-16.2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Stephen Kitt <sk...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
test -f debian/rules
cd src; rm -f build
cd src; make clean
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
rm -f xwatch xwatch.o usage.o ui.o parsegag.o xmalloc.o xrealloc.o
xstrdup.o alarmhandler.o addfile.o scanfile.o parsecolorstring.o
warning.o addline.o error.o checksetting.o getcolorindex.o
parsegeometry.o parseignore.o colorname2rgb.o parsecolors.o
colorname2index.o  core
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
mv src/addline.c.orig src/addline.c-orig
mv src/.makedist.orig src/.makedist-orig
dh_clean
mv src/addline.c-orig src/addline.c.orig mv src/.makedist-orig
src/.makedist.orig
rm -rf doc/tmp
 debian/rules binary
test -f debian/rules
test root = "`whoami`"
make: *** [debian/rules:91: checkroot] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T21:37:24Z

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


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