Source: xcolors
Version: 1.5a-9
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`,
xcolors failed to rebuild.

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

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


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

Format: 3.0 (quilt)
Source: xcolors
Binary: xcolors
Architecture: any
Version: 1.5a-9
Maintainer: Fredrik Hallenberg <hal...@debian.org>
Standards-Version: 3.9.4
Build-Depends: debhelper-compat (= 13), libxaw7-dev, libxt-dev, libx11-
dev, xutils-dev
Package-List:
 xcolors deb x11 optional arch=any
Checksums-Sha1:
 410ebb97f716f4d790e902ed4818b9c738a319c1 9840 xcolors_1.5a.orig.tar.gz
 fdfa3ec2cb86202b6fe080e7047090f9a9a05a5f 4376 xcolors_1.5a-9.debian.tar.xz
Checksums-Sha256:
 2ada5259f40883459767173430726ea6a82b7e608ef6ddea13975c753a72261e 9840
xcolors_1.5a.orig.tar.gz
 30ee6ba4feb317ac94bef5911c846333e261626e898def3d6a243f51a69b0f60 4376
xcolors_1.5a-9.debian.tar.xz
Files:
 a7e8d6785798930e5a20a401841bb05a 9840 xcolors_1.5a.orig.tar.gz
 3ae9b86e4ba41a97f8f0ebe629bb6790 4376 xcolors_1.5a-9.debian.tar.xz


gpgv: Signature made Sat Mar 16 12:30:24 2024 UTC
gpgv:                using RSA key BADCB4C43D3DED4E540771DAE337DB93426E4154
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
xcolors_1.5a-9.dsc: no acceptable signature found
dpkg-source: info: extracting xcolors in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking xcolors_1.5a.orig.tar.gz
dpkg-source: info: unpacking xcolors_1.5a-9.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying debian.patch
dpkg-source: info: applying Imakefile.patch
dpkg-source: info: applying implicit_declaration

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 xcolors
dpkg-buildpackage: info: source version 1.5a-9
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Fredrik Hallenberg
<hal...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
test -f xcolors.c -a -f debian/rules
if test -f Makefile; then make clean; fi
rm -f build Makefile.bak Makefile
rm -rf *~ debian/xcolors debian/*~ debian/files*
dh_clean
 debian/rules binary
test -f xcolors.c -a -f debian/rules
test root = "`whoami`"
make: *** [debian/rules:80: checkroot] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T20:51:44Z

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


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