[MacPorts] #58837: nmap compilation fails
MacPorts
noreply at macports.org
Thu Aug 15 18:08:14 UTC 2019
#58837: nmap compilation fails
-----------------------+--------------------
Reporter: lemzwerg | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: wontfix | Keywords: lion
Port: nmap |
-----------------------+--------------------
Comment (by kencu):
This is where we are running into some resistance/differences of opinion
on MacPorts. There are those who will want only the ideal "build fix"
solution used, and no other fix is acceptable -- then this ticket sits for
months or years, as nobody will usually bother to spend the time to fix it
like that on an old, unsupported system.
You could blacklist all compilers prior to `clang-5.0` on systems < 10.9
that are configured to use `libcxx`. That would work, and the logic flows
smoothly enough. It is also kinda ugly in the Portfile. You see what I
mean. When I do propose these kinds of fixes, the PRs tend to sit in the
PR queue for weeks and go nowhere until I just close them out of
frustration.
Sooner or later we'll default to `libcxx` on all Intel systems 10.5+ --
then this will be easier to fix cleanly for everyone in base, because
we'll just build with `clang-5.0` and newer by default always.
In the meantime, I have set my "default compiler" in `macports.conf` to be
`clang-5.0`, and that just fixes all these builds with ease. I suggest you
consider doing that too.
--
Ticket URL: <https://trac.macports.org/ticket/58837#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list