[MacPorts] #63831: postgresql13 depends on kerberos5 without declaring a dependency on it (was: Unable to Upgrade postgresql13 on Lion -- Configuration Stage Fails)

MacPorts noreply at macports.org
Sun Nov 7 17:25:44 UTC 2021


#63831: postgresql13 depends on kerberos5 without declaring a dependency on it
---------------------------+----------------------------
  Reporter:  RobK88        |      Owner:  jyrkiwahlstedt
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:
      Port:  postgresql13  |
---------------------------+----------------------------
Changes (by ryandesign):

 * keywords:  lion =>


Comment:

 The config.log shows that the problem is:
 {{{
 dyld: Library not loaded: /opt/local/lib/libcrypto.1.1.dylib
   Referenced from: /opt/local/lib/libgssapi_krb5.2.2.dylib
   Reason: image not found
 }}}
 Therefore, update the port that provides
 /opt/local/lib/libgssapi_krb5.2.2.dylib first:
 {{{
 $ port provides /opt/local/lib/libgssapi_krb5.2.2.dylib
 /opt/local/lib/libgssapi_krb5.2.2.dylib is provided by: kerberos5
 }}}
 The postgresql13 port does not mention that it depends upon kerberos5. It
 should either do that, or prevent kerberos5 from being used if present;
 either way, a revision increase is in order. There are other postgresql
 ports as well; they should all be audited for this problem and fixed as
 needed.

 To avoid this problem until it is fixed, you could upgrade postgresql13
 using trace mode to prevent it from finding the undeclared dependencies.

 {{{
 sudo port clean postgresql13
 sudo port -t upgrade postgresql13
 }}}

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


More information about the macports-tickets mailing list