Package: src:openttd
Version: 14.1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:openttd, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=cmake
   dh_auto_clean -O--buildsystem=cmake
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
[ ! -f "debian/openttd.grf" ] || mv "debian/openttd.grf" 
"media/baseset/openttd.grf"
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=cmake
   dh_clean -O--buildsystem=cmake
 debian/rules binary
dh binary --buildsystem=cmake
   dh_update_autotools_config -O--buildsystem=cmake
   dh_autoreconf -O--buildsystem=cmake
   debian/rules override_dh_auto_configure

[... snipped ...]

In file included from /<<PKGBUILDDIR>>/src/linkgraph/../station_base.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraph.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraphjob_base.h:13,
                 from /<<PKGBUILDDIR>>/src/linkgraph/demands.h:6,
                 from /<<PKGBUILDDIR>>/src/linkgraph/demands.cpp:4:
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  229 |         inline SpecializedStation<T, Tis_waypoint>(TileIndex tile) :
      |                                                    ^~~~~~~~~
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: note: remove the 
‘< >’
[ 63%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/linkgraph/flowmapper.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] >>/src/linkgraph/flowmapper.cpp
In file included from /<<PKGBUILDDIR>>/src/linkgraph/../station_base.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraph.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraphjob_base.h:13,
                 from /<<PKGBUILDDIR>>/src/linkgraph/flowmapper.h:13,
                 from /<<PKGBUILDDIR>>/src/linkgraph/flowmapper.cpp:11:
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  229 |         inline SpecializedStation<T, Tis_waypoint>(TileIndex tile) :
      |                                                    ^~~~~~~~~
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: note: remove the 
‘< >’
[ 63%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/linkgraph/linkgraph.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] R>>/src/linkgraph/linkgraph.cpp
[ 63%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/linkgraph/linkgraph_gui.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] src/linkgraph/linkgraph_gui.cpp
In file included from /<<PKGBUILDDIR>>/src/linkgraph/../station_base.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraph.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraph.cpp:12:
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  229 |         inline SpecializedStation<T, Tis_waypoint>(TileIndex tile) :
      |                                                    ^~~~~~~~~
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: note: remove the 
‘< >’
In file included from /<<PKGBUILDDIR>>/src/linkgraph/../station_base.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraph_gui.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraph_gui.cpp:23:
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  229 |         inline SpecializedStation<T, Tis_waypoint>(TileIndex tile) :
      |                                                    ^~~~~~~~~
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: note: remove the 
‘< >’
In file included from /<<PKGBUILDDIR>>/src/linkgraph/../core/pool_func.hpp:16,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraph.cpp:11:
In static member function ‘static void Pool<Titem, Tindex, Tgrowth_step, 
Tmax_size, Tpool_type, Tcache, Tzero>::PoolItem<Tpool>::operator delete(void*) 
[with Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>* 
Tpool = (& _link_graph_pool); Titem = LinkGraph; Tindex = short unsigned int; 
long unsigned int Tgrowth_step = 32; long unsigned int Tmax_size = 65535; 
PoolType Tpool_type = PT_NORMAL; bool Tcache = false; bool Tzero = true]’,
    inlined from ‘static void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, 
Tpool_type, Tcache, Tzero>::PoolItem<Tpool>::operator delete(void*) [with 
Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>* Tpool 
= (& _link_graph_pool); Titem = LinkGraph; Tindex = short unsigned int; long 
unsigned int Tgrowth_step = 32; long unsigned int Tmax_size = 65535; PoolType 
Tpool_type = PT_NORMAL; bool Tcache = false; bool Tzero = true]’ at 
/<<PKGBUILDDIR>>/src/linkgraph/../core/pool_type.hpp:259:15,
    inlined from ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, 
Tpool_type, Tcache, Tzero>::CleanPool() [with Titem = LinkGraph; Tindex = short 
unsigned int; long unsigned int Tgrowth_step = 32; long unsigned int Tmax_size 
= 65535; PoolType Tpool_type = PT_NORMAL; bool Tcache = false; bool Tzero = 
true]’ at /<<PKGBUILDDIR>>/src/linkgraph/../core/pool_func.hpp:211:3:
/<<PKGBUILDDIR>>/src/linkgraph/../core/pool_type.hpp:264:45: warning: 
‘**_19.LinkGraph::Pool<LinkGraph, short unsigned int, 32, 65535>::PoolItem<(& 
_link_graph_pool)>.Pool<LinkGraph, short unsigned int, 32, 65535>::PoolItem<(& 
_link_graph_pool)>::index’ may be used uninitialized [-Wmaybe-uninitialized]
  264 |                         Tpool->FreeItem(pn->index);
      |                                         ~~~~^~~~~
