[MacPorts] #63845: ruby30 fails to build because of openssl 3 even though it is marked portgroup openssl 1.0

MacPorts noreply at macports.org
Mon Nov 8 15:25:05 UTC 2021


#63845: ruby30 fails to build because of openssl 3 even though it is marked
portgroup openssl 1.0
-----------------------+----------------------
  Reporter:  pmetzger  |      Owner:  kimuraw
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  monterey
      Port:  ruby30    |
-----------------------+----------------------

Comment (by kimura wataru <kimuraw@…>):

 In [changeset:"75cd6c1d0ac37f48a123ef122f6899f3a160e6ee/macports-ports"
 75cd6c1d0ac37f48a123ef122f6899f3a160e6ee/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="75cd6c1d0ac37f48a123ef122f6899f3a160e6ee"
 lang/ruby30 .. ruby24: fix build error at ext/openssl

 see https://trac.macports.org/ticket/63845

 pkg-config in ext/openssl/extconf.rb ignores PKG_CONFIG_PATH.
 it leads conflict between openssl-1.1 (from configure args --with-
 openssl-...)
 and openssl-3 (from $prefix/lib/pkgconfig/openssl.pc).

 ext/openssl allows compiling without pkgconfig, then commented out
 pkg_config()
 in ext/openssl/extconf.rb.

 note: ruby23 or earlier might need same fix.
 }}}

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


More information about the macports-tickets mailing list