Source: xbomb
Version: 2.2b-1
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`,
xbomb failed to rebuild.

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

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


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

Format: 3.0 (quilt)
Source: xbomb
Binary: xbomb
Architecture: any
Version: 2.2b-1
Maintainer: Alexandre Dantas <[email protected]>
Homepage: http://www.gedanken.org.uk/software/xbomb/
Standards-Version: 3.9.5
Vcs-Browser: https://github.com/alexdantas/xbomb.debian
Vcs-Git: git://github.com/alexdantas/xbomb.debian.git -b master
Build-Depends: debhelper (>= 9), libx11-dev, libxt-dev, x11proto-core-
dev, libxaw7-dev
Package-List:
 xbomb deb games optional arch=any
Checksums-Sha1:
 1aae92bbc686b4fa4b8940289fb5beced0e535d8 24774 xbomb_2.2b.orig.tar.gz
 40c9cfce53a838d5de7ed735057c4c121e397c1d 10628 xbomb_2.2b-1.debian.tar.xz
Checksums-Sha256:
 350d8443c0f6339ef463effbb17c9347f669b8641a159a2447706324b87c2219 24774
xbomb_2.2b.orig.tar.gz
 9072d69f577776507dd16de1cf6b61fb0d72beb9f12bea1f0aa2071a7f248387 10628
xbomb_2.2b-1.debian.tar.xz
Files:
 473e5e6f8ca3fd683c3b658ca6a78e2d 24774 xbomb_2.2b.orig.tar.gz
 f3e45e117d91e029b14cf225d7a6396b 10628 xbomb_2.2b-1.debian.tar.xz


gpgv: Signature made Mon Aug 18 14:03:07 2014 UTC
gpgv:                using RSA key DE63B9C704EBE9EF
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
xbomb_2.2b-1.dsc: no acceptable signature found
dpkg-source: info: extracting xbomb in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking xbomb_2.2b.orig.tar.gz
dpkg-source: info: unpacking xbomb_2.2b-1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying fix_hiscore_dir.patch
dpkg-source: info: applying fix_manpage.patch
dpkg-source: info: applying hardening_flags.patch
dpkg-source: info: applying removed_useless_linkage.patch

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 xbomb
dpkg-buildpackage: info: source version 2.2b-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Alexandre Dantas
<[email protected]>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean --parallel
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_auto_clean -O--parallel
dh_auto_clean: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
        make -j8 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f *.o *~ core
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean -O--parallel
dh_clean: warning: Compatibility levels before 10 are deprecated (level
9 in use)
 debian/rules binary
dh binary --parallel
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_update_autotools_config -O--parallel
   dh_auto_configure -O--parallel
dh_auto_configure: warning: Compatibility levels before 10 are
deprecated (level 9 in use)
   dh_auto_build -O--parallel
dh_auto_build: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
        make -j8
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -c -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -O2 -ffile-prefix-
map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection
-Wformat -Werror=format-security -mbranch-protection=standard xbomb.c -o
xbomb.o gcc -c -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -O2 -ffile-
prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-
protection -Wformat -Werror=format-security -mbranch-protection=standard
xwindow.c -o xwindow.o gcc -c -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -
fstack-clash-protection -Wformat -Werror=format-security -mbranch-
protection=standard hiscore.c -o hiscore.o xwindow.c: In function
‘InitialiseX’:
xwindow.c:183:55: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast]
  183 |     XtAddCallback(item,XtNcallback,change_status_proc,
(XtPointer)(GAME_LEVEL+i));
      |                                                       ^
xwindow.c:200:55: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast]
  200 |     XtAddCallback(item,XtNcallback,change_status_proc,
(XtPointer)(GAME_TYPE+i));
      |                                                       ^
xwindow.c: In function ‘change_status_proc’:
xwindow.c:869:9: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
  869 |  status=(int)clientData;
      |         ^
gcc xbomb.o xwindow.o hiscore.o -o xbomb  -L/usr/X11R6/lib -lXaw -lXt -
lX11 -Wl,-z,relro
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--parallel
dh_auto_test: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
   dh_testroot -O--parallel
   dh_prep -O--parallel
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make install INSTDIR=/<<PKGBUILDDIR>>/debian/tmp/usr
make[2]: Entering directory '/<<PKGBUILDDIR>>'
strip xbomb
install -d /<<PKGBUILDDIR>>/debian/tmp/usr/bin
install -d /<<PKGBUILDDIR>>/debian/tmp/usr/man/man6
install -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/app-defaults
install -m 755 xbomb /<<PKGBUILDDIR>>/debian/tmp/usr/bin
install -m 644 xbomb.6 /<<PKGBUILDDIR>>/debian/tmp/usr/man/man6
install -m 644 xbomb.ad /<<PKGBUILDDIR>>/debian/tmp/usr/lib/app-
defaults/XBomb
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install -O--parallel
dh_install: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
   dh_installdocs -O--parallel
dh_installdocs: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
   dh_installchangelogs -O--parallel
dh_installchangelogs: warning: Compatibility levels before 10 are
deprecated (level 9 in use)
   dh_installman -O--parallel
dh_installman: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
   dh_installinit -O--parallel
dh_installinit: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
   dh_installmenu -O--parallel
dh_installmenu: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
   dh_icons -O--parallel
   dh_perl -O--parallel
   dh_link -O--parallel
dh_link: warning: Compatibility levels before 10 are deprecated (level 9
in use)
   dh_strip_nondeterminism -O--parallel
   dh_compress -O--parallel
dh_compress: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
   debian/rules override_dh_fixperms
make[1]: Entering directory '/<<PKGBUILDDIR>>'
chown 'root:games' debian/xbomb/usr/games/xbomb
chown: changing ownership of 'debian/xbomb/usr/games/xbomb': Operation
not permitted
make[1]: *** [debian/rules:10: override_dh_fixperms] 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-18T20:46:48Z

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


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