[MacPorts] #71968: wabt fails to configure: needs C++17 and Python 3.x
MacPorts
noreply at macports.org
Wed Jan 29 13:32:01 UTC 2025
#71968: wabt fails to configure: needs C++17 and Python 3.x
---------------------------+------------------------
Reporter: barracuda156 | Owner: easieste@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: wabt |
---------------------------+------------------------
Comment (by barracuda156):
Replying to [comment:4 easye]:
> Replying to [comment:2 barracuda156]:
> > Also the bug here:
> > {{{
> […]
> > 30 | static_assert(sizeof(float) == sizeof(uint32_t),
"incompatible float type");
> > | ^~~~~~~~~~~~~
> > make[2]: *** [CMakeFiles/wasm-c-api-
callback.dir/third_party/wasm-c-api/example/callback.c.o] Error 1
> […]
> > }}}
> >
> > Perhaps `legacysupport` would be an easier fix, otherwise patch the
source.
>
> How do I reproduce this error?
>
> The port compiles for me locally, as well as the three runners on the
GitHub hook.
GCC is more picky with this (and/or possibly `libstdc++`, but the problem
is pretty common. Which is why `legacysupport` has incorporated the fix.
To answer the question: I am pretty sure that a build with some recent gcc
version on 10.6 (any arch) will do. Perhaps later systems too, but I have
no way to check that.
Buildbots are irrelevant for gcc-related compiler or runtime issues, since
they all use only libc++ with some clang.
P. S. Simply adding `legacysupport 1.1` fixed this for me. It won't be
used for the latest systems (there is a maximum threshold), and it can be
manually adjusted to a specific maximum OS version.
--
Ticket URL: <https://trac.macports.org/ticket/71968#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list