[MacPorts] #60385: openssh filed to build on leopard powerpc

MacPorts noreply at macports.org
Fri May 1 08:06:17 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 udbraumann):

 Interestingly, when I try to upgrade `openssh` from `7.6p1_5` to `8.1p1_9`
 on 10.5.8 PPC 32bit, building also stops around `sshconnect2.c`, but
 apparently a bit earlier inside `keychain.h` issuing a syntax error:

 {{{
 ...
 :info:build /opt/local/bin/gcc-mp-7 -pipe -Os -arch ppc -pipe -Wno-error
 =format-truncation -Wall -Wpointer-arith -Wuninitialized -Wsign-compare
 -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-
 unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-
 builtin-memset -fstack-protector-strong -fPIE   -I. -I.
 -I/opt/local/include -I/opt/local/include -I/opt/local/include
 -DBROKEN_STRNVIS=1 -D__APPLE_API_STRICT_CONFORMANCE
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_openssh/openssh/work/include
 -I/opt/local/include/editline -I/opt/local/include -I/opt/local/include
 -D__APPLE_KEYCHAIN__ -D__APPLE_MEMBERSHIP__ -D__APPLE_TMPDIR__
 -D__APPLE_LAUNCHD__ -DSSHDIR=\"/opt/local/etc/ssh\"
 -D_PATH_SSH_PROGRAM=\"/opt/local/bin/ssh\"
 -D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/local/libexec/ssh-askpass\"
 -D_PATH_SFTP_SERVER=\"/opt/local/libexec/sftp-server\"
 -D_PATH_SSH_KEY_SIGN=\"/opt/local/libexec/ssh-keysign\"
 -D_PATH_SSH_PKCS11_HELPER=\"/opt/local/libexec/ssh-pkcs11-helper\"
 -D_PATH_SSH_PIDDIR=\"/opt/local/var/run\"
 -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c sshconnect2.c
 -o sshconnect2.o
 :info:build In file included from sshconnect2.c:77:0:
 :info:build keychain.h:36:41: error: expected ')' before '^' token
 :info:build  int  load_identities_from_keychain(int (^add_identity)(const
 char *identity));
 :info:build                                          ^
 :info:build make: *** [sshconnect2.o] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_openssh/openssh/work/openssh-8.1p1'
 ...
 }}}

 Admittedly, I used gcc7 instead of gcc6.

-- 
Ticket URL: <https://trac.macports.org/ticket/60385#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list