[MacPorts] #64176: Some perl modules built with +universal only installed arm64 binaries
MacPorts
noreply at macports.org
Fri Dec 23 19:24:15 UTC 2022
#64176: Some perl modules built with +universal only installed arm64 binaries
-------------------------------------------------+-------------------------
Reporter: jgrg | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: arm64
Port: p5-math-random-isaac-xs p5-params- | x86_64 universal
validate p5-www-form-urlencoded-xs |
-------------------------------------------------+-------------------------
Comment (by ryandesign):
Replying to [comment:5 jgrg]:
> Binary Perl modules are usually built using the CFLAGS and LDFLAGS that
were used to build `perl`, but it seems that MacPorts has some kind of
cunning mechanism that keeps whatever flags are needed for universal
builds out of the Perl config so that building a universal module doesn't
happen by default?
Yes, Perl seems to be under the impression that whatever compiler and I
guess flags were used to build Perl should be used to build perl modules
as well. We do not consider that to be appropriate behavior in MacPorts so
we prevent it from happening. From our point of view, every port build
should happen with the compiler and flags that were requested for that
build.
--
Ticket URL: <https://trac.macports.org/ticket/64176#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list