[MacPorts] #64488: darktable-devel @3.8.0_1: rebuilds dependent ports with "+universal" when that isn't specified
MacPorts
noreply at macports.org
Fri Jan 21 20:13:48 UTC 2022
#64488: darktable-devel @3.8.0_1: rebuilds dependent ports with "+universal" when
that isn't specified
------------------------------+-----------------------------------------
Reporter: bal-agates | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: darktable universal sqlite3
Port: darktable-devel |
------------------------------+-----------------------------------------
Comment (by ryandesign):
The only reason why MacPorts would install dependencies universal (aside
from if you requested that) is if that is required. The log shows you are
on an Apple Silicon machine but some ports do not yet support being built
for Apple Silicon. In that case, they must be built for x86_64 and their
dependencies must be built universal for x86_64 and arm64. The darktable-
devel portfile contains the line `supported_archs x86_64`, therefore all
of its dependencies must be built universal. If this line is erroneous, it
can be changed. It was added 5 years ago in
[4da9bb0fc9bc51a3114ab0a7ca23676c0bb443aa/macports-ports], well before
Apple Silicon machines existed, and the commit message doesn't explain why
the line was added. You could try removing the line (or adding `arm64` to
it) and see if it builds and works.
sqlite3 is failing to configure universal because:
> {{{
> ld: in '/opt/local/lib/libunwind.dylib', building for macOS-x86_64 but
attempting to link with file built for macOS-arm64
> }}}
Not sure what to make of that.
--
Ticket URL: <https://trac.macports.org/ticket/64488#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list