[MacPorts] #63619: openssl @1.1_0 conflicts with curl-ca-bundle

MacPorts noreply at macports.org
Wed Oct 13 16:02:52 UTC 2021


#63619: openssl @1.1_0 conflicts with curl-ca-bundle
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  High        |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:
      Port:  openssl     |
-------------------------+--------------------

Comment (by RobK88):

 It should be noted that openssl at 1.1_0 also breaks Macports version of
 sudo.  So one cannot just type "sudo port -f activate openssl" or "sudo
 port deactivate curl-ca-bundle port" etc.

 One will need to use the version of "sudo" that was installed with MacOS.
 E.g. /usr/bin/sudo port -f acticate openssl

 Here is my output on my Mac running Lion.


 {{{
 bash-3.2$ sudo port upgrade outdated
 --->  Computing dependencies for openssl11
 --->  Fetching distfiles for openssl11
 --->  Attempting to fetch openssl-1.1.1l.tar.gz from
 http://distfiles.macports.org/openssl11
 --->  Verifying checksums for openssl11
 --->  Extracting openssl11
 --->  Applying patches to openssl11
 --->  Configuring openssl11
 --->  Building openssl11
 --->  Staging openssl11 into destroot
 --->  Installing openssl11 @1.1.1l_3
 --->  Activating openssl11 @1.1.1l_3
 --->  Cleaning openssl11
 --->  Computing dependencies for openssl
 --->  Fetching distfiles for openssl
 --->  Verifying checksums for openssl
 --->  Extracting openssl
 --->  Configuring openssl
 --->  Building openssl
 --->  Staging openssl into destroot
 --->  Installing openssl @1.1_0
 --->  Cleaning openssl
 --->  Computing dependencies for openssl
 --->  Deactivating openssl @1.1.1l_1
 --->  Cleaning openssl
 --->  Activating openssl @1.1_0
 Error: Failed to activate openssl: Image error:
 /opt/local/etc/openssl/cert.pem is being used by the active curl-ca-bundle
 port.  Please deactivate this port first, or use 'port -f activate
 openssl' to force the activation.
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/main.log
 for details.
 }}}

 And here is an example where this port breaks Macports version of "sudo"

 {{{
 bash-3.2$ sudo port -f activate openssl
 dyld: Library not loaded: /opt/local/lib/libcrypto.1.1.dylib
   Referenced from: /opt/local/bin/sudo
   Reason: image not found
 Trace/BPT trap: 5
 }}}

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


More information about the macports-tickets mailing list