[MacPorts] #69838: R-nloptr: stpncpy: error: expected parameter declarator
MacPorts
noreply at macports.org
Sun Apr 28 09:53:41 UTC 2024
#69838: R-nloptr: stpncpy: error: expected parameter declarator
---------------------------------------+--------------------------
Reporter: ryandesign | Owner: barracuda156
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: R-nloptr, legacy-support |
---------------------------------------+--------------------------
Comment (by barracuda156):
Replying to [comment:3 kencu]:
> This is a very messy build, that uses a bunch of shell scripts and
configure commands to ultimately decompress and build with cmake what
seems to be the real source code here:
>
> https://github.com/astamm/nloptr/blob/master/src/nlopt-src.tar.gz
>
> that source code contains the CMakeLists.txt file.
>
> as the build is not using any of the cmake PortGroup's settings, all the
secret sauce that makes things work in MacPorts is not happening. So you
are getting what the build thinks should be set for compilers, SDKs, etc,
not what macports sets.
>
`R` build system itself is mildly horrible, and package upstreams at times
make it yet worse.
But I do not know how to use cmake PG inside R PG. Very few R ports use
CMake, AFAIK, it is arguably not worth bothering to implement via PG,
unless trivial. Perhaps rather patch this by hand to ensure it works
correctly.
--
Ticket URL: <https://trac.macports.org/ticket/69838#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list