In static member function ‘static void Pool<Titem, Tindex, Tgrowth_step, 
Tmax_size, Tpool_type, Tcache, Tzero>::PoolItem<Tpool>::operator delete(void*) 
[with Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>* 
Tpool = (& _link_graph_pool); Titem = LinkGraph; Tindex = short unsigned int; 
long unsigned int Tgrowth_step = 32; long unsigned int Tmax_size = 65535; 
PoolType Tpool_type = PT_NORMAL; bool Tcache = false; bool Tzero = true]’,
    inlined from ‘static void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, 
Tpool_type, Tcache, Tzero>::PoolItem<Tpool>::operator delete(void*) [with 
Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>* Tpool 
= (& _link_graph_pool); Titem = LinkGraph; Tindex = short unsigned int; long 
unsigned int Tgrowth_step = 32; long unsigned int Tmax_size = 65535; PoolType 
Tpool_type = PT_NORMAL; bool Tcache = false; bool Tzero = true]’ at 
/<<PKGBUILDDIR>>/src/linkgraph/../core/pool_type.hpp:259:15,
    inlined from ‘void LinkGraph::Merge(LinkGraph*)’ at 
/<<PKGBUILDDIR>>/src/linkgraph/linkgraph.cpp:109:9:
/<<PKGBUILDDIR>>/src/linkgraph/../core/pool_type.hpp:264:45: warning: 
‘*other.LinkGraph::Pool<LinkGraph, short unsigned int, 32, 
65535>::PoolItem<(& _link_graph_pool)>.Pool<LinkGraph, short unsigned int, 32, 
65535>::PoolItem<(& _link_graph_pool)>::index’ may be used uninitialized 
[-Wmaybe-uninitialized]
  264 |                         Tpool->FreeItem(pn->index);
      |                                         ~~~~^~~~~
[ 63%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/linkgraph/linkgraphjob.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] /src/linkgraph/linkgraphjob.cpp
In file included from /<<PKGBUILDDIR>>/src/linkgraph/../station_base.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraph.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraphjob.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraphjob.cpp:13:
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  229 |         inline SpecializedStation<T, Tis_waypoint>(TileIndex tile) :
      |                                                    ^~~~~~~~~
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: note: remove the 
‘< >’
[ 63%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/linkgraph/linkgraphschedule.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] linkgraph/linkgraphschedule.cpp
In file included from /<<PKGBUILDDIR>>/src/linkgraph/../station_base.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraph.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraphschedule.h:13,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraphschedule.cpp:11:
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  229 |         inline SpecializedStation<T, Tis_waypoint>(TileIndex tile) :
      |                                                    ^~~~~~~~~
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: note: remove the 
‘< >’
[ 63%] Building CXX object CMakeFiles/openttd_lib.dir/src/linkgraph/mcf.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] UILDDIR>>/src/linkgraph/mcf.cpp
In file included from /<<PKGBUILDDIR>>/src/linkgraph/../station_base.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraph.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraphjob_base.h:13,
                 from /<<PKGBUILDDIR>>/src/linkgraph/mcf.h:6,
                 from /<<PKGBUILDDIR>>/src/linkgraph/mcf.cpp:6:
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  229 |         inline SpecializedStation<T, Tis_waypoint>(TileIndex tile) :
      |                                                    ^~~~~~~~~
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: note: remove the 
‘< >’
[ 63%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/linkgraph/refresh.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] DIR>>/src/linkgraph/refresh.cpp
In file included from /<<PKGBUILDDIR>>/src/linkgraph/refresh.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/refresh.cpp:15:
/<<PKGBUILDDIR>>/src/linkgraph/../vehicle_base.h:1099:43: warning: template-id 
not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
 1099 |         inline SpecializedVehicle<T, Type>() : Vehicle(Type)
      |                                           ^
/<<PKGBUILDDIR>>/src/linkgraph/../vehicle_base.h:1099:43: note: remove the ‘< 
>’
In file included from /<<PKGBUILDDIR>>/src/linkgraph/../station_base.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/linkgraph.h:14,
                 from /<<PKGBUILDDIR>>/src/linkgraph/refresh.cpp:16:
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  229 |         inline SpecializedStation<T, Tis_waypoint>(TileIndex tile) :
      |                                                    ^~~~~~~~~
