Bug#1037564: 0ad: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:21:04 BST 2023


Package: src:0ad
Version: 0.0.26-3
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13

[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-13/g++-13, but succeeds to build with gcc-12/g++-12. 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/2023/05/22/logs/0ad_0.0.26-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html

[...]
../../../source/tools/atlas/GameInterface/MessagesSetup.h:120:48: note: in expansion of macro ‘B_TYPE’
  120 | #define B_MEMBERS(r, data, n, elem) Shareable< B_TYPE(elem) > B_NAME(elem);
      |                                                ^~~~~~
/usr/include/boost/preprocessor/seq/for_each_i.hpp:85:66: note: in expansion of macro ‘B_MEMBERS’
   85 | # define BOOST_PP_SEQ_FOR_EACH_I_M_I(r, macro, data, seq, i, sz) macro(r, data, i, BOOST_PP_SEQ_HEAD(seq))
      |                                                                  ^~~~~
/usr/include/boost/preprocessor/control/iif.hpp:32:31: note: in expansion of macro ‘QUERY_WITHOUT_INPUTS’
   32 | # define BOOST_PP_IIF_1(t, f) t
      |                               ^
../../../source/tools/atlas/GameInterface/Messages.h:212:1: note: in expansion of macro ‘QUERY’
  212 | QUERY(RasterizeMinimap,
      | ^~~~~
../../../source/tools/atlas/GameInterface/Messages.h:23:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   22 | #include "MessagesSetup.h"
  +++ |+#include <cstdint>
   23 | #endif
../../../source/tools/atlas/GameInterface/Messages.h:215:38: error: template argument 1 is invalid
  215 |                 ((std::vector<uint8_t>, imageBytes))
      |                                      ^
../../../source/tools/atlas/GameInterface/MessagesSetup.h:120:48: note: in expansion of macro ‘B_TYPE’
  120 | #define B_MEMBERS(r, data, n, elem) Shareable< B_TYPE(elem) > B_NAME(elem);
      |                                                ^~~~~~
/usr/include/boost/preprocessor/seq/for_each_i.hpp:85:66: note: in expansion of macro ‘B_MEMBERS’
   85 | # define BOOST_PP_SEQ_FOR_EACH_I_M_I(r, macro, data, seq, i, sz) macro(r, data, i, BOOST_PP_SEQ_HEAD(seq))
      |                                                                  ^~~~~
/usr/include/boost/preprocessor/control/iif.hpp:32:31: note: in expansion of macro ‘QUERY_WITHOUT_INPUTS’
   32 | # define BOOST_PP_IIF_1(t, f) t
      |                               ^
../../../source/tools/atlas/GameInterface/Messages.h:212:1: note: in expansion of macro ‘QUERY’
  212 | QUERY(RasterizeMinimap,
      | ^~~~~
../../../source/tools/atlas/GameInterface/Messages.h:215:38: error: template argument 2 is invalid
  215 |                 ((std::vector<uint8_t>, imageBytes))
      |                                      ^
../../../source/tools/atlas/GameInterface/MessagesSetup.h:120:48: note: in expansion of macro ‘B_TYPE’
  120 | #define B_MEMBERS(r, data, n, elem) Shareable< B_TYPE(elem) > B_NAME(elem);
      |                                                ^~~~~~
/usr/include/boost/preprocessor/seq/for_each_i.hpp:85:66: note: in expansion of macro ‘B_MEMBERS’
   85 | # define BOOST_PP_SEQ_FOR_EACH_I_M_I(r, macro, data, seq, i, sz) macro(r, data, i, BOOST_PP_SEQ_HEAD(seq))
      |                                                                  ^~~~~
/usr/include/boost/preprocessor/control/iif.hpp:32:31: note: in expansion of macro ‘QUERY_WITHOUT_INPUTS’
   32 | # define BOOST_PP_IIF_1(t, f) t
      |                               ^
../../../source/tools/atlas/GameInterface/Messages.h:212:1: note: in expansion of macro ‘QUERY’
  212 | QUERY(RasterizeMinimap,
      | ^~~~~
../../../source/tools/atlas/GameInterface/MessagesSetup.h:120:61: error: template argument 1 is invalid
  120 | #define B_MEMBERS(r, data, n, elem) Shareable< B_TYPE(elem) > B_NAME(elem);
      |                                                             ^
/usr/include/boost/preprocessor/seq/for_each_i.hpp:85:66: note: in expansion of macro ‘B_MEMBERS’
   85 | # define BOOST_PP_SEQ_FOR_EACH_I_M_I(r, macro, data, seq, i, sz) macro(r, data, i, BOOST_PP_SEQ_HEAD(seq))
      |                                                                  ^~~~~
/usr/include/boost/preprocessor/control/iif.hpp:32:31: note: in expansion of macro ‘QUERY_WITHOUT_INPUTS’
   32 | # define BOOST_PP_IIF_1(t, f) t
      |                               ^
../../../source/tools/atlas/GameInterface/Messages.h:212:1: note: in expansion of macro ‘QUERY’
  212 | QUERY(RasterizeMinimap,
      | ^~~~~
../../../source/tools/atlas/AtlasUI/CustomControls/MapResizeDialog/PseudoMiniMapPanel.cpp: In constructor ‘PseudoMiniMapPanel::PseudoMiniMapPanel(wxWindow*, int)’:
../../../source/tools/atlas/AtlasUI/CustomControls/MapResizeDialog/PseudoMiniMapPanel.cpp:64:43: error: invalid type argument of unary ‘*’ (have ‘int’)
   64 |         std::vector<uint8_t> imageBytes = *qryBackground.imageBytes;
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [AtlasUI.make:258: obj/AtlasUI_Release/MapResizeDialog.o] Error 1
make[3]: *** [AtlasUI.make:261: obj/AtlasUI_Release/PseudoMiniMapPanel.o] Error 1
make[2]: *** [Makefile:181: AtlasUI] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/workspaces/gcc'
make[1]: *** [debian/rules:42: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-games-devel mailing list