Bug#1075274: minetest: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:36:34 BST 2024


Package: src:minetest
Version: 5.8.0+dfsg+~1.9.0mt13-1
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/minetest_5.8.0+dfsg+~1.9.0mt13-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

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-14/porting_to.html

[...]
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/shadows/dynamicshadowsrender.cpp.o -MF CMakeFiles/minetest.dir/client/shadows/dynamicshadowsrender.cpp.o.d -o CMakeFiles/minetest.dir/client/shadows/dynamicshadowsrender.cpp.o -c "/<<PKGBUILDDIR>>/src/client/shadows/dynamicshadowsrender.cpp"
[ 62%] Building CXX object src/CMakeFiles/minetest.dir/client/shadows/shadowsScreenQuad.cpp.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/shadows/shadowsScreenQuad.cpp.o -MF CMakeFiles/minetest.dir/client/shadows/shadowsScreenQuad.cpp.o.d -o CMakeFiles/minetest.dir/client/shadows/shadowsScreenQuad.cpp.o -c "/<<PKGBUILDDIR>>/src/client/shadows/shadowsScreenQuad.cpp"
[ 63%] Building CXX object src/CMakeFiles/minetest.dir/client/shadows/shadowsshadercallbacks.cpp.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/shadows/shadowsshadercallbacks.cpp.o -MF CMakeFiles/minetest.dir/client/shadows/shadowsshadercallbacks.cpp.o.d -o CMakeFiles/minetest.dir/client/shadows/shadowsshadercallbacks.cpp.o -c "/<<PKGBUILDDIR>>/src/client/shadows/shadowsshadercallbacks.cpp"
[ 63%] Building CXX object src/CMakeFiles/minetest.dir/client/sky.cpp.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/sky.cpp.o -MF CMakeFiles/minetest.dir/client/sky.cpp.o.d -o CMakeFiles/minetest.dir/client/sky.cpp.o -c "/<<PKGBUILDDIR>>/src/client/sky.cpp"
[ 63%] Building CXX object src/CMakeFiles/minetest.dir/client/sound.cpp.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/sound.cpp.o -MF CMakeFiles/minetest.dir/client/sound.cpp.o.d -o CMakeFiles/minetest.dir/client/sound.cpp.o -c "/<<PKGBUILDDIR>>/src/client/sound.cpp"
[ 63%] Building CXX object src/CMakeFiles/minetest.dir/client/sound/al_helpers.cpp.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/sound/al_helpers.cpp.o -MF CMakeFiles/minetest.dir/client/sound/al_helpers.cpp.o.d -o CMakeFiles/minetest.dir/client/sound/al_helpers.cpp.o -c "/<<PKGBUILDDIR>>/src/client/sound/al_helpers.cpp"
[ 63%] Building CXX object src/CMakeFiles/minetest.dir/client/sound/ogg_file.cpp.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/sound/ogg_file.cpp.o -MF CMakeFiles/minetest.dir/client/sound/ogg_file.cpp.o.d -o CMakeFiles/minetest.dir/client/sound/ogg_file.cpp.o -c "/<<PKGBUILDDIR>>/src/client/sound/ogg_file.cpp"
[ 63%] Building CXX object src/CMakeFiles/minetest.dir/client/sound/playing_sound.cpp.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/sound/playing_sound.cpp.o -MF CMakeFiles/minetest.dir/client/sound/playing_sound.cpp.o.d -o CMakeFiles/minetest.dir/client/sound/playing_sound.cpp.o -c "/<<PKGBUILDDIR>>/src/client/sound/playing_sound.cpp"
[ 63%] Building CXX object src/CMakeFiles/minetest.dir/client/sound/proxy_sound_manager.cpp.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/sound/proxy_sound_manager.cpp.o -MF CMakeFiles/minetest.dir/client/sound/proxy_sound_manager.cpp.o.d -o CMakeFiles/minetest.dir/client/sound/proxy_sound_manager.cpp.o -c "/<<PKGBUILDDIR>>/src/client/sound/proxy_sound_manager.cpp"
[ 64%] Building CXX object src/CMakeFiles/minetest.dir/client/sound/sound_data.cpp.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/sound/sound_data.cpp.o -MF CMakeFiles/minetest.dir/client/sound/sound_data.cpp.o.d -o CMakeFiles/minetest.dir/client/sound/sound_data.cpp.o -c "/<<PKGBUILDDIR>>/src/client/sound/sound_data.cpp"
[ 64%] Building CXX object src/CMakeFiles/minetest.dir/client/sound/sound_manager.cpp.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/sound/sound_manager.cpp.o -MF CMakeFiles/minetest.dir/client/sound/sound_manager.cpp.o.d -o CMakeFiles/minetest.dir/client/sound/sound_manager.cpp.o -c "/<<PKGBUILDDIR>>/src/client/sound/sound_manager.cpp"
[ 64%] Linking CXX executable "/<<PKGBUILDDIR>>/bin/minetestserver"
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/cmake -E cmake_link_script CMakeFiles/minetestserver.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -Wl,-z,relro -Wl,-z,now CMakeFiles/minetestserver.dir/content/content.cpp.o CMakeFiles/minetestserver.dir/content/mod_configuration.cpp.o CMakeFiles/minetestserver.dir/content/mods.cpp.o CMakeFiles/minetestserver.dir/content/subgames.cpp.o "CMakeFiles/minetestserver.dir/database/database-dummy.cpp.o" "CMakeFiles/minetestserver.dir/database/database-files.cpp.o" "CMakeFiles/minetestserver.dir/database/database-leveldb.cpp.o" "CMakeFiles/minetestserver.dir/database/database-postgresql.cpp.o" "CMakeFiles/minetestserver.dir/database/database-redis.cpp.o" "CMakeFiles/minetestserver.dir/database/database-sqlite3.cpp.o" CMakeFiles/minetestserver.dir/database/database.cpp.o CMakeFiles/minetestserver.dir/mapgen/cavegen.cpp.o CMakeFiles/minetestserver.dir/mapgen/dungeongen.cpp.o CMakeFiles/minetestserver.dir/mapgen/mapgen.cpp.o CMakeFiles/minetestserver.dir/mapgen/mapgen_carpathian.cpp.o CMakeFiles/minetestserver.dir/mapgen/mapgen_flat.cpp.o CMakeFiles/minetestserver.dir/mapgen/mapgen_fractal.cpp.o CMakeFiles/minetestserver.dir/mapgen/mapgen_singlenode.cpp.o CMakeFiles/minetestserver.dir/mapgen/mapgen_v5.cpp.o CMakeFiles/minetestserver.dir/mapgen/mapgen_v6.cpp.o CMakeFiles/minetestserver.dir/mapgen/mapgen_v7.cpp.o CMakeFiles/minetestserver.dir/mapgen/mapgen_valleys.cpp.o CMakeFiles/minetestserver.dir/mapgen/mg_biome.cpp.o CMakeFiles/minetestserver.dir/mapgen/mg_decoration.cpp.o CMakeFiles/minetestserver.dir/mapgen/mg_ore.cpp.o CMakeFiles/minetestserver.dir/mapgen/mg_schematic.cpp.o CMakeFiles/minetestserver.dir/mapgen/treegen.cpp.o CMakeFiles/minetestserver.dir/network/address.cpp.o CMakeFiles/minetestserver.dir/network/connection.cpp.o CMakeFiles/minetestserver.dir/network/connectionthreads.cpp.o CMakeFiles/minetestserver.dir/network/networkpacket.cpp.o CMakeFiles/minetestserver.dir/network/serveropcodes.cpp.o CMakeFiles/minetestserver.dir/network/serverpackethandler.cpp.o CMakeFiles/minetestserver.dir/network/socket.cpp.o CMakeFiles/minetestserver.dir/script/common/c_content.cpp.o CMakeFiles/minetestserver.dir/script/common/c_converter.cpp.o CMakeFiles/minetestserver.dir/script/common/c_internal.cpp.o CMakeFiles/minetestserver.dir/script/common/c_packer.cpp.o CMakeFiles/minetestserver.dir/script/common/c_types.cpp.o CMakeFiles/minetestserver.dir/script/common/helper.cpp.o CMakeFiles/minetestserver.dir/script/cpp_api/s_async.cpp.o CMakeFiles/minetestserver.dir/script/cpp_api/s_base.cpp.o CMakeFiles/minetestserver.dir/script/cpp_api/s_entity.cpp.o CMakeFiles/minetestserver.dir/script/cpp_api/s_env.cpp.o CMakeFiles/minetestserver.dir/script/cpp_api/s_inventory.cpp.o CMakeFiles/minetestserver.dir/script/cpp_api/s_item.cpp.o CMakeFiles/minetestserver.dir/script/cpp_api/s_modchannels.cpp.o CMakeFiles/minetestserver.dir/script/cpp_api/s_node.cpp.o CMakeFiles/minetestserver.dir/script/cpp_api/s_nodemeta.cpp.o CMakeFiles/minetestserver.dir/script/cpp_api/s_player.cpp.o CMakeFiles/minetestserver.dir/script/cpp_api/s_security.cpp.o CMakeFiles/minetestserver.dir/script/cpp_api/s_server.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_areastore.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_auth.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_base.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_craft.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_env.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_http.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_inventory.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_item.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_itemstackmeta.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_mapgen.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_metadata.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_modchannels.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_nodemeta.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_nodetimer.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_noise.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_object.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_particles.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_playermeta.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_rollback.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_server.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_settings.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_storage.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_util.cpp.o CMakeFiles/minetestserver.dir/script/lua_api/l_vmanip.cpp.o CMakeFiles/minetestserver.dir/script/scripting_server.cpp.o CMakeFiles/minetestserver.dir/server/activeobjectmgr.cpp.o CMakeFiles/minetestserver.dir/server/luaentity_sao.cpp.o CMakeFiles/minetestserver.dir/server/mods.cpp.o CMakeFiles/minetestserver.dir/server/player_sao.cpp.o CMakeFiles/minetestserver.dir/server/serveractiveobject.cpp.o CMakeFiles/minetestserver.dir/server/serverinventorymgr.cpp.o CMakeFiles/minetestserver.dir/server/unit_sao.cpp.o CMakeFiles/minetestserver.dir/threading/event.cpp.o CMakeFiles/minetestserver.dir/threading/semaphore.cpp.o CMakeFiles/minetestserver.dir/threading/thread.cpp.o CMakeFiles/minetestserver.dir/unittest/test.cpp.o CMakeFiles/minetestserver.dir/unittest/test_activeobject.cpp.o CMakeFiles/minetestserver.dir/unittest/test_address.cpp.o CMakeFiles/minetestserver.dir/unittest/test_areastore.cpp.o CMakeFiles/minetestserver.dir/unittest/test_authdatabase.cpp.o CMakeFiles/minetestserver.dir/unittest/test_ban.cpp.o CMakeFiles/minetestserver.dir/unittest/test_collision.cpp.o CMakeFiles/minetestserver.dir/unittest/test_compression.cpp.o CMakeFiles/minetestserver.dir/unittest/test_connection.cpp.o CMakeFiles/minetestserver.dir/unittest/test_craft.cpp.o CMakeFiles/minetestserver.dir/unittest/test_filepath.cpp.o CMakeFiles/minetestserver.dir/unittest/test_gettext.cpp.o CMakeFiles/minetestserver.dir/unittest/test_inventory.cpp.o CMakeFiles/minetestserver.dir/unittest/test_irrptr.cpp.o CMakeFiles/minetestserver.dir/unittest/test_lua.cpp.o CMakeFiles/minetestserver.dir/unittest/test_map.cpp.o CMakeFiles/minetestserver.dir/unittest/test_map_settings_manager.cpp.o CMakeFiles/minetestserver.dir/unittest/test_mapnode.cpp.o CMakeFiles/minetestserver.dir/unittest/test_modchannels.cpp.o CMakeFiles/minetestserver.dir/unittest/test_modstoragedatabase.cpp.o CMakeFiles/minetestserver.dir/unittest/test_moveaction.cpp.o CMakeFiles/minetestserver.dir/unittest/test_nodedef.cpp.o CMakeFiles/minetestserver.dir/unittest/test_noderesolver.cpp.o CMakeFiles/minetestserver.dir/unittest/test_noise.cpp.o CMakeFiles/minetestserver.dir/unittest/test_objdef.cpp.o CMakeFiles/minetestserver.dir/unittest/test_profiler.cpp.o CMakeFiles/minetestserver.dir/unittest/test_random.cpp.o CMakeFiles/minetestserver.dir/unittest/test_schematic.cpp.o CMakeFiles/minetestserver.dir/unittest/test_serialization.cpp.o CMakeFiles/minetestserver.dir/unittest/test_server_shutdown_state.cpp.o CMakeFiles/minetestserver.dir/unittest/test_serveractiveobjectmgr.cpp.o CMakeFiles/minetestserver.dir/unittest/test_servermodmanager.cpp.o CMakeFiles/minetestserver.dir/unittest/test_settings.cpp.o CMakeFiles/minetestserver.dir/unittest/test_socket.cpp.o CMakeFiles/minetestserver.dir/unittest/test_threading.cpp.o CMakeFiles/minetestserver.dir/unittest/test_utilities.cpp.o CMakeFiles/minetestserver.dir/unittest/test_voxelalgorithms.cpp.o CMakeFiles/minetestserver.dir/unittest/test_voxelarea.cpp.o CMakeFiles/minetestserver.dir/unittest/test_voxelmanipulator.cpp.o CMakeFiles/minetestserver.dir/util/areastore.cpp.o CMakeFiles/minetestserver.dir/util/auth.cpp.o CMakeFiles/minetestserver.dir/util/base64.cpp.o CMakeFiles/minetestserver.dir/util/directiontables.cpp.o CMakeFiles/minetestserver.dir/util/enriched_string.cpp.o CMakeFiles/minetestserver.dir/util/ieee_float.cpp.o CMakeFiles/minetestserver.dir/util/metricsbackend.cpp.o CMakeFiles/minetestserver.dir/util/numeric.cpp.o CMakeFiles/minetestserver.dir/util/png.cpp.o CMakeFiles/minetestserver.dir/util/pointedthing.cpp.o CMakeFiles/minetestserver.dir/util/quicktune.cpp.o CMakeFiles/minetestserver.dir/util/serialize.cpp.o CMakeFiles/minetestserver.dir/util/sha1.cpp.o CMakeFiles/minetestserver.dir/util/sha256.c.o CMakeFiles/minetestserver.dir/util/srp.cpp.o CMakeFiles/minetestserver.dir/util/string.cpp.o CMakeFiles/minetestserver.dir/util/timetaker.cpp.o CMakeFiles/minetestserver.dir/ban.cpp.o CMakeFiles/minetestserver.dir/chat.cpp.o CMakeFiles/minetestserver.dir/clientiface.cpp.o CMakeFiles/minetestserver.dir/collision.cpp.o CMakeFiles/minetestserver.dir/content_mapnode.cpp.o CMakeFiles/minetestserver.dir/content_nodemeta.cpp.o CMakeFiles/minetestserver.dir/convert_json.cpp.o CMakeFiles/minetestserver.dir/craftdef.cpp.o CMakeFiles/minetestserver.dir/debug.cpp.o CMakeFiles/minetestserver.dir/defaultsettings.cpp.o CMakeFiles/minetestserver.dir/emerge.cpp.o CMakeFiles/minetestserver.dir/environment.cpp.o CMakeFiles/minetestserver.dir/face_position_cache.cpp.o CMakeFiles/minetestserver.dir/filesys.cpp.o CMakeFiles/minetestserver.dir/gettext.cpp.o CMakeFiles/minetestserver.dir/httpfetch.cpp.o CMakeFiles/minetestserver.dir/hud.cpp.o CMakeFiles/minetestserver.dir/inventory.cpp.o CMakeFiles/minetestserver.dir/inventorymanager.cpp.o CMakeFiles/minetestserver.dir/itemdef.cpp.o CMakeFiles/minetestserver.dir/itemstackmetadata.cpp.o CMakeFiles/minetestserver.dir/light.cpp.o CMakeFiles/minetestserver.dir/lighting.cpp.o CMakeFiles/minetestserver.dir/log.cpp.o CMakeFiles/minetestserver.dir/main.cpp.o CMakeFiles/minetestserver.dir/map.cpp.o CMakeFiles/minetestserver.dir/map_settings_manager.cpp.o CMakeFiles/minetestserver.dir/mapblock.cpp.o CMakeFiles/minetestserver.dir/mapnode.cpp.o CMakeFiles/minetestserver.dir/mapsector.cpp.o CMakeFiles/minetestserver.dir/metadata.cpp.o CMakeFiles/minetestserver.dir/modchannels.cpp.o CMakeFiles/minetestserver.dir/nameidmapping.cpp.o CMakeFiles/minetestserver.dir/nodedef.cpp.o CMakeFiles/minetestserver.dir/nodemetadata.cpp.o CMakeFiles/minetestserver.dir/nodetimer.cpp.o CMakeFiles/minetestserver.dir/noise.cpp.o CMakeFiles/minetestserver.dir/objdef.cpp.o CMakeFiles/minetestserver.dir/object_properties.cpp.o CMakeFiles/minetestserver.dir/particles.cpp.o CMakeFiles/minetestserver.dir/pathfinder.cpp.o CMakeFiles/minetestserver.dir/player.cpp.o CMakeFiles/minetestserver.dir/porting.cpp.o CMakeFiles/minetestserver.dir/profiler.cpp.o CMakeFiles/minetestserver.dir/raycast.cpp.o CMakeFiles/minetestserver.dir/reflowscan.cpp.o CMakeFiles/minetestserver.dir/remoteplayer.cpp.o CMakeFiles/minetestserver.dir/rollback.cpp.o CMakeFiles/minetestserver.dir/rollback_interface.cpp.o CMakeFiles/minetestserver.dir/serialization.cpp.o CMakeFiles/minetestserver.dir/server.cpp.o CMakeFiles/minetestserver.dir/serverenvironment.cpp.o CMakeFiles/minetestserver.dir/serverlist.cpp.o CMakeFiles/minetestserver.dir/settings.cpp.o CMakeFiles/minetestserver.dir/staticobject.cpp.o CMakeFiles/minetestserver.dir/terminal_chat_console.cpp.o CMakeFiles/minetestserver.dir/texture_override.cpp.o CMakeFiles/minetestserver.dir/tileanimation.cpp.o CMakeFiles/minetestserver.dir/tool.cpp.o CMakeFiles/minetestserver.dir/translation.cpp.o CMakeFiles/minetestserver.dir/version.cpp.o CMakeFiles/minetestserver.dir/voxel.cpp.o CMakeFiles/minetestserver.dir/voxelalgorithms.cpp.o -o "/<<PKGBUILDDIR>>/bin/minetestserver"  /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libzstd.so /usr/lib/x86_64-linux-gnu/libsqlite3.so /usr/lib/x86_64-linux-gnu/libjsoncpp.so /usr/lib/x86_64-linux-gnu/libluajit-5.1.so /usr/lib/x86_64-linux-gnu/libgmp.so -lrt -ldl -lncursesw /usr/lib/x86_64-linux-gnu/libform.so /usr/lib/x86_64-linux-gnu/libpq.so /usr/lib/x86_64-linux-gnu/libleveldb.so /usr/lib/x86_64-linux-gnu/libspatialindex.so /usr/lib/x86_64-linux-gnu/libcurl.so
[ 64%] Building CXX object src/CMakeFiles/minetest.dir/client/sound/sound_openal.cpp.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/sound/sound_openal.cpp.o -MF CMakeFiles/minetest.dir/client/sound/sound_openal.cpp.o.d -o CMakeFiles/minetest.dir/client/sound/sound_openal.cpp.o -c "/<<PKGBUILDDIR>>/src/client/sound/sound_openal.cpp"
/<<PKGBUILDDIR>>/src/client/sound/sound_data.cpp: In member function ‘virtual std::tuple<unsigned int, unsigned int, unsigned int> sound::SoundDataOpenStream::getOrLoadBufferAt(ALuint)’:
/<<PKGBUILDDIR>>/src/client/sound/sound_data.cpp:132:42: error: no matching function for call to ‘lower_bound(std::vector<sound::SoundDataOpenStream::ContiguousBuffers>::reverse_iterator, std::vector<sound::SoundDataOpenStream::ContiguousBuffers>::reverse_iterator, ALuint&, sound::SoundDataOpenStream::getOrLoadBufferAt(ALuint)::<lambda(const sound::SoundDataOpenStream::ContiguousBuffers&, ALuint)>)’
  132 |         auto lower_rit = std::lower_bound(m_bufferss.rbegin(), m_bufferss.rend(), offset,
      |                          ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  133 |                         [](const ContiguousBuffers &bufs, ALuint offset) {
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  134 |                                 return bufs.m_start > offset;
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  135 |                         });
      |                         ~~                
