[MacPorts] #48579: libsodium: use release download

MacPorts noreply at macports.org
Wed Jul 29 07:12:21 UTC 2020


#48579: libsodium: use release download
--------------------------+----------------------
  Reporter:  ryandesign   |      Owner:  stromnov
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.3
Resolution:               |   Keywords:  haspatch
      Port:  libsodium    |
--------------------------+----------------------

Comment (by hostep):

 Hi @ryandesign

 I have an update, we were able to fix our problem. We don't need the new
 source code, we just needed to rebuild the libsodium library from source
 by executing:
 sudo port -s upgrade --force libsodium

 Here's my theory about what happened:
 1) It looks like there is a bug in older Xcode versions (older then 11.2)
 on macOS Catalina: https://github.com/jedisct1/libsodium/issues/881
 2) Macports probably build libsodium using such an older Xcode version
 3) When we install libsodium from macports, it uses that pre-build buggy
 version and causes our issue
 4) When we build libsodium from source ourselves (using Xcode 11.5), our
 problem is gone

 So I think you just need to trigger a rebuild of libsodium with a non-
 buggy Xcode version and don't need newer source code of libsodium

 Thanks!

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


More information about the macports-tickets mailing list