Bug#1127542: triplane: FTBFS: tools/run-one-test: line 8: 413 Segmentation fault

Santiago Vila sanvila at debian.org
Mon Feb 9 18:05:58 GMT 2026


Package: src:triplane
Version: 1.0.8-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202602/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:triplane, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
	make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f .depend
rm -f src/*.o
rm -f src/*/*.o
rm -f src/*/*/*.o
rm -f triplane tools/dksbuild tools/lvledit tools/pgdview tools/pcx2pgd
rm -f fokker.dks
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>>'
make depend -- PREFIX=/usr
make[2]: Entering directory '/<<PKGBUILDDIR>>'
rm -f .depend
touch .depend
(set -e; \
for src in src/gfx/bitmap.cpp src/gfx/font.cpp src/gfx/gfx.cpp src/util/wutil.cpp src/util/random.cpp src/io/sdl_compat.cpp src/io/video.cpp src/io/mouse.cpp src/io/dksfile.cpp src/io/timing.cpp src/triplane.cpp src/world/tripai.cpp src/world/tripmis.cpp src/gfx/fades.cpp src/menus/tripmenu.cpp src/world/terrain.cpp src/world/fobjects.cpp src/world/tmexept.cpp src/gfx/extra.cpp src/settings.cpp src/world/plane.cpp src/io/joystick.cpp src/io/sound.cpp src/world/tripaudio.cpp src/tools/lvledit/lvledit.cpp src/tools/pgdview/pgdview.cpp src/tools/pcx2pgd/pcx2pgd.cpp; do \
	g++ -MM -MT "`echo "$src" | sed 's/\\.cpp$/.o/'`" -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" "$src" >>.depend; \
done)
echo "fokker.dks: tools/dksbuild data/fokker.lst \\" >>.depend
sed '1d;  /^;/d;  s/ .*$//;  s/$/ \\/;  $s/ \\//;  s/^/  /;' data/fokker.lst >> .depend
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build -- PREFIX=/usr
	make -j2 INSTALL="install --strip-program=true" PREFIX=/usr
make[2]: Entering directory '/<<PKGBUILDDIR>>'
g++ -o src/triplane.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/triplane.cpp
g++ -o src/world/tripai.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/world/tripai.cpp
g++ -o src/world/tripmis.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/world/tripmis.cpp
g++ -o src/gfx/fades.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/gfx/fades.cpp
g++ -o src/menus/tripmenu.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/menus/tripmenu.cpp
g++ -o src/world/terrain.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/world/terrain.cpp
g++ -o src/world/fobjects.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/world/fobjects.cpp
g++ -o src/world/tmexept.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/world/tmexept.cpp
g++ -o src/gfx/extra.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/gfx/extra.cpp
g++ -o src/settings.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/settings.cpp
g++ -o src/world/plane.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/world/plane.cpp
g++ -o src/io/joystick.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/io/joystick.cpp
g++ -o src/io/sound.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/io/sound.cpp
g++ -o src/world/tripaudio.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/world/tripaudio.cpp
g++ -o src/gfx/bitmap.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/gfx/bitmap.cpp
g++ -o src/gfx/font.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/gfx/font.cpp
g++ -o src/gfx/gfx.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/gfx/gfx.cpp
g++ -o src/util/wutil.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/util/wutil.cpp
g++ -o src/util/random.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/util/random.cpp
g++ -o src/io/sdl_compat.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/io/sdl_compat.cpp
g++ -o src/io/video.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/io/video.cpp
g++ -o src/io/mouse.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/io/mouse.cpp
g++ -o src/io/dksfile.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/io/dksfile.cpp
src/io/dksfile.cpp: In function ‘int extdksopen(const char*)’:
src/io/dksfile.cpp:159:9: warning: variable ‘faili’ set but not used [-Wunused-but-set-variable]
  159 |     int faili = 0;
      |         ^~~~~
g++ -o src/io/timing.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/io/timing.cpp
g++ -o tools/dksbuild -g src/tools/dksbuild/dksbuild.cc
g++ -o src/tools/lvledit/lvledit.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/tools/lvledit/lvledit.cpp
g++ -o src/tools/pgdview/pgdview.o -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\"" -c src/tools/pgdview/pgdview.cpp
g++ -o triplane -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\""  src/triplane.o src/world/tripai.o src/world/tripmis.o src/gfx/fades.o src/menus/tripmenu.o src/world/terrain.o src/world/fobjects.o src/world/tmexept.o src/gfx/extra.o src/settings.o src/world/plane.o src/io/joystick.o src/io/sound.o src/world/tripaudio.o src/gfx/bitmap.o src/gfx/font.o src/gfx/gfx.o src/util/wutil.o src/util/random.o src/io/sdl_compat.o src/io/video.o src/io/mouse.o src/io/dksfile.o src/io/timing.o `sdl-config --libs` -lSDL_mixer -lm
./tools/dksbuild data/fokker.lst

DKS Databuilder 2.1 for Wsystem        Copyright (C) 1996 Wraith

Reading file data/fokker.lst
......................................................................................................................................................................................................................................................................................................................................................

Processing entries found
......................................................................................................................................................................................................................................................................................................................................................

Temporary data constructed, writing...

fokker.dks created. Size: 4373430 Entries: 342.
g++ -o tools/lvledit -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\""  src/tools/lvledit/lvledit.o src/gfx/bitmap.o src/gfx/font.o src/gfx/gfx.o src/util/wutil.o src/util/random.o src/io/sdl_compat.o src/io/video.o src/io/mouse.o src/io/dksfile.o src/io/timing.o `sdl-config --libs` -lSDL_mixer -lm
g++ -o tools/pgdview -Wall -Isrc -O2 -g  `sdl-config --cflags` -DHAVE_SDL_MIXER "-DTRIPLANE_DATA=\"/usr/share/games/triplane\"" "-DTRIPLANE_VERSION=\"1.0.8\""  src/tools/pgdview/pgdview.o src/gfx/bitmap.o src/gfx/font.o src/gfx/gfx.o src/util/wutil.o src/util/random.o src/io/sdl_compat.o src/io/video.o src/io/mouse.o src/io/dksfile.o src/io/timing.o `sdl-config --libs` -lSDL_mixer -lm
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
	make -j2 test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if [ ! -d triplane-testsuite ]; then echo Please darcs get http://iki.fi/lindi/darcs/triplane-testsuite; false; fi
SDL_VIDEODRIVER=dummy bash tools/run-all-tests tools/run-one-test ./triplane triplane-testsuite
Running test triplane-testsuite/0-0
Running test triplane-testsuite/1-0
Running test triplane-testsuite/multi1
tools/run-one-test: line 8:   413 Segmentation fault         TRIPLANE_HOME="$tmptestdir" "$triplane" `cat "$tmptestdir/args"` > "$tmptestdir/output"
Test failed. Please investigate /tmp/triplane-testsuite.shalIviV7V
make[1]: *** [Makefile:87: test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test returned exit code 2
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-games-devel mailing list