Bug#1097592: pingus: ftbfs with GCC-15

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


Package: src:pingus
Version: 0.7.6-6
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/pingus_0.7.6-6_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

[...]
Reports:
  * OpenGL support: enabled
  * Linux evdev support: disabled
  * Wiimote support: disabled
  * XInput support: disabled

scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/src/main.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/main.cpp
g++ -o build/external/tinygettext/tinygettext/dictionary.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext external/tinygettext/tinygettext/dictionary.cpp
g++ -o build/external/tinygettext/tinygettext/dictionary_manager.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext external/tinygettext/tinygettext/dictionary_manager.cpp
g++ -o build/external/tinygettext/tinygettext/iconv.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext external/tinygettext/tinygettext/iconv.cpp
g++ -o build/external/tinygettext/tinygettext/language.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext external/tinygettext/tinygettext/language.cpp
g++ -o build/external/tinygettext/tinygettext/log.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext external/tinygettext/tinygettext/log.cpp
g++ -o build/external/tinygettext/tinygettext/plural_forms.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext external/tinygettext/tinygettext/plural_forms.cpp
g++ -o build/external/tinygettext/tinygettext/po_parser.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext external/tinygettext/tinygettext/po_parser.cpp
g++ -o build/external/tinygettext/tinygettext/tinygettext.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext external/tinygettext/tinygettext/tinygettext.cpp
g++ -o build/external/tinygettext/tinygettext/unix_file_system.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext external/tinygettext/tinygettext/unix_file_system.cpp
g++ -o build/src/editor/action_properties.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/action_properties.cpp
g++ -o build/src/editor/button.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/button.cpp
g++ -o build/src/editor/checkbox.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/checkbox.cpp
g++ -o build/src/editor/combobox.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/combobox.cpp
g++ -o build/src/editor/editor_level.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/editor_level.cpp
g++ -o build/src/editor/editor_screen.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/editor_screen.cpp
g++ -o build/src/editor/file_dialog.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/file_dialog.cpp
g++ -o build/src/editor/file_list.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/file_list.cpp
g++ -o build/src/editor/generic_level_obj.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/generic_level_obj.cpp
g++ -o build/src/editor/group_level_obj.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/group_level_obj.cpp
g++ -o build/src/editor/gui_style.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/gui_style.cpp
g++ -o build/src/editor/inputbox.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/inputbox.cpp
g++ -o build/src/editor/label.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/label.cpp
g++ -o build/src/editor/level_obj.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/level_obj.cpp
g++ -o build/src/editor/level_obj_factory.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/level_obj_factory.cpp
g++ -o build/src/editor/level_properties.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/level_properties.cpp
g++ -o build/src/editor/message_box.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/message_box.cpp
g++ -o build/src/editor/minimap.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/minimap.cpp
g++ -o build/src/editor/object_properties.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/object_properties.cpp
g++ -o build/src/editor/object_selector.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/object_selector.cpp
g++ -o build/src/editor/object_selector_list.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/object_selector_list.cpp
g++ -o build/src/editor/object_selector_set.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/object_selector_set.cpp
g++ -o build/src/editor/panel.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/panel.cpp
g++ -o build/src/editor/viewport.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/editor/viewport.cpp
g++ -o build/src/engine/display/blitter.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/engine/display/blitter.cpp
g++ -o build/src/engine/display/display.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/engine/display/display.cpp
g++ -o build/src/engine/display/drawing_context.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/engine/display/drawing_context.cpp
g++ -o build/src/engine/display/font.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/pingus-0.7.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++0x -isystem/usr/include/libpng16 -isystem/usr/include/SDL -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/engine/display/font.cpp
In file included from src/engine/display/font.cpp:17:
src/engine/display/font.hpp:38:19: error: ‘uint32_t’ has not been declared
   38 |   float get_width(uint32_t unicode) const;
      |                   ^~~~~~~~
src/engine/display/font.hpp:23:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
   22 | #include "math/rect.hpp"
  +++ |+#include <cstdint>
   23 | 
src/engine/display/font.cpp:213:1: error: no declaration matches ‘float Font::get_width(uint32_t) const’
  213 | Font::get_width(uint32_t unicode) const
      | ^~~~
src/engine/display/font.hpp:39:9: note: candidates are: ‘float Font::get_width(const std::string&) const’
   39 |   float get_width(const std::string& text) const;
      |         ^~~~~~~~~
src/engine/display/font.hpp:38:9: note:                 ‘float Font::get_width(int) const’
   38 |   float get_width(uint32_t unicode) const;
      |         ^~~~~~~~~
src/engine/display/font.hpp:28:7: note: ‘class Font’ defined here
   28 | class Font
      |       ^~~~
scons: *** [build/src/engine/display/font.o] Error 1
scons: building terminated because of errors.
make: *** [debian/rules:24: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-games-devel mailing list