Source: xfonts-traditional
Version: 1.8.0+nmu1
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: [email protected]
User: [email protected]
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`,
xfonts-traditional failed to rebuild.

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

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


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

Format: 1.0
Source: xfonts-traditional
Binary: xfonts-traditional
Architecture: all
Version: 1.8.0+nmu1
Maintainer: Ian Jackson <[email protected]>
Standards-Version: 3.9.2.0
Build-Depends: xfonts-utils, pcf2bdf, debhelper (>= 8), po-debconf,
fontforge
Package-List:
 xfonts-traditional deb x11 optional arch=all
Checksums-Sha1:
 d7505174819fe390eb3b37368580e7ab9b621692 533729 xfonts-
traditional_1.8.0+nmu1.tar.gz
Checksums-Sha256:
 feedc069d7f85e6ac687fb1e601ef814a2fa056465d1420004d467db287c4dab 533729
xfonts-traditional_1.8.0+nmu1.tar.gz
Files:
 43173a78541f8f10e3f0f56909bc2d6e 533729 xfonts-
traditional_1.8.0+nmu1.tar.gz


gpgv: Signature made Sun Jan  3 11:42:26 2021 UTC
gpgv:                using RSA key B8BF54137B09D35CF026FE9D091AB856069AAA1C
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./xfonts-
traditional_1.8.0+nmu1.dsc: no acceptable signature found
dpkg-source: info: extracting xfonts-traditional in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking xfonts-traditional_1.8.0+nmu1.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 xfonts-traditional
dpkg-buildpackage: info: source version 1.8.0+nmu1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Holger Levsen <[email protected]>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
dh: warning: Compatibility levels before 10 are deprecated (level 8 in use)
   dh_auto_clean
dh_auto_clean: warning: Compatibility levels before 10 are deprecated
(level 8 in use)
        make -j1 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f rules/*.rules rules/foundries rules/foundries.new
rm -f good/*.bdf bad/*.bdf
rm -f  good/6x13O.pcf.gz
rm -f *~ update-xfonts-traditional.sedded
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level
8 in use)
 debian/rules binary
dh binary
dh: warning: Compatibility levels before 10 are deprecated (level 8 in use)
   dh_update_autotools_config
   dh_auto_configure
dh_auto_configure: warning: Compatibility levels before 10 are
deprecated (level 8 in use)
   dh_auto_build
dh_auto_build: warning: Compatibility levels before 10 are deprecated
(level 8 in use)
        make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
bdftopcf <bdfsrc/6x13O.bdf | gzip -9 >good/6x13O.pcf.gz
mkdir -p rules/
./mkrules <specs
Copyright (c) 2000-2024. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read
LICENSE.
 Version: 20230101
 Based on sources from 2024-09-06 01:07 UTC-ML-D-GDK3.
PythonUI_Init()
copyUIMethodsToBaseTable()
Program root: /usr
Cannot find your hotkey definition file!
Copyright (c) 2000-2024. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read
LICENSE.
 Version: 20230101
 Based on sources from 2024-09-06 01:07 UTC-ML-D-GDK3.
PythonUI_Init()
copyUIMethodsToBaseTable()
Program root: /usr
Cannot find your hotkey definition file!
Copyright (c) 2000-2024. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read
LICENSE.
 Version: 20230101
 Based on sources from 2024-09-06 01:07 UTC-ML-D-GDK3.
PythonUI_Init()
copyUIMethodsToBaseTable()
Program root: /usr
Cannot find your hotkey definition file!
cp manual/*.rules rules/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
dh_auto_test: warning: Compatibility levels before 10 are deprecated
(level 8 in use)
   dh_prep
   dh_auto_install --destdir=debian/xfonts-traditional/
dh_auto_install: warning: Compatibility levels before 10 are deprecated
(level 8 in use)
        make -j1 install DESTDIR=/<<BUILDDIR>>/xfonts-traditional-1.8.0\+nmu1/
debian/xfonts-traditional AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>'
perl -pe 's#^(our \$prefix=").*("\;\s*)$#$1/usr$2#' \
        <update-xfonts-traditional >update-xfonts-traditional.sedded
install -o 0 -g 0 -m755 -d /<<PKGBUILDDIR>>/debian/xfonts-traditional/
usr/{bin,share/{man/man8,xfonts-traditional/rules}}
install: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/
debian/xfonts-traditional/usr/bin’: Operation not permitted
install: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/
debian/xfonts-traditional/usr/share/man/man8’: Operation not permitted
install: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/
debian/xfonts-traditional/usr/share/xfonts-traditional/rules’: Operation
not permitted
make[1]: *** [Makefile:25: install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j1 install DESTDIR=/<<BUILDDIR>>/xfonts-
traditional-1.8.0\+nmu1/debian/xfonts-traditional AM_UPDATE_INFO_DIR=no
returned exit code 2
make: *** [debian/rules:7: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T21:03:41Z

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


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