/<<PKGBUILDDIR>>/src/linkgraph/../base_station_base.h:229:52: note: remove the 
‘< >’
[ 64%] Building CXX object CMakeFiles/openttd_lib.dir/src/misc/countedobj.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] LDDIR>>/src/misc/countedobj.cpp
[ 64%] Building CXX object CMakeFiles/openttd_lib.dir/src/misc/dbg_helpers.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] DDIR>>/src/misc/dbg_helpers.cpp
[ 64%] Building CXX object CMakeFiles/openttd_lib.dir/src/misc/getoptdata.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] LDDIR>>/src/misc/getoptdata.cpp
[ 64%] Building CXX object CMakeFiles/openttd_lib.dir/src/music/fluidsynth.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] DDIR>>/src/music/fluidsynth.cpp
[ 64%] Building CXX object CMakeFiles/openttd_lib.dir/src/music/extmidi.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] UILDDIR>>/src/music/extmidi.cpp
[ 64%] Building CXX object CMakeFiles/openttd_lib.dir/src/music/midifile.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] ILDDIR>>/src/music/midifile.cpp
[ 64%] Building CXX object CMakeFiles/openttd_lib.dir/src/music/null_m.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] BUILDDIR>>/src/music/null_m.cpp
[ 64%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/address.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] >>/src/network/core/address.cpp
[ 64%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/config.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] R>>/src/network/core/config.cpp
[ 65%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/core.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] DIR>>/src/network/core/core.cpp
[ 65%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/network_game_info.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] work/core/network_game_info.cpp
[ 65%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/host.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] DIR>>/src/network/core/host.cpp
[ 65%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/os_abstraction.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] network/core/os_abstraction.cpp
[ 65%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/packet.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] R>>/src/network/core/packet.cpp
[ 65%] Building CXX object CMakeFiles/openttd_lib.dir/src/network/core/tcp.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] DDIR>>/src/network/core/tcp.cpp
[ 65%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/tcp_admin.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] /src/network/core/tcp_admin.cpp
[ 65%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/tcp_connect.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] rc/network/core/tcp_connect.cpp
[ 65%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/tcp_content.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] rc/network/core/tcp_content.cpp
[ 66%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/tcp_coordinator.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] etwork/core/tcp_coordinator.cpp
[ 66%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/tcp_game.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] >/src/network/core/tcp_game.cpp
[ 66%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/tcp_stun.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] >/src/network/core/tcp_stun.cpp
[ 66%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/tcp_turn.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] >/src/network/core/tcp_turn.cpp
[ 66%] Building CXX object CMakeFiles/openttd_lib.dir/src/network/core/udp.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] DDIR>>/src/network/core/udp.cpp
[ 66%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/core/http_curl.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] /src/network/core/http_curl.cpp
[ 66%] Building CXX object CMakeFiles/openttd_lib.dir/src/network/network.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] LDDIR>>/src/network/network.cpp
In file included from /<<PKGBUILDDIR>>/src/network/core/tcp_game.h:18,
                 from /<<PKGBUILDDIR>>/src/network/network_internal.h:15,
                 from /<<PKGBUILDDIR>>/src/network/network_admin.h:13,
                 from /<<PKGBUILDDIR>>/src/network/network.cpp:16:
In static member function ‘static void Pool<Titem, Tindex, Tgrowth_step, 
Tmax_size, Tpool_type, Tcache, Tzero>::PoolItem<Tpool>::operator delete(void*) 
[with Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>* 
Tpool = (& _networkclientinfo_pool); Titem = NetworkClientInfo; Tindex = 
unsigned char; long unsigned int Tgrowth_step = 8; long unsigned int Tmax_size 
= 256; PoolType Tpool_type = PT_NCLIENT; bool Tcache = false; bool Tzero = 
true]’,
    inlined from ‘static void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, 
Tpool_type, Tcache, Tzero>::PoolItem<Tpool>::operator delete(void*) [with 
Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>* Tpool 
= (& _networkclientinfo_pool); Titem = NetworkClientInfo; Tindex = unsigned 
char; long unsigned int Tgrowth_step = 8; long unsigned int Tmax_size = 256; 
PoolType Tpool_type = PT_NCLIENT; bool Tcache = false; bool Tzero = true]’ at 
/<<PKGBUILDDIR>>/src/network/core/../../core/pool_type.hpp:259:15,
    inlined from ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, 
