[MacPorts] #65613: openssh on Rosetta: Cannot install clang-11 for the arch 'powerpc' because its dependency python310 does not build for the required arch by default
MacPorts
noreply at macports.org
Thu Aug 4 17:43:14 UTC 2022
#65613: openssh on Rosetta: Cannot install clang-11 for the arch 'powerpc' because
its dependency python310 does not build for the required arch by default
---------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, rosetta, snowleopard
Port: openssh |
---------------------------+-------------------------------------------
Comment (by barracuda156):
P. S. With this particular port it seems that disabling Apple keychain for
Rosetta is the way to go. (It also solves the dependency problem above.)
Portfile has this:
{{{
platform macosx {
if {${os.major} < 10} {
# See: https://trac.macports.org/ticket/60385
configure.args-delete --with-keychain=apple
} elseif {${os.major} <= 11} {
# clang is required to build the new Apple Keychain
integration due
# to it using the Object Subscripting feature, c.f. #59397.
# We'll keep it simple and just blacklist any gcc version, cc
# (which could be anything), system clang versions prior to
those
# shipped with Xcode 4.4.
# Regarding the macports-clang versions, any version in the
# MacPorts tree should suit our needs, since the clang
# documentation lists FOSS clang/llvm 3.1 as the first version
to
# support Object Subscripting and the oldest version in our
tree is
# now 3.3.
compiler.blacklist-append *gcc* cc {clang < 421}
}
}
}}}
I just expanded the condition to Rosetta case: https://github.com/macports
/macports-ports/pull/15605
--
Ticket URL: <https://trac.macports.org/ticket/65613#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list