Bug#1075344: openmw: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:38:50 BST 2024


Package: src:openmw
Version: 0.48.0-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/openmw_0.48.0-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>>/build/extern/oics && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20 -MD -MT extern/oics/CMakeFiles/oics.dir/ICSInputControlSystem_mouse.cpp.o -MF CMakeFiles/oics.dir/ICSInputControlSystem_mouse.cpp.o.d -o CMakeFiles/oics.dir/ICSInputControlSystem_mouse.cpp.o -c /<<PKGBUILDDIR>>/extern/oics/ICSInputControlSystem_mouse.cpp
[  2%] Building CXX object extern/oics/CMakeFiles/oics.dir/ICSInputControlSystem_joystick.cpp.o
cd /<<PKGBUILDDIR>>/build/extern/oics && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20 -MD -MT extern/oics/CMakeFiles/oics.dir/ICSInputControlSystem_joystick.cpp.o -MF CMakeFiles/oics.dir/ICSInputControlSystem_joystick.cpp.o.d -o CMakeFiles/oics.dir/ICSInputControlSystem_joystick.cpp.o -c /<<PKGBUILDDIR>>/extern/oics/ICSInputControlSystem_joystick.cpp
[  2%] Building CXX object components/CMakeFiles/components.dir/lua/scriptscontainer.cpp.o
cd /<<PKGBUILDDIR>>/build/components && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/etc\" -DGLOBAL_DATA_PATH=\"/usr/share/games\" -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -I/<<PKGBUILDDIR>>/build/components -I/<<PKGBUILDDIR>>/extern/Base64/. -I/<<PKGBUILDDIR>>/extern/smhasher/. -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -isystem /usr/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20   -fPIC -MD -MT components/CMakeFiles/components.dir/lua/scriptscontainer.cpp.o -MF CMakeFiles/components.dir/lua/scriptscontainer.cpp.o.d -o CMakeFiles/components.dir/lua/scriptscontainer.cpp.o -c /<<PKGBUILDDIR>>/components/lua/scriptscontainer.cpp
[  2%] Building CXX object components/CMakeFiles/components.dir/lua/asyncpackage.cpp.o
cd /<<PKGBUILDDIR>>/build/components && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/etc\" -DGLOBAL_DATA_PATH=\"/usr/share/games\" -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -I/<<PKGBUILDDIR>>/build/components -I/<<PKGBUILDDIR>>/extern/Base64/. -I/<<PKGBUILDDIR>>/extern/smhasher/. -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -isystem /usr/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20   -fPIC -MD -MT components/CMakeFiles/components.dir/lua/asyncpackage.cpp.o -MF CMakeFiles/components.dir/lua/asyncpackage.cpp.o.d -o CMakeFiles/components.dir/lua/asyncpackage.cpp.o -c /<<PKGBUILDDIR>>/components/lua/asyncpackage.cpp
[  2%] Building CXX object components/CMakeFiles/components.dir/lua/utilpackage.cpp.o
cd /<<PKGBUILDDIR>>/build/components && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/etc\" -DGLOBAL_DATA_PATH=\"/usr/share/games\" -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -I/<<PKGBUILDDIR>>/build/components -I/<<PKGBUILDDIR>>/extern/Base64/. -I/<<PKGBUILDDIR>>/extern/smhasher/. -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -isystem /usr/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20   -fPIC -MD -MT components/CMakeFiles/components.dir/lua/utilpackage.cpp.o -MF CMakeFiles/components.dir/lua/utilpackage.cpp.o.d -o CMakeFiles/components.dir/lua/utilpackage.cpp.o -c /<<PKGBUILDDIR>>/components/lua/utilpackage.cpp
[  2%] Building CXX object components/CMakeFiles/components.dir/lua/serialization.cpp.o
cd /<<PKGBUILDDIR>>/build/components && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/etc\" -DGLOBAL_DATA_PATH=\"/usr/share/games\" -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -I/<<PKGBUILDDIR>>/build/components -I/<<PKGBUILDDIR>>/extern/Base64/. -I/<<PKGBUILDDIR>>/extern/smhasher/. -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -isystem /usr/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20   -fPIC -MD -MT components/CMakeFiles/components.dir/lua/serialization.cpp.o -MF CMakeFiles/components.dir/lua/serialization.cpp.o.d -o CMakeFiles/components.dir/lua/serialization.cpp.o -c /<<PKGBUILDDIR>>/components/lua/serialization.cpp
[  2%] Linking CXX static library libosg-ffmpeg-videoplayer.a
cd /<<PKGBUILDDIR>>/build/extern/osg-ffmpeg-videoplayer && /usr/bin/cmake -P CMakeFiles/osg-ffmpeg-videoplayer.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/build/extern/osg-ffmpeg-videoplayer && /usr/bin/cmake -E cmake_link_script CMakeFiles/osg-ffmpeg-videoplayer.dir/link.txt --verbose=1
/usr/bin/ar qc libosg-ffmpeg-videoplayer.a "CMakeFiles/osg-ffmpeg-videoplayer.dir/videoplayer.cpp.o" "CMakeFiles/osg-ffmpeg-videoplayer.dir/videostate.cpp.o" "CMakeFiles/osg-ffmpeg-videoplayer.dir/audiodecoder.cpp.o"
/usr/bin/ranlib libosg-ffmpeg-videoplayer.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
[  2%] Built target osg-ffmpeg-videoplayer
[  2%] Building CXX object components/CMakeFiles/components.dir/lua/configuration.cpp.o
cd /<<PKGBUILDDIR>>/build/components && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/etc\" -DGLOBAL_DATA_PATH=\"/usr/share/games\" -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -I/<<PKGBUILDDIR>>/build/components -I/<<PKGBUILDDIR>>/extern/Base64/. -I/<<PKGBUILDDIR>>/extern/smhasher/. -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -isystem /usr/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20   -fPIC -MD -MT components/CMakeFiles/components.dir/lua/configuration.cpp.o -MF CMakeFiles/components.dir/lua/configuration.cpp.o.d -o CMakeFiles/components.dir/lua/configuration.cpp.o -c /<<PKGBUILDDIR>>/components/lua/configuration.cpp
[  2%] Linking CXX static library liboics.a
cd /<<PKGBUILDDIR>>/build/extern/oics && /usr/bin/cmake -P CMakeFiles/oics.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/build/extern/oics && /usr/bin/cmake -E cmake_link_script CMakeFiles/oics.dir/link.txt --verbose=1
/usr/bin/ar qc liboics.a CMakeFiles/oics.dir/ICSChannel.cpp.o CMakeFiles/oics.dir/ICSControl.cpp.o CMakeFiles/oics.dir/ICSInputControlSystem.cpp.o CMakeFiles/oics.dir/ICSInputControlSystem_keyboard.cpp.o CMakeFiles/oics.dir/ICSInputControlSystem_mouse.cpp.o CMakeFiles/oics.dir/ICSInputControlSystem_joystick.cpp.o
/usr/bin/ranlib liboics.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
[  2%] Built target oics
[  2%] Building CXX object components/CMakeFiles/components.dir/lua/l10n.cpp.o
cd /<<PKGBUILDDIR>>/build/components && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/etc\" -DGLOBAL_DATA_PATH=\"/usr/share/games\" -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -I/<<PKGBUILDDIR>>/build/components -I/<<PKGBUILDDIR>>/extern/Base64/. -I/<<PKGBUILDDIR>>/extern/smhasher/. -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -isystem /usr/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20   -fPIC -MD -MT components/CMakeFiles/components.dir/lua/l10n.cpp.o -MF CMakeFiles/components.dir/lua/l10n.cpp.o.d -o CMakeFiles/components.dir/lua/l10n.cpp.o -c /<<PKGBUILDDIR>>/components/lua/l10n.cpp
[  2%] Linking CXX static library libosgQt.a
cd /<<PKGBUILDDIR>>/build/extern/osgQt && /usr/bin/cmake -P CMakeFiles/osgQt.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/build/extern/osgQt && /usr/bin/cmake -E cmake_link_script CMakeFiles/osgQt.dir/link.txt --verbose=1
/usr/bin/ar qc libosgQt.a CMakeFiles/osgQt.dir/GraphicsWindowQt.cpp.o
/usr/bin/ranlib libosgQt.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
[  2%] Built target osgQt
[  2%] Building CXX object components/CMakeFiles/components.dir/lua/storage.cpp.o
cd /<<PKGBUILDDIR>>/build/components && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/etc\" -DGLOBAL_DATA_PATH=\"/usr/share/games\" -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -I/<<PKGBUILDDIR>>/build/components -I/<<PKGBUILDDIR>>/extern/Base64/. -I/<<PKGBUILDDIR>>/extern/smhasher/. -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -isystem /usr/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20   -fPIC -MD -MT components/CMakeFiles/components.dir/lua/storage.cpp.o -MF CMakeFiles/components.dir/lua/storage.cpp.o.d -o CMakeFiles/components.dir/lua/storage.cpp.o -c /<<PKGBUILDDIR>>/components/lua/storage.cpp
[  2%] Building CXX object components/CMakeFiles/components.dir/l10n/messagebundles.cpp.o
cd /<<PKGBUILDDIR>>/build/components && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/etc\" -DGLOBAL_DATA_PATH=\"/usr/share/games\" -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -I/<<PKGBUILDDIR>>/build/components -I/<<PKGBUILDDIR>>/extern/Base64/. -I/<<PKGBUILDDIR>>/extern/smhasher/. -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -isystem /usr/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20   -fPIC -MD -MT components/CMakeFiles/components.dir/l10n/messagebundles.cpp.o -MF CMakeFiles/components.dir/l10n/messagebundles.cpp.o.d -o CMakeFiles/components.dir/l10n/messagebundles.cpp.o -c /<<PKGBUILDDIR>>/components/l10n/messagebundles.cpp
[  3%] Building CXX object components/CMakeFiles/components.dir/settings/settings.cpp.o
cd /<<PKGBUILDDIR>>/build/components && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/etc\" -DGLOBAL_DATA_PATH=\"/usr/share/games\" -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -I/<<PKGBUILDDIR>>/build/components -I/<<PKGBUILDDIR>>/extern/Base64/. -I/<<PKGBUILDDIR>>/extern/smhasher/. -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -isystem /usr/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20   -fPIC -MD -MT components/CMakeFiles/components.dir/settings/settings.cpp.o -MF CMakeFiles/components.dir/settings/settings.cpp.o.d -o CMakeFiles/components.dir/settings/settings.cpp.o -c /<<PKGBUILDDIR>>/components/settings/settings.cpp
[  3%] Building CXX object components/CMakeFiles/components.dir/settings/parser.cpp.o
cd /<<PKGBUILDDIR>>/build/components && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/etc\" -DGLOBAL_DATA_PATH=\"/usr/share/games\" -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -I/<<PKGBUILDDIR>>/build/components -I/<<PKGBUILDDIR>>/extern/Base64/. -I/<<PKGBUILDDIR>>/extern/smhasher/. -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -isystem /usr/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20   -fPIC -MD -MT components/CMakeFiles/components.dir/settings/parser.cpp.o -MF CMakeFiles/components.dir/settings/parser.cpp.o.d -o CMakeFiles/components.dir/settings/parser.cpp.o -c /<<PKGBUILDDIR>>/components/settings/parser.cpp
[  3%] Building CXX object components/CMakeFiles/components.dir/bsa/bsa_file.cpp.o
cd /<<PKGBUILDDIR>>/build/components && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON -DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/etc\" -DGLOBAL_DATA_PATH=\"/usr/share/games\" -DMYGUI_DONT_REPLACE_NULLPTR -DTIXML_USE_STL -D__STDC_CONSTANT_MACROS -I/<<PKGBUILDDIR>>/build/components -I/<<PKGBUILDDIR>>/extern/Base64/. -I/<<PKGBUILDDIR>>/extern/smhasher/. -isystem /<<PKGBUILDDIR>>/extern/sol_config -isystem /<<PKGBUILDDIR>>/extern/sol3 -isystem /usr/include/luajit-2.1 -isystem /usr/include/bullet -isystem /usr/include/AL -isystem /usr/include/MYGUI -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/. -isystem /usr/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-unused-but-set-parameter -O2 -g -DNDEBUG -std=gnu++20   -fPIC -MD -MT components/CMakeFiles/components.dir/bsa/bsa_file.cpp.o -MF CMakeFiles/components.dir/bsa/bsa_file.cpp.o.d -o CMakeFiles/components.dir/bsa/bsa_file.cpp.o -c /<<PKGBUILDDIR>>/components/bsa/bsa_file.cpp
/<<PKGBUILDDIR>>/components/bsa/bsa_file.cpp: In member function ‘virtual void Bsa::BSAFile::readHeader()’:
/<<PKGBUILDDIR>>/components/bsa/bsa_file.cpp:190:10: error: ‘sort’ is not a member of ‘std’; did you mean ‘qsort’?
  190 |     std::sort(mFiles.begin(), mFiles.end(), [](const FileStruct& left, const FileStruct& right) {
      |          ^~~~
      |          qsort
/<<PKGBUILDDIR>>/components/bsa/bsa_file.cpp: In member function ‘virtual void Bsa::BSAFile::writeHeader()’:
/<<PKGBUILDDIR>>/components/bsa/bsa_file.cpp:214:10: error: ‘sort’ is not a member of ‘std’; did you mean ‘qsort’?
  214 |     std::sort(mFiles.begin(), mFiles.end(), [](const FileStruct& left, const FileStruct& right) {
      |          ^~~~
      |          qsort
/<<PKGBUILDDIR>>/components/bsa/bsa_file.cpp: In member function ‘void Bsa::BSAFile::addFile(const std::string&, std::istream&)’:
/<<PKGBUILDDIR>>/components/bsa/bsa_file.cpp:304:18: error: ‘rotate’ is not a member of ‘std’
  304 |             std::rotate(mFiles.begin(), mFiles.begin() + 1, mFiles.end());
      |                  ^~~~~~
make[3]: *** [components/CMakeFiles/components.dir/build.make:230: components/CMakeFiles/components.dir/bsa/bsa_file.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:584: components/CMakeFiles/components.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:136: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:48: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-games-devel mailing list