Tpool_type, Tcache, Tzero>::CleanPool() [with Titem = NetworkClientInfo; Tindex 
= unsigned char; long unsigned int Tgrowth_step = 8; long unsigned int 
Tmax_size = 256; PoolType Tpool_type = PT_NCLIENT; bool Tcache = false; bool 
Tzero = true]’ at /<<PKGBUILDDIR>>/src/network/../core/pool_func.hpp:211:3:
/<<PKGBUILDDIR>>/src/network/core/../../core/pool_type.hpp:264:45: warning: 
‘**_20.NetworkClientInfo::Pool<NetworkClientInfo, unsigned char, 8, 256, 
PT_NCLIENT>::PoolItem<(& _networkclientinfo_pool)>.Pool<NetworkClientInfo, 
unsigned char, 8, 256, PT_NCLIENT>::PoolItem<(& 
_networkclientinfo_pool)>::index’ may be used uninitialized 
[-Wmaybe-uninitialized]
  264 |                         Tpool->FreeItem(pn->index);
      |                                         ~~~~^~~~~
[ 66%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_admin.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] >/src/network/network_admin.cpp
[ 66%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_chat_gui.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] rc/network/network_chat_gui.cpp
[ 67%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_client.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] /src/network/network_client.cpp
[ 67%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_command.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] src/network/network_command.cpp
[ 67%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_content.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] src/network/network_content.cpp
[ 67%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_content_gui.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] network/network_content_gui.cpp
[ 67%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_coordinator.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] network/network_coordinator.cpp
[ 67%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_gamelist.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] rc/network/network_gamelist.cpp
[ 67%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_gui.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] R>>/src/network/network_gui.cpp
[ 67%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_query.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] >/src/network/network_query.cpp
[ 68%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_server.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] /src/network/network_server.cpp
In file included from /<<PKGBUILDDIR>>/src/network/../station_base.h:14,
                 from /<<PKGBUILDDIR>>/src/network/network_server.cpp:22:
/<<PKGBUILDDIR>>/src/network/../base_station_base.h:229:52: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  229 |         inline SpecializedStation<T, Tis_waypoint>(TileIndex tile) :
      |                                                    ^~~~~~~~~
/<<PKGBUILDDIR>>/src/network/../base_station_base.h:229:52: note: remove the 
‘< >’
In file included from /<<PKGBUILDDIR>>/src/network/../ground_vehicle.hpp:13,
                 from /<<PKGBUILDDIR>>/src/network/../roadveh.h:13,
                 from /<<PKGBUILDDIR>>/src/network/network_server.cpp:27:
/<<PKGBUILDDIR>>/src/network/../vehicle_base.h:1099:43: warning: template-id 
not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
 1099 |         inline SpecializedVehicle<T, Type>() : Vehicle(Type)
      |                                           ^
/<<PKGBUILDDIR>>/src/network/../vehicle_base.h:1099:43: note: remove the ‘< 
>’
[ 68%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_stun.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] >>/src/network/network_stun.cpp
[ 68%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_survey.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] /src/network/network_survey.cpp
[ 68%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_turn.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] >>/src/network/network_turn.cpp
[ 68%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/network/network_udp.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] R>>/src/network/network_udp.cpp
[ 68%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/os/unix/crashlog_unix.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] >/src/os/unix/crashlog_unix.cpp
[ 68%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/os/unix/survey_unix.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] R>>/src/os/unix/survey_unix.cpp
[ 68%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/os/unix/library_loader_unix.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] os/unix/library_loader_unix.cpp
[ 68%] Building CXX object CMakeFiles/openttd_lib.dir/src/os/unix/unix.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] BUILDDIR>>/src/os/unix/unix.cpp
[ 69%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/os/unix/font_unix.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] DIR>>/src/os/unix/font_unix.cpp
[ 69%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/pathfinder/npf/aystar.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] >/src/pathfinder/npf/aystar.cpp
[ 69%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/pathfinder/npf/npf.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] IR>>/src/pathfinder/npf/npf.cpp
In file included from /<<PKGBUILDDIR>>/src/pathfinder/npf/../../ship.h:13,
                 from /<<PKGBUILDDIR>>/src/pathfinder/npf/npf.cpp:14:
/<<PKGBUILDDIR>>/src/pathfinder/npf/../../vehicle_base.h:1099:43: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
 1099 |         inline SpecializedVehicle<T, Type>() : Vehicle(Type)
      |                                           ^
/<<PKGBUILDDIR>>/src/pathfinder/npf/../../vehicle_base.h:1099:43: note: remove 
the ‘< >’
In file included from 
/<<PKGBUILDDIR>>/src/pathfinder/npf/../../waypoint_base.h:13,
                 from 
/<<PKGBUILDDIR>>/src/pathfinder/npf/../pathfinder_func.h:14,
                 from /<<PKGBUILDDIR>>/src/pathfinder/npf/npf.cpp:17:
/<<PKGBUILDDIR>>/src/pathfinder/npf/../../base_station_base.h:229:52: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  229 |         inline SpecializedStation<T, Tis_waypoint>(TileIndex tile) :
      |                                                    ^~~~~~~~~
