[MacPorts] #62320: openssh @8.4p1_1+gsskex: error: implicit declaration of function 'auth_get_canonical_hostname' is invalid in C99

MacPorts noreply at macports.org
Sat Feb 20 20:24:01 UTC 2021


#62320: openssh @8.4p1_1+gsskex: error: implicit declaration of function
'auth_get_canonical_hostname' is invalid in C99
----------------------+-----------------------------
  Reporter:  vkuznet  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.6.4
Resolution:           |   Keywords:  catalina bigsur
      Port:  openssh  |
----------------------+-----------------------------

Comment (by vkuznet):

 ok, it seems to work, here is all steps I did:

 {{{
 # get the patch
 cd /tmp
 curl -ksLO https://github.com/macports/macports-
 ports/commit/dbf07b3da095588d8578fa663a51807a4e91be89.patch

 # patch the port
 cd
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/openssh/files
 sudo patch -p4 < /tmp/dbf07b3da095588d8578fa663a51807a4e91be89.patch

 # clean-up existing port
 sudo port clean openssh

 # rebuild the port
 sudo port build openssh +gsskex+kerberos5+xauth
 --->  Computing dependencies for openssh
 --->  Fetching distfiles for openssh
 --->  Verifying checksums for openssh
 --->  Extracting openssh
 --->  Applying patches to openssh
 --->  Configuring openssh
 --->  Building openssh

 # verify the port I have
 port installed | grep openssh
   openssh @8.1p1_9+gsskex+kerberos5+xauth (active)

 # authenticate with gssapi
 ssh -S none -v xxxx at xxxx.cern.ch
 OpenSSH_8.1p1, OpenSSL 1.1.1i  8 Dec 2020
 ...
 debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-
 with-mic,keyboard-interactive
 debug1: Next authentication method: gssapi-keyex
 debug1: No valid Key exchange context
 debug1: Next authentication method: gssapi-with-mic
 debug1: Delegating credentials
 debug1: Delegating credentials
 debug1: Authentication succeeded (gssapi-with-mic).
 ...
 }}}

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


More information about the macports-tickets mailing list