Source: rockdodger
Version: 1.1.4-3
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`,
rockdodger failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o highscore_io.o highscore_io.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o sprite.o sprite.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o blubats.o blubats.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o greeblies.o greeblies.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o powerup.o powerup.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o rocks.o rocks.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o spacedots.o spacedots.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o ship.o ship.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o engine_exhaust.o engine_exhaust.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o laser.o laser.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o mood_item.o mood_item.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o sparkles.o sparkles.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o yellifish.o yellifish.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o infoscreen.o infoscreen.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o u-iff.o u-iff.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o sekrit_lab.o sekrit_lab.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o globals.o globals.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o intro.o intro.c aarch64-linux-gnu-gcc -MMD -g -DVERSION=\"1.1.4\" -DCOMPILEDATE=\"2024-03-17\" -Wall `sdl-config --cflags` -O2 -DNDEBUG -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -c -o main.o main.c aarch64-linux-gnu-gcc -Wl,-z,relro -o rockdodger SFont.o guru_meditation.o signal_handling.o random_gen.o datafun.o sound.o input_functions.o scroller.o display_subsystem.o game_state.o highscore_io.o sprite.o blubats.o greeblies.o powerup.o rocks.o spacedots.o ship.o engine_exhaust.o laser.o mood_item.o sparkles.o yellifish.o infoscreen.o u-iff.o sekrit_lab.o globals.o intro.o main.o `sdl-config --libs` -lSDL_image -lSDL_mixer -lm
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build-stamp
test -f rocks.c && test -f debian/rules
test x`whoami` = xroot
make: *** [debian/rules:37: binary-arch] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T10:54:11Z

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


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