/<<PKGBUILDDIR>>/src/pathfinder/npf/../../base_station_base.h:229:52: note: 
remove the ‘< >’
[ 69%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/pathfinder/npf/queue.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] >>/src/pathfinder/npf/queue.cpp
[ 69%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/pathfinder/yapf/yapf_rail.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] c/pathfinder/yapf/yapf_rail.cpp
In file included from 
/<<PKGBUILDDIR>>/src/pathfinder/yapf/../../waypoint_base.h:13,
                 from 
/<<PKGBUILDDIR>>/src/pathfinder/yapf/../pathfinder_func.h:14,
                 from /<<PKGBUILDDIR>>/src/pathfinder/yapf/yapf.hpp:14,
                 from /<<PKGBUILDDIR>>/src/pathfinder/yapf/yapf_rail.cpp:12:
/<<PKGBUILDDIR>>/src/pathfinder/yapf/../../base_station_base.h:229:52: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  229 |         inline SpecializedStation<T, Tis_waypoint>(TileIndex tile) :
      |                                                    ^~~~~~~~~
/<<PKGBUILDDIR>>/src/pathfinder/yapf/../../base_station_base.h:229:52: note: 
remove the ‘< >’
In file included from /<<PKGBUILDDIR>>/src/pathfinder/yapf/../../ship.h:13,
                 from /<<PKGBUILDDIR>>/src/pathfinder/yapf/yapf.h:16,
                 from /<<PKGBUILDDIR>>/src/pathfinder/yapf/yapf.hpp:15:
/<<PKGBUILDDIR>>/src/pathfinder/yapf/../../vehicle_base.h:1099:43: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
 1099 |         inline SpecializedVehicle<T, Type>() : Vehicle(Type)
      |                                           ^
/<<PKGBUILDDIR>>/src/pathfinder/yapf/../../vehicle_base.h:1099:43: note: remove 
the ‘< >’
[ 69%] Building CXX object 
CMakeFiles/openttd_lib.dir/src/pathfinder/yapf/yapf_road.cpp.o
/usr/bin/c++ -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  
[too-long-redacted] c/pathfinder/yapf/yapf_road.cpp
In file included from 
/<<PKGBUILDDIR>>/src/pathfinder/yapf/../../waypoint_base.h:13,
                 from 
/<<PKGBUILDDIR>>/src/pathfinder/yapf/../pathfinder_func.h:14,
                 from /<<PKGBUILDDIR>>/src/pathfinder/yapf/yapf.hpp:14,
                 from /<<PKGBUILDDIR>>/src/pathfinder/yapf/yapf_road.cpp:11:
/<<PKGBUILDDIR>>/src/pathfinder/yapf/../../base_station_base.h:229:52: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  229 |         inline SpecializedStation<T, Tis_waypoint>(TileIndex tile) :
      |                                                    ^~~~~~~~~
/<<PKGBUILDDIR>>/src/pathfinder/yapf/../../base_station_base.h:229:52: note: 
remove the ‘< >’
In file included from /<<PKGBUILDDIR>>/src/pathfinder/yapf/../../ship.h:13,
                 from /<<PKGBUILDDIR>>/src/pathfinder/yapf/yapf.h:16,
                 from /<<PKGBUILDDIR>>/src/pathfinder/yapf/yapf.hpp:15:
/<<PKGBUILDDIR>>/src/pathfinder/yapf/../../vehicle_base.h:1099:43: warning: 
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
 1099 |         inline SpecializedVehicle<T, Type>() : Vehicle(Type)
      |                                           ^
/<<PKGBUILDDIR>>/src/pathfinder/yapf/../../vehicle_base.h:1099:43: note: remove 
the ‘< >’
/<<PKGBUILDDIR>>/src/pathfinder/yapf/yapf_road.cpp: In member function ‘bool 
CYapfFollowRoadT<Types>::SetOriginFromVehiclePos(const RoadVehicle*)’:
/<<PKGBUILDDIR>>/src/pathfinder/yapf/yapf_road.cpp:465:73: error: ‘class 
CYapfFollowRoadT<Types>’ has no member named ‘IsTram’ [-Wtemplate-body]
  465 |                 if (!HasTrackdir(GetTrackdirBitsForRoad(src_tile, 
this->IsTram() ? RTT_TRAM : RTT_ROAD), src_td)) {
      |                                                                         
^~~~~~
make[4]: *** [CMakeFiles/openttd_lib.dir/build.make:3171: 
CMakeFiles/openttd_lib.dir/src/pathfinder/yapf/yapf_road.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:2363: CMakeFiles/openttd_lib.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:169: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:71: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to