[MacPorts] #55963: wgrib2 build fail - log shows errors when compiling gctpc.c
MacPorts
noreply at macports.org
Tue Mar 6 01:13:58 UTC 2018
#55963: wgrib2 build fail - log shows errors when compiling gctpc.c
---------------------------+----------------------
Reporter: GeneralDuke9 | Owner: tenomoto
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords:
Port: wgrib2 |
---------------------------+----------------------
Changes (by ryandesign):
* cc: ryandesign (added)
Comment:
The missing symbols are defined in /opt/local/include/gctpc/proj.h.
The problem is that wgrib2 depends on proj, and proj provides the
completely unrelated file /opt/local/include/proj.h which doesn't define
those symbols, and the build system finds this file first, because the
portfile supplies the `-I` flags to the build system in the wrong order.
proj was recently updated to version 5.0.0. Previous versions of proj did
not provide a file called /opt/local/include/proj.h so the problem did not
exist before.
--
Ticket URL: <https://trac.macports.org/ticket/55963#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list