Open geaaru opened 8 months ago
0ad-0.0.26_alpha
has compile issues related to GCC 11.3.0:
In file included from /usr/include/fmt/format.h:49,
from /usr/include/fmt/printf.h:14,
from ../../../source/ps/CLogger.h:22,
from ../../../source/network/NetMessage.cpp:21:
/usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v10::detail::value<Context> fmt::v10::detail::make_arg(T&) [with bool PACKED = true; Context = fmt::v10::basic_printf_context<char>; T = const NetMessageType; typename std::enable_if<PACKED, int>::type <anonymous> = 0]’:
/usr/include/fmt/core.h:1842:51: required from ‘constexpr fmt::v10::format_arg_store<Context, Args>::format_arg_store(T& ...) [with T = {const NetMessageType}; Context = fmt::v10::basic_printf_context<char>; Args = {NetMessageType}]’
/usr/include/fmt/core.h:1860:18: required from ‘constexpr fmt::v10::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<T>::type>::type ...> fmt::v10::make_format_args(T& ...) [with Context = fmt::v10::basic_printf_context<char>; T = {const NetMessageType}]’
/usr/include/fmt/printf.h:614:68: required from ‘std::__cxx11::basic_string<Char> fmt::v10::sprintf(const S&, const T& ...) [with S = char [72]; T = {NetMessageType}; Char = char]’
../../../source/network/NetMessage.cpp:219:3: required from here
/usr/include/fmt/core.h:1600:63: error: ‘fmt::v10::detail::type_is_unformattable_for<const NetMessageType, char> _’ has incomplete type
1600 | type_is_unformattable_for<T, typename Context::char_type> _;
| ^
/usr/include/fmt/core.h:1604:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
1604 | formattable,
| ^~~~~~~~~~~
/usr/include/fmt/core.h:1604:7: note: ‘formattable’ evaluates to false
Using the upstream branch 0ad
compiles correctly. So, we move to ebuild 0ad-0.0.26_alpha_20240127.ebuild
from Geaaru Kit.
It seems that the version 0.0.26_alpha_20240127
is broken... it starts correctly but on running match it reports these errors:
ERROR: Could not load mesh 'art/meshes/structural/found_3x3_02.dae'
ERROR: CObjectEntry::BuildVariation(): Model art/meshes/structural/found_3x3_02.dae failed to load
ERROR: Error loading object variation (actor: art/actors/structures/fndn_3x3.xml)
ERROR: Could not load mesh 'art/meshes/skeletal/chicken.dae'
ERROR: CObjectEntry::BuildVariation(): Model art/meshes/skeletal/chicken.dae failed to load
ERROR: Error loading object variation (actor: art/actors/fauna/chicken.xml)
ERROR: Could not load mesh 'art/meshes/skeletal/chicken.dae'
ERROR: CObjectEntry::BuildVariation(): Model art/meshes/skeletal/chicken.dae failed to load
ERROR: Error loading object variation (actor: art/actors/fauna/chicken.xml)
ERROR: Could not load mesh 'art/meshes/skeletal/chicken.dae'
ERROR: CObjectEntry::BuildVariation(): Model art/meshes/skeletal/chicken.dae failed to load
ERROR: Error loading object variation (actor: art/actors/fauna/chicken.xml)
ERROR: Could not load mesh 'art/meshes/skeletal/chicken.dae'
ERROR: CObjectEntry::BuildVariation(): Model art/meshes/skeletal/chicken.dae failed to load
ERROR: Error loading object variation (actor: art/actors/fauna/chicken.xml)
ERROR: Could not load mesh 'art/meshes/skeletal/chicken.dae'
ERROR: CObjectEntry::BuildVariation(): Model art/meshes/skeletal/chicken.dae failed to load
ERROR: Error loading object variation (actor: art/actors/fauna/chicken.xml)
ERROR: Could not load mesh 'art/meshes/structural/found_4x4_01.dae'
ERROR: CObjectEntry::BuildVariation(): Model art/meshes/structural/found_4x4_01.dae failed to load
ERROR: Error loading object variation (actor: art/actors/structures/fndn_4x4.xml)
It seems related to this issue on building phase:
Converting model binaries/data/mods/public/art/animation/biped/chariot/maur_trader/death.dae
ERROR: Failed to load COLLADA conversion DLL
Converting model binaries/data/mods/public/art/animation/biped/chariot/maur_trader/idle.dae
ERROR: Failed to load COLLADA conversion DLL
Converting model binaries/data/mods/public/art/animation/biped/chariot/maur_trader/move_a.dae
ERROR: Failed to load COLLADA conversion DLL
Found the problem:
Converting model binaries/data/mods/public/art/animation/mechanical/celt_rotary_mill_grinder.dae
ERROR: DllLoader: dlopen(/usr/lib64/0ad/libCollada.so) failed: /usr/lib64/0ad/libCollada.so: cannot open shared object file: No such file or directory; dlopen(/usr/lib64/0ad/libCollada_dbg.so) failed: /usr/lib64/0ad/libCollada_dbg.so: cannot open shared object file: No such file or directory;
TIMER| LoadDLL: 176.266 us
vegan on a desert island
seems no longer maintained. User can eventually download the tarball and using existing solarus
package available in the tree
Reporting wishlist of the
akhenaten
user formacaroni-games
: