Source: bambam
Version: 1.4.0+dfsg-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`,
bambam failed to rebuild.

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

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


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

Format: 3.0 (quilt)
Source: bambam
Binary: bambam
Architecture: all
Version: 1.4.0+dfsg-1
Maintainer: Marcin Owsiany <porri...@debian.org>
Homepage: https://github.com/porridge/bambam
Standards-Version: 4.7.0
Vcs-Browser: https://github.com/porridge/bambam
Vcs-Git: https://github.com/porridge/bambam.git -b debian
Testsuite: autopkgtest
Testsuite-Triggers: imagemagick, python3, sox, xauth, xdotool, xvfb
Build-Depends: debhelper-compat (= 12), python3, dh-python, gettext
Package-List:
 bambam deb games optional arch=all
Checksums-Sha1:
 831285b3bf3a2d05a9f94e02f92277e39d300617 6860342
bambam_1.4.0+dfsg.orig.tar.gz
 165e530dfc3a9ff59094a5d2f2f2f46f70ad34f0 9640
bambam_1.4.0+dfsg-1.debian.tar.xz
Checksums-Sha256:
 44160620b5895a6a9f90b29b82320eba41d5530d7d8791c67bad516748b9d9c8
6860342 bambam_1.4.0+dfsg.orig.tar.gz
 2dd72cf9b5bb90038452b5cfb6c3086e591c052bc6c6d15cc788ac0e445c31c9 9640
bambam_1.4.0+dfsg-1.debian.tar.xz
Files:
 3c8ba5a30b86e6791ce81a2950bb65c4 6860342 bambam_1.4.0+dfsg.orig.tar.gz
 494bd1def550c4acabba2cb84f56b0ab 9640 bambam_1.4.0+dfsg-1.debian.tar.xz


gpgv: Signature made Fri Aug 30 16:56:18 2024 UTC
gpgv:                using RSA key D83A751206EFB0D713816CCE4E69317AAF447F33
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
bambam_1.4.0+dfsg-1.dsc: no acceptable signature found
dpkg-source: info: extracting bambam in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking bambam_1.4.0+dfsg.orig.tar.gz
dpkg-source: info: unpacking bambam_1.4.0+dfsg-1.debian.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 bambam
dpkg-buildpackage: info: source version 1.4.0+dfsg-1
dpkg-buildpackage: info: source distribution sid
dpkg-buildpackage: info: source changed by Marcin Owsiany
<porri...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
dpkg-source: info: using options from bambam-1.4.0+dfsg/debian/source/
options: --extend-diff-ignore=(^|/)(\.venv|__pycache__|\.idea)(/|$)
 debian/rules clean
dh clean --with python3
   dh_auto_clean
        make -j8 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f po/ar.mo po/ca.mo po/de.mo po/eo.mo po/es.mo po/fr.mo po/it.mo po/
ja.mo po/ko.mo po/mr.mo po/nb_NO.mo po/pl.mo po/tr.mo po/LINGUAS
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary --with python3
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j8 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
msgfmt -o po/ar.mo po/ar.po
msgfmt -o po/ca.mo po/ca.po
msgfmt -o po/de.mo po/de.po
msgfmt -o po/eo.mo po/eo.po
msgfmt -o po/es.mo po/es.po
msgfmt -o po/fr.mo po/fr.po
msgfmt -o po/it.mo po/it.po
msgfmt -o po/ja.mo po/ja.po
msgfmt -o po/ko.mo po/ko.po
msgfmt -o po/mr.mo po/mr.po
msgfmt -o po/nb_NO.mo po/nb_NO.po
msgfmt -o po/pl.mo po/pl.po
msgfmt -o po/tr.mo po/tr.po
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
   dh_prep
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
install -D bambam.py /<<PKGBUILDDIR>>/debian/bambam/usr/games/bambam
make install-mo PREFIX=/<<PKGBUILDDIR>>/debian/bambam
make[2]: Entering directory '/<<PKGBUILDDIR>>'
install -o root -g root -m 0644 -D po/ar.mo /<<PKGBUILDDIR>>/debian/
bambam/usr/share/locale/ar/LC_MESSAGES/bambam.mo
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/bambam/usr/
share/locale/ar/LC_MESSAGES/bambam.mo': Operation not permitted
make[2]: *** [Makefile:19: install-mo-ar] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:9: override_dh_auto_install] Error 2
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-15T19:56:54Z

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


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