[MacPorts] #71442: openssl3 @3.4.0 has wrong build dependency on 10.4 Intel
MacPorts
noreply at macports.org
Tue Dec 3 00:26:43 UTC 2024
#71442: openssl3 @3.4.0 has wrong build dependency on 10.4 Intel
-----------------------+------------------------
Reporter: AJenbo | Owner: larryv
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords: i386 tiger
Port: openssl3 |
-----------------------+------------------------
Changes (by ryandesign):
* cc: neverpanic (added)
* owner: (none) => larryv
* status: new => assigned
* keywords: => i386 tiger
Comment:
The port contains this code, so the choice of clang-11-bootstrap on i386
macOS seems deliberate:
{{{#!tcl
# https://github.com/macports/macports-
ports/pull/26250#issuecomment-2437709579
# OpenSSL 3.4.0 implements new intrinsic code that increases compiler
# requirements. We can only use bootstrap Clang because the newer
# one depends on openssl by default and causes a dependency cycle.
if {${os.platform} eq "darwin" && ${os.major} < 18} {
if {${configure.build_arch} in {"x86_64" "i386"}} {
depends_build-append port:clang-11-bootstrap
depends_skip_archcheck-append clang-11-bootstrap
configure.cc ${prefix}/libexec/clang-11-bootstrap/bin/clang
configure.cxx ${prefix}/libexec/clang-11-bootstrap/bin/clang++
# https://trac.macports.org/ticket/71201
# https://trac.macports.org/ticket/71246
# cctools is only needed for Snow Leopard i386/x86_64 and older.
# On Yosemite and newer systems it triggers the dependency cycle
again.
if {${os.major} < 11} {
depends_build-append port:cctools
}
}
}
}}}
Why do you believe this compiler choice is incorrect? Do you encounter
build failure? If so please attach the main.log file.
--
Ticket URL: <https://trac.macports.org/ticket/71442#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list