[MacPorts] #60385: openssh filed to build on leopard powerpc
MacPorts
noreply at macports.org
Sat May 2 20:53:58 UTC 2020
#60385: openssh filed to build on leopard powerpc
----------------------+-----------------------------
Reporter: bryancn | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords: leopard powerpc
Port: openssh |
----------------------+-----------------------------
Comment (by khepler):
As a quick test I disabled the Keychain patch for Leopard:
{{{
---
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/openssh/Portfile
2020-04-27 12:03:19.000000000 -0700
+++ Portfile 2020-05-02 13:08:53.000000000 -0700
@@ -50,7 +50,6 @@
pam.patch \
patch-sandbox-darwin.c-apple-sandbox-named-
external.diff \
patch-sshd.c-apple-sandbox-named-external.diff \
- 0002-Apple-keychain-integration-other-
changes.patch \
macports-config.patch \
patch-openbsd_compat-memmem-bug.diff
@@ -105,6 +104,9 @@
use_parallel_build yes
platform macosx {
+ if {${os.major} > 9} {
+ patchfiles-append 0002-Apple-keychain-integration-other-
changes.patch
+
if {${os.major} <= 11} {
# clang is required to build the new Apple Keychain
integration due
# to it using the Object Subscripting feature, c.f. #59397.
@@ -119,6 +121,7 @@
compiler.blacklist-append *gcc* cc {clang < 421}
}
}
+ }
destroot.target install-nokeys
}}}
After removing the patch, openssh-8.1p1_9 compiles with the default
compiler and runs fine.
I would like to see the osx_keychain variant return, since in my
experience Keychain integration has been broken on Leopard for about ten
years. The variant at least allows Leopard users to build OpenSSH.
Attaching a suggested Portfile.
--
Ticket URL: <https://trac.macports.org/ticket/60385#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list