In file included from /usr/include/c++/14/bits/stl_tree.h:63,
                 from /usr/include/c++/14/map:62,
                 from /<<PKGBUILDDIR>>/src/log.h:23,
                 from /<<PKGBUILDDIR>>/src/client/sound/al_helpers.h:27,
                 from /<<PKGBUILDDIR>>/src/client/sound/ogg_file.h:27,
                 from /<<PKGBUILDDIR>>/src/client/sound/sound_data.h:27,
                 from /<<PKGBUILDDIR>>/src/client/sound/sound_data.cpp:25:
/usr/include/c++/14/bits/stl_algobase.h:1527:5: note: candidate: ‘template<class _ForwardIterator, class _Tp> _ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&)’
 1527 |     lower_bound(_ForwardIterator __first, _ForwardIterator __last,
      |     ^~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:1527:5: note:   candidate expects 3 arguments, 4 provided
/<<PKGBUILDDIR>>/src/client/sound/sound_data.cpp:142:38: error: ‘upper_bound’ is not a member of ‘std’; did you mean ‘lower_bound’?
  142 |                 auto upper_it = std::upper_bound(bufs.begin(), bufs.end(), offset,
      |                                      ^~~~~~~~~~~
      |                                      lower_bound
/<<PKGBUILDDIR>>/src/client/sound/sound_data.cpp:150:90: error: could not convert ‘{<expression error>, <expression error>, (offset - start)}’ from ‘<brace-enclosed initializer list>’ to ‘std::tuple<unsigned int, unsigned int, unsigned int>’
  150 |                         return {upper_it->m_buffer.get(), upper_it->m_end, offset - start};
      |                                                                                          ^
      |                                                                                          |
      |                                                                                          <brace-enclosed initializer list>
[ 64%] Building CXX object src/CMakeFiles/minetest.dir/client/sound/sound_singleton.cpp.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/postgresql -I/usr/include/leveldb -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/src/script" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/include" -I"/<<PKGBUILDDIR>>/lib/irrlichtmt/source/Irrlicht" -isystem /usr/include/luajit-2.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/AL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-unused-parameter  -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -g -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/client/sound/sound_singleton.cpp.o -MF CMakeFiles/minetest.dir/client/sound/sound_singleton.cpp.o.d -o CMakeFiles/minetest.dir/client/sound/sound_singleton.cpp.o -c "/<<PKGBUILDDIR>>/src/client/sound/sound_singleton.cpp"
make[3]: *** [src/CMakeFiles/minetest.dir/build.make:779: src/CMakeFiles/minetest.dir/client/sound/sound_data.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 64%] Built target minetestserver
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:674: src/CMakeFiles/minetest.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:53: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-games-devel mailing list