Source: madbomber
Version: 0.2.5-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`,
madbomber failed to rebuild.

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

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


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

Format: 3.0 (quilt)
Source: madbomber
Binary: madbomber, madbomber-data
Architecture: any all
Version: 0.2.5-9
Maintainer: Christian T. Steigies <c...@debian.org>
Homepage: http://www.newbreedsoftware.com/madbomber/
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/debian/madbomber
Vcs-Git: https://salsa.debian.org/debian/madbomber.git
Build-Depends: debhelper-compat (= 13), libsdl-image1.2-dev, libsdl-
mixer1.2-dev, libsdl1.2-dev
Package-List:
 madbomber deb games optional arch=any
 madbomber-data deb games optional arch=all
Checksums-Sha1:
 9cee75f89923f6954a95ff2b622b4461353da2a8 2741173
madbomber_0.2.5.orig.tar.gz
 b16303f463578cf2ece63ef0fdfe29994e3746c3 6852
madbomber_0.2.5-9.debian.tar.xz
Checksums-Sha256:
 951ec8cfde3965255ceafa92fdbbbb50a1981b71afcf359c58c7d22dbf122f48
2741173 madbomber_0.2.5.orig.tar.gz
 496ac9be0771c05cce36e68355e674ed44e7dbeb4dd97638f3a1b431ea07bd74 6852
madbomber_0.2.5-9.debian.tar.xz
Files:
 90772baaec90a10f6d9467bc4d3963a6 2741173 madbomber_0.2.5.orig.tar.gz
 903bf358a4be20fdf01f22cb9bc34261 6852 madbomber_0.2.5-9.debian.tar.xz


gpgv: Signature made Thu Jan  5 16:34:20 2023 UTC
gpgv:                using RSA key 32E1DE99463F182E167A3E04700D567871B28342
gpgv:                issuer "c...@debian.org"
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
madbomber_0.2.5-9.dsc: no acceptable signature found
dpkg-source: info: extracting madbomber in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking madbomber_0.2.5.orig.tar.gz
dpkg-source: info: unpacking madbomber_0.2.5-9.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying debug-symbols
dpkg-source: info: applying 0001_mouse_cursor
dpkg-source: info: applying makefile_ldflags
dpkg-source: info: applying install-targets
dpkg-source: info: applying spelling

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 madbomber
dpkg-buildpackage: info: source version 0.2.5-9
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Christian T. Steigies
<c...@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>>'
dh_auto_clean
        make -j4 clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
rm madbomber madbomber.exe
rm: cannot remove 'madbomber': No such file or directory
rm: cannot remove 'madbomber.exe': No such file or directory
make[2]: [Makefile:81: clean] Error 1 (ignored)
rm *.o
rm: cannot remove '*.o': No such file or directory
make[2]: [Makefile:82: clean] Error 1 (ignored)
rm SDL*.dll
rm: cannot remove 'SDL*.dll': No such file or directory
make[2]: [Makefile:83: clean] Error 1 (ignored)
rm madbomber*.ipk
rm: cannot remove 'madbomber*.ipk': No such file or directory
make[2]: [Makefile:84: clean] Error 1 (ignored)
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -rf data/embedded/images/.xvpics
rm -rf data/embedded/images/title/.xvpics
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build --no-parallel -- DATA_PREFIX=/usr/share/games/madbomber/
        make -j1 "INSTALL=install --strip-program=true" DATA_PREFIX=/usr/share/
games/madbomber/
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cc -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -
DDATA_PREFIX=\"/usr/share/games/madbomber/\" -D__SOUND -DLINUX `dpkg-
buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -Wdate-time -
D_FORTIFY_SOURCE=2  -c -o madbomber.o madbomber.c
madbomber.c: In function ‘game’:
madbomber.c:1807:13: warning: comparison between two arrays [-Warray-
compare]
 1807 |       if (x != old_x)
      |             ^~
madbomber.c:1807:13: note: use ‘&x[0] != &old_x[0]’ to compare the addresses
madbomber.c: In function ‘spraydot’:
madbomber.c:4827:15: warning: operation on ‘spray_count’ may be
undefined [-Wsequence-point]
 4827 |   spray_count = spray_count++;
      |   ~~~~~~~~~~~~^~~~~~~~~~~~~~~
madbomber.c: In function ‘main’:
madbomber.c:1051:11: warning: ignoring return value of ‘fgets’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
 1051 |           fgets(temp, sizeof(temp), fi);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -
DDATA_PREFIX=\"/usr/share/games/madbomber/\" -D__SOUND -DLINUX `dpkg-
buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` madbomber.o -o
madbomber -lSDL_mixer -lSDL_image -lSDL -lm -Wl,-z,relro -Wl,-z,now
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_installdirs
   debian/rules override_dh_auto_install-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make install-arch \
          DESTDIR=/debian/madbomber \
          BIN_PREFIX=debian/madbomber/usr/games
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cp madbomber debian/madbomber/usr/games
chown root.root debian/madbomber/usr/games/madbomber
chown: warning: '.' should be ':': ‘root.root’
chown: changing ownership of 'debian/madbomber/usr/games/madbomber':
Operation not permitted
make[2]: *** [Makefile:52: install-arch] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:30: override_dh_auto_install-arch] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T10:55:38Z

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


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