[MacPorts] #59992: ncurses at 6.1 : /opt/local/include/unctrl.h:60:63: error: unknown type name 'SCREEN'
MacPorts
noreply at macports.org
Thu Mar 26 10:41:03 UTC 2020
#59992: ncurses at 6.1 : /opt/local/include/unctrl.h:60:63: error: unknown type name
'SCREEN'
----------------------+----------------------
Reporter: kencu | Owner: jmroot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: ncurses |
----------------------+----------------------
Comment (by kencu):
essentially, when clang is using modules, but a CPATH is set, instead of
honouring the CPATH it first looks at the cached module map which sends it
into the SDK, but then does honour the CPATH for further includes.
This situation is non-viable. Disabling modules of course works. disabling
CPATH disables MacPorts, basically.
Some clang trickery to regenerate the module map automatically if CPATH is
set would appear to be needed.
This can't be the only time this is noticed, but MacPorts is likely the
first place this would show up, running a current clang with non-standard
geader include paths and setting CPATH.
--
Ticket URL: <https://trac.macports.org/ticket/59992#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list