Bug#1133466: enigma: ftbfs with GCC-16

Emanuele Rocca ema at debian.org
Mon Apr 13 14:03:09 BST 2026


Package: src:enigma
Version: 1.30+dfsg-3
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

enigma fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/enigma_arm64.build.xz

The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/DispenserStone.o stones/DispenserStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/Door.o stones/Door.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/FakeStone.o stones/FakeStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/FlatStone.o stones/FlatStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/BoxStone.o stones/BoxStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/FloppySwitch.o stones/FloppySwitch.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/FourSwitch.o stones/FourSwitch.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/GhostStone.o stones/GhostStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/GlassStones.o stones/GlassStones.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/GreenBrownStone.o stones/GreenBrownStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/IceBlock.o stones/IceBlock.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/InkwellStone.o stones/InkwellStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/JambStone.o stones/JambStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/KeySwitch.o stones/KeySwitch.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/KnightStone.o stones/KnightStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/LaserStone.o stones/LaserStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/LaserSwitch.o stones/LaserSwitch.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/LightPassengerStone.o stones/LightPassengerStone.cc
display.cc: In member function ‘virtual void display::ModelLayer::tick(double)’:
display.cc:770:25: warning: ‘std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = display::Model]’ is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations]
  770 |     am.remove_if(mem_fun(&Model::is_garbage));
      |                  ~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/16/string:52,
                 from ../lib-src/enigma-core/ecl_util.hh:22,
                 from ../lib-src/enigma-core/ecl_geom.hh:21,
                 from display.hh:22,
                 from display_internal.hh:4,
                 from display.cc:23:
/usr/include/c++/16/bits/stl_function.h:1465:5: note: declared here
 1465 |     mem_fun(_Ret (_Tp::*__f)() const)
      |     ^~~~~~~
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/MagicStone.o stones/MagicStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/MailStone.o stones/MailStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/MirrorStone.o stones/MirrorStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/MonoFlopStone.o stones/MonoFlopStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/OneWayStone.o stones/OneWayStone.cc
nls.cc: In member function ‘virtual std::unique_ptr<std::basic_istream<char> > nls::TinyGetTextFileSystem::open_file(const std::string&)’:
nls.cc:96:51: error: ‘make_unique’ was not declared in this scope
   96 |     unique_ptr<std::basic_ifstream<char>> isptr = make_unique<std::basic_ifstream<char>>(move(ifs));
      |                                                   ^~~~~~~~~~~
nls.cc:96:51: note: ‘std::make_unique’ is only available from C++14 onwards
nls.cc:96:87: error: expected primary-expression before ‘>’ token
   96 |     unique_ptr<std::basic_ifstream<char>> isptr = make_unique<std::basic_ifstream<char>>(move(ifs));
      |                                                                                       ^~
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/OxydStone.o stones/OxydStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/PassageStone.o stones/PassageStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/PlasterStone.o stones/PlasterStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/PolarSwitchStone.o stones/PolarSwitchStone.cc
g++ -std=gnu++11 -std=c++14 -std=gnu++11 -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/build/reproducible-path/enigma-1.30+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DENABLE_ASSERT -O2 -ffast-math -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DDOCDIR=\"/usr/share/doc/enigma-doc\" -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext -I../lib-src/enigma-core    -I../lib-src -I../intl -I/usr/include/SDL2 -D_REENTRANT -c -o stones/PortalStone.o stones/PortalStone.cc
make[3]: *** [Makefile:1670: nls.o] Error 1
make[3]: *** Waiting for unfinished jobs....
main.cc: In member function ‘void enigma::Application::init_i18n()’:
main.cc:881:77: error: ‘make_unique’ is not a member of ‘std’
  881 |     nls::theDictionaryManager.reset(new tinygettext::DictionaryManager(std::make_unique<nls::TinyGetTextFileSystem>(), "UTF-8"));
      |                                                                             ^~~~~~~~~~~
main.cc:881:77: note: ‘std::make_unique’ is only available from C++14 onwards
main.cc:881:115: error: expected primary-expression before ‘>’ token
  881 |     nls::theDictionaryManager.reset(new tinygettext::DictionaryManager(std::make_unique<nls::TinyGetTextFileSystem>(), "UTF-8"));
      |                                                                                                                   ^
main.cc:881:117: error: expected primary-expression before ‘)’ token
  881 |     nls::theDictionaryManager.reset(new tinygettext::DictionaryManager(std::make_unique<nls::TinyGetTextFileSystem>(), "UTF-8"));
      |                                                                                                                     ^
make[3]: *** [Makefile:1670: main.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/enigma-1.30+dfsg/src'
make[2]: *** [Makefile:1020: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/enigma-1.30+dfsg/src'
make[1]: *** [Makefile:485: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/enigma-1.30+dfsg'
dh_auto_build: error: make -j128 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2



More information about the Pkg-games-devel mailing list