[MacPorts] #63415: p5.28-net-ssleay failed to compile under Monterey (21A5304g)

MacPorts noreply at macports.org
Wed Sep 22 16:40:46 UTC 2021


#63415: p5.28-net-ssleay failed to compile under Monterey (21A5304g)
----------------------------+----------------------
  Reporter:  ilTofa         |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.7.1
Resolution:                 |   Keywords:  monterey
      Port:  p5-net-ssleay  |
----------------------------+----------------------

Comment (by ilTofa):

 I can confirm that altering the Portfile for p5-net-ssleay to contain
 OPENSSL_PREFIX=/opt/local/lib/openssl at 1.1 is a valid workaround and git
 build successfully (this is with Monterey beta 7 and Xcode 13 non beta,
 with the expected warning about "macOS 12 SDK does not appear to be
 installed").

 Before trying the altering of the Portfile I tried to compile git with
 perl 5.30 and 5.32 via "port install git +perl5_30" (and *5_32), but I got
 the same error as with Perl 5.28


 {{{
 :info:configure *** Found OpenSSL-1.1.1l installed in /opt/local
 :info:configure *** Be sure to use the same compiler and options to
 compile your OpenSSL, perl,
 :info:configure     and Net::SSLeay. Mixing and matching compilers is not
 supported.
 :info:configure Checking if your kit is complete...
 :info:configure Looks good
 :info:configure WARNING: /opt/local/bin/perl5.30 is loading libcrypto in
 an unsafe way
 :info:configure sh: line 1: 24028 Abort trap: 6
 /opt/local/bin/perl5.30 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang"
 LD="/usr/bin/clang"
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
 -net-ssleay/p5.30-net-ssleay/work/Net-SSLeay-1.90" &&
 /opt/local/bin/perl5.30 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang"
 LD="/usr/bin/clang"
 :info:configure Exit code: 134
 :error:configure Failed to configure p5.30-net-ssleay: configure failure:
 command execution failed
 :debug:configure Error code: NONE
 }}}

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


More information about the macports-tickets mailing list