[MacPorts] #61354: jq does not build with Xcode 12.0.1 on macOS 10.15 (darwin/19.6.0)
MacPorts
noreply at macports.org
Mon Oct 26 21:35:37 UTC 2020
#61354: jq does not build with Xcode 12.0.1 on macOS 10.15 (darwin/19.6.0)
----------------------+--------------------
Reporter: tgyurci | Owner: raimue
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: jq |
----------------------+--------------------
Changes (by danchr):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"05ec0097df09635392ab134d8fa7ea7304160643/macports-ports"
05ec0097df09635392ab134d8fa7ea7304160643/macports-ports] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="05ec0097df09635392ab134d8fa7ea7304160643"
jq: fix build with Xcode 12
The jq configure system checks whether `lgamma_r()` is defined in
libm, but not whether it is actually declared. On macOS, that is not
the case unless `_REENTRANT` was defined prior to including `math.h`.
Xcode 12 changed the defaults, so that using an undefined symbol gives
a hard error, breaking the build.
I had only run into this when building on an unreleased OS, but the
error is actually specific to Xcode 12. This adjusts the builtin patch
to address root cause, rather than just bypassing it, and applies the
patch universally.
Fixes: https://trac.macports.org/ticket/61354
Closes: https://github.com/macports/macports-ports/pull/8870
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61354#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list