Source: xorg
Version: 1:7.7+23.1
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`,
xorg failed to rebuild.

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


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

Format: 1.0
Source: xorg
Binary: x11-common, xserver-xorg, xserver-xorg-video-all, xserver-xorg-
input-all, xorg, xorg-dev, xbase-clients, xutils
Architecture: any all
Version: 1:7.7+23.1
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Homepage: https://www.x.org/
Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/xorg-team/debian/xorg
Vcs-Git: https://salsa.debian.org/xorg-team/debian/xorg
Build-Depends: dpkg (>= 1.16.1), debhelper-compat (= 12), po-debconf,
asciidoc
Package-List:
 x11-common deb x11 optional arch=all
 xbase-clients deb x11 optional arch=all
 xorg deb x11 optional arch=any
 xorg-dev deb x11 optional arch=all
 xserver-xorg deb x11 optional arch=any
 xserver-xorg-input-all deb x11 optional arch=any
 xserver-xorg-video-all deb x11 optional arch=any
 xutils deb x11 optional arch=all
Checksums-Sha1:
 f11b27c7b35c76e676570277c164280cd2614977 292366 xorg_7.7+23.1.tar.gz
Checksums-Sha256:
 1620333d14424eadae77ef44ac702a65ef5b53c169c993181687ee1d198d538b 292366
xorg_7.7+23.1.tar.gz
Files:
 622211efa35a5fb171492113f575cbec 292366 xorg_7.7+23.1.tar.gz


gpgv: Signature made Mon Jul  8 12:48:12 2024 UTC
gpgv:                using RSA key 7D1ACFFAD9E0806C9C4CD3925C13D6DB93052E03
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
xorg_7.7+23.1.dsc: no acceptable signature found
dpkg-source: info: extracting xorg in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking xorg_7.7+23.1.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 xorg
dpkg-buildpackage: info: source version 1:7.7+23.1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Chris Hofstaedtler
<z...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C xsf-docs clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/xsf-docs'
Removing all generated files
rm -f ./index.html ./reference/dependencies.html ./reference/
experimental.html ./reference/squeeze-backports.html ./reference/git-
usage.html ./reference/upstream-contacts.html ./howto/use-gdb.html ./
howto/build-mesa.html ./howto/use-xrandr.html ./howto/report-
bugs.html ./howto/configure-input.html ./howto/triage-bugs.html ./
upstream-features.html ./faq/general.html ./index.pdf ./reference/
dependencies.pdf ./reference/experimental.pdf ./reference/squeeze-
backports.pdf ./reference/git-usage.pdf ./reference/upstream-
contacts.pdf ./howto/use-gdb.pdf ./howto/build-mesa.pdf ./howto/use-
xrandr.pdf ./howto/report-bugs.pdf ./howto/configure-input.pdf ./howto/
triage-bugs.pdf ./upstream-features.pdf ./faq/general.pdf
make[2]: Leaving directory '/<<PKGBUILDDIR>>/xsf-docs'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C xsf-docs
make[2]: Entering directory '/<<PKGBUILDDIR>>/xsf-docs'
 HTML index.html
 HOME index.html
 CSS  index.html
 JS   index.html
 HTML reference/dependencies.html
 HOME reference/dependencies.html
 CSS  reference/dependencies.html
 JS   reference/dependencies.html
 HTML reference/experimental.html
 HOME reference/experimental.html
 CSS  reference/experimental.html
 JS   reference/experimental.html
 HTML reference/squeeze-backports.html
 HOME reference/squeeze-backports.html
 CSS  reference/squeeze-backports.html
 JS   reference/squeeze-backports.html
 HTML reference/git-usage.html
 HOME reference/git-usage.html
 CSS  reference/git-usage.html
 JS   reference/git-usage.html
 HTML reference/upstream-contacts.html
 HOME reference/upstream-contacts.html
 CSS  reference/upstream-contacts.html
 JS   reference/upstream-contacts.html
 HTML howto/use-gdb.html
 HOME howto/use-gdb.html
 CSS  howto/use-gdb.html
 JS   howto/use-gdb.html
 HTML howto/build-mesa.html
 HOME howto/build-mesa.html
 CSS  howto/build-mesa.html
 JS   howto/build-mesa.html
 HTML howto/use-xrandr.html
 HOME howto/use-xrandr.html
 CSS  howto/use-xrandr.html
 JS   howto/use-xrandr.html
 HTML howto/report-bugs.html
 HOME howto/report-bugs.html
 CSS  howto/report-bugs.html
 JS   howto/report-bugs.html
 HTML howto/configure-input.html
 HOME howto/configure-input.html
 CSS  howto/configure-input.html
 JS   howto/configure-input.html
 HTML howto/triage-bugs.html
 HOME howto/triage-bugs.html
 CSS  howto/triage-bugs.html
 JS   howto/triage-bugs.html
 HTML upstream-features.html
 HOME upstream-features.html
 CSS  upstream-features.html
 JS   upstream-features.html
 HTML faq/general.html
 HOME faq/general.html
 CSS  faq/general.html
 JS   faq/general.html
make[2]: Leaving directory '/<<PKGBUILDDIR>>/xsf-docs'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_installdirs
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C xsf-docs install DESTDIR=/<<PKGBUILDDIR>>/debian/
xserver-xorg/usr/share/doc/xorg
make[2]: Entering directory '/<<PKGBUILDDIR>>/xsf-docs'
mkdir -p /<<PKGBUILDDIR>>/debian/xserver-xorg/usr/share/doc/xorg
# There are probably better ways:
set -e; for i in ./index.html ./reference/dependencies.html ./reference/
experimental.html ./reference/squeeze-backports.html ./reference/git-
usage.html ./reference/upstream-contacts.html ./howto/use-gdb.html ./
howto/build-mesa.html ./howto/use-xrandr.html ./howto/report-
bugs.html ./howto/configure-input.html ./howto/triage-bugs.html ./
upstream-features.html ./faq/general.html ./index.txt ./reference/
dependencies.txt ./reference/experimental.txt ./reference/squeeze-
backports.txt ./reference/git-usage.txt ./reference/upstream-
contacts.txt ./howto/use-gdb.txt ./howto/build-mesa.txt ./howto/use-
xrandr.txt ./howto/report-bugs.txt ./howto/configure-input.txt ./howto/
triage-bugs.txt ./upstream-features.txt ./faq/general.txt xsf.css
asciidoc-xhtml11.css asciidoc-xhtml11.js xsf.svg xsf.png; do \
        d=/<<PKGBUILDDIR>>/debian/xserver-xorg/usr/share/doc/xorg/`dirname $i` 
&& \
        mkdir -p $d && \
        install $i $d; \
done
make[2]: Leaving directory '/<<PKGBUILDDIR>>/xsf-docs'
dh_install
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs
   dh_installchangelogs
Garbage at end of string in strptime:   at /usr/lib/aarch64-linux-gnu/
perl/5.40/Time/Piece.pm line 598, <$log1> line 11.
Perhaps a format flag did not match the actual input? at /usr/lib/
aarch64-linux-gnu/perl/5.40/Time/Piece.pm line 598, <$log1> line 11.
   dh_installman
   debian/rules override_dh_installinit-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installinit -px11-common
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_lintian
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   debian/rules override_dh_fixperms-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_fixperms
chown root:root debian/x11-common/etc/X11/Xreset
chown: changing ownership of 'debian/x11-common/etc/X11/Xreset':
Operation not permitted
make[1]: *** [debian/rules:21: override_dh_fixperms-indep] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T21:16:19Z

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


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