[MacPorts] #67986: openssh @9.4p1: build fails with zlib @1.3 installed

MacPorts noreply at macports.org
Fri Aug 18 22:29:41 UTC 2023


#67986: openssh @9.4p1: build fails with zlib @1.3 installed
-------------------------+----------------------
  Reporter:  fabianwenk  |      Owner:  artkiver
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  artkiver    |
-------------------------+----------------------

Comment (by artkiver):

 Deriving some inspiration from the configure.args mentioned here:

 https://trac.macports.org/ticket/26103

 Perhaps this would be a better line to have in the Portfile?

 {{{
                         --with-zlib=${prefix}/lib \

 }}}

 Manually invoking configure as follows:

 {{{
 ./configure --prefix=/opt/local --with-ssl-dir=/opt/local
 --sysconfdir=/opt/local/etc/ssh --with-privsep-path=/var/empty --with-
 md5-passwords --with-pid-dir=/opt/local/var/run --with-pam
 --mandir=/opt/local/share/man --with-zlib=/opt/local/lib --without-
 kerberos5 --with-libedit --with-pie --with-xauth=/opt/local/bin/xauth
 --with-ldns --with-audit=bsm --with-keychain=apple

 }}}

 The notable change being:

 {{{
 --with-zlib=/opt/local/lib
 }}}

 Also seems to step around the zlib errors otherwise generated. Bonus: also
 doesn't generate the "ld: warning: -L path '/opt/local/include/zlib.h' is
 not a directory" warning either!

 Let me do some additional experiments locally to a modified Portfile and
 exploring variants and see if that improves things across the board.

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


More information about the macports-tickets mailing list