[MacPorts] #67321: p5.34-io-socket-ssl @2.81.0 does not build on PPC Leopard, Mac OS X 20.5.8, because "API-different OpenSSL versions compiled in (0x30000050) vs linked (0x30100000) at Makefile.PL line 68."

MacPorts noreply at macports.org
Fri Apr 28 06:12:41 UTC 2023


#67321: p5.34-io-socket-ssl @2.81.0 does not build on PPC Leopard, Mac OS X 20.5.8,
because "API-different OpenSSL versions compiled in (0x30000050) vs linked
(0x30100000) at Makefile.PL line 68."
-------------------------+---------------------------------
 Reporter:  ballapete    |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.8.1
 Keywords:  leopard ppc  |       Port:  p5.34-io-socket-ssl
-------------------------+---------------------------------
 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_perl_p5
 -io-socket-ssl/p5.34-io-socket-ssl/work/IO-Socket-SSL-2.081" &&
 /opt/local/bin/perl5.34 Makefile.PL INSTALLDIRS=vendor
 CC="/usr/bin/gcc-4.2" LD="/usr/bin/gcc-4.2"
 DEBUG: system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_perl_p5
 -io-socket-ssl/p5.34-io-socket-ssl/work/IO-Socket-SSL-2.081" &&
 /opt/local/bin/perl5.34 Makefile.PL INSTALLDIRS=vendor
 CC="/usr/bin/gcc-4.2" LD="/usr/bin/gcc-4.2"
 API-different OpenSSL versions compiled in (0x30000050) vs linked
 (0x30100000) at Makefile.PL line 68.
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_perl_p5
 -io-socket-ssl/p5.34-io-socket-ssl/work/IO-Socket-SSL-2.081" &&
 /opt/local/bin/perl5.34 Makefile.PL INSTALLDIRS=vendor
 CC="/usr/bin/gcc-4.2" LD="/usr/bin/gcc-4.2"
 Exit code: 255
 Error: Failed to configure p5.34-io-socket-ssl: configure failure: command
 execution failed
 }}}

 `Makefile.PL` contains:

 {{{
  57 if (my $compiled = eval {
  58     require Net::SSLeay;
  59     Net::SSLeay::OPENSSL_VERSION_NUMBER()
  60 }) {
  61     # don't support too old OpenSSL versions anymore, only causes
 trouble
  62     die sprintf(
  63         "minimal required version for OpenSSL is 0.9.8, but your
 Net::SSLeay reports 0x%08x",
  64         $compiled) if $compiled < 0x00908000;
  65
  66     my $linked = Net::SSLeay::SSLeay();
  67     if (($compiled ^ $linked) >= 0x00001000) {
  68         die sprintf("API-different OpenSSL versions compiled in
 (0x%08x) vs linked (0x%08x)",
  69             $compiled,$linked);
  70     }
  71
  72     # OpenSSL 1.1.1e introduced behavior changes breaking various code
  73     # will likely be reverted  in 1.1.1f - enforce to not use this
 version
  74     if ($linked == 0x1010105f) {
  75         die "detected OpenSSL 1.1.1e - please use a different
 version\n";
  76     }
  77 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67321>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list