[MacPorts] #72533: wren: supported_archs excludes arm64 (was: sudo port -v -s install wren results in a successful x86-64 build, not an arm build (I have arm only and source only set))
MacPorts
noreply at macports.org
Sat May 24 05:02:52 UTC 2025
#72533: wren: supported_archs excludes arm64
-----------------------+-------------------------
Reporter: kwolcott | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: arm64
Port: wren |
-----------------------+-------------------------
Changes (by ryandesign):
* keywords: => arm64
* owner: (none) => herbygillot
* status: new => assigned
Comment:
The main.log is deleted upon successful install unless you set `keeplogs
yes` in macports.conf or use the `-k` flag when you install. I see you
figured that out while I was writing my reply.
The portfile contains the line `supported_archs x86_64 i386`. Since that
doesn't include arm64, it won't build for arm64. But since it does include
x86_64, it will intentionally build for x86_64 on your arm64 system since
that would work fine through Rosetta 2. Or does it not in fact work for
you?
The `supported_archs` line has been in the port since the port was
originally added in 2020 in [2e4272fb37fbc112f3d32450f38c156fd74f69a6
/macports-ports]. Herby, do you remember why that line was added?
Kenneth, if you like, you can remove that line and see if the port builds
for arm64.
--
Ticket URL: <https://trac.macports.org/ticket/72533#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list