[MacPorts] #69025: SuiteSparse_CHOLMOD fails to build: error: two or more data types in declaration specifiers
MacPorts
noreply at macports.org
Wed Jan 3 11:53:48 UTC 2024
#69025: SuiteSparse_CHOLMOD fails to build: error: two or more data types in
declaration specifiers
-------------------------+-------------------------------------------------
Reporter: | Owner: MarcusCalhoun-Lopez
barracuda156 |
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: tiger, leopard, snowleopard,
Port: | powerpc
SuiteSparse_CHOLMOD |
-------------------------+-------------------------------------------------
Comment (by barracuda156):
Replying to [comment:3 szhorvat]:
> For example, looking at this:
>
>
https://opensource.apple.com/source/Libm/Libm-213/ppc.subproj/math.h.auto.html
>
> makes me wonder if defining `__NOEXTENSIONS__` would fix this. Can you
test that? You could even try defining `_POSIX_C_SOURCE`, though that may
break other things.
Great, adding `configure.cppflags-append -D__NOEXTENSIONS__` fixes the
problem. Perhaps suggest it to upstream? It is an easy fix to pass a flag
conditional on the OS and arch, which will not require any changes to the
code.
Perhaps we can also drop the patch to KLU then.
--
Ticket URL: <https://trac.macports.org/ticket/69025#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list