[MacPorts] #61483: neon @0.30.2 does not build on Big Sur (11.0.1)
MacPorts
noreply at macports.org
Mon Jan 4 16:25:14 UTC 2021
#61483: neon @0.30.2 does not build on Big Sur (11.0.1)
---------------------+--------------------
Reporter: AP1010 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: neon |
---------------------+--------------------
Comment (by kencu):
Replying to [comment:8 jungx098]:
> The root cause is that clang 12 enables `-Werror` by default. Not sure
if Apple will roll back this feature.
I don't think it's a blanket {{{-Werror}}}, but they do generate an error
on implicit function definitions, by default, as of Xcode12.
> One workaround is to add `-Wno-error=all` to `CFLAGS`.
Turning off the error can be done more specifically for that error as
well, or you can build with a non-Apple clang compiler like macports-
clang-10, however apparently if you fix the build that way, it remains
broken on all the new Apple Silicon machines, that require a proper header
and a proper function definition for every function.
So MacPorts is not accepting the fix of turning off the error or building
with a non-Apple clang compiler as a fix for this issue, as we'll all just
have to come right back to this same issue again in a few months and fix
it properly anyway.
As a fix for your own personal system, no problem of course -- it's your
system, you can do anything you want with it!
--
Ticket URL: <https://trac.macports.org/ticket/61483#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list