[MacPorts] #66329: gawk sneaks in x86_64 which is not set in universal_archs on Leopard
MacPorts
noreply at macports.org
Sat Nov 26 04:25:05 UTC 2022
#66329: gawk sneaks in x86_64 which is not set in universal_archs on Leopard
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: | Keywords: powerpc, leopard, ppc64
Port: gawk |
---------------------------+-------------------------------------
Comment (by markmentovai):
That `-arch x86_64` isn’t coming from the Portfile, it’s coming from the
upstream `gawk` build itself. The `--disable-pma` in the Portfile is what
circumvents it. Clearly the upstream had not contemplated ppc or ppc64. In
fact, it won’t work for builds intended to be 32-bit x86 either.
I had tried to let the PMA feature work where it could, but based on this
report, disabling it when `${build_arch} eq "arm64"` isn’t good enough. It
really needs to be disabled when `${build_arch} ne "x86_64"`. Either that,
or the PMA feature could just be unconditionally disabled altogether. I’d
be in favor of that.
--
Ticket URL: <https://trac.macports.org/ticket/66329#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list