Bug#1097577: phlipple: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:43:29 GMT 2025


Package: src:phlipple
Version: 0.8.5-5.1
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/phlipple_0.8.5-5.1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for sdl vorbisfile glew... yes
checking for IMG_Load in -lSDL_image... yes
checking for Mix_Linked_Version in -lSDL_mixer... yes
checking for main in -lGL... yes
checking for gluPerspective in -lGLU... yes
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for SDL/SDL_image.h... yes
checking for SDL/SDL_mixer.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating src/Makefile
config.status: creating extra/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make[1]: Leaving directory '/build/reproducible-path/phlipple-0.8.5'
   dh_auto_build
	make -j8
make[1]: Entering directory '/build/reproducible-path/phlipple-0.8.5'
make  all-recursive
make[2]: Entering directory '/build/reproducible-path/phlipple-0.8.5'
Making all in extra
make[3]: Entering directory '/build/reproducible-path/phlipple-0.8.5/extra'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/reproducible-path/phlipple-0.8.5/extra'
Making all in src
make[3]: Entering directory '/build/reproducible-path/phlipple-0.8.5/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o camera.o camera.c
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o engine.o engine.c
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o game.o game.c
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o gfxconstants.o gfxconstants.c
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o gradientrenderer.o gradientrenderer.c
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o interpolator.o interpolator.c
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o levels.o levels.c
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o main.o main.c
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mainscreen.o mainscreen.c
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o osinterface_sdl.o osinterface_sdl.c
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o phlipplerootscene.o phlipplerootscene.c
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o quad.o quad.c
gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/phlipple-0.8.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o quadrenderer.o quadrenderer.c
osinterface_sdl.c:414:6: error: conflicting types for ‘OS_stopMusic’; have ‘void(int)’
  414 | void OS_stopMusic(int id)
      |      ^~~~~~~~~~~~
In file included from osinterface_sdl.c:39:
osinterface.h:37:6: note: previous declaration of ‘OS_stopMusic’ with type ‘void(void)’
   37 | void OS_stopMusic();
      |      ^~~~~~~~~~~~
make[3]: *** [Makefile:443: osinterface_sdl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/phlipple-0.8.5/src'
make[2]: *** [Makefile:429: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/phlipple-0.8.5'
make[1]: *** [Makefile:349: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/phlipple-0.8.5'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-games-devel mailing list