[MacPorts] #61634: talloc @2.3.1: wrong install name on Big Sur (was: notmuch @0.31.2 dyld linking issue with talloc)

MacPorts noreply at macports.org
Tue Nov 24 06:17:40 UTC 2020


#61634: talloc @2.3.1: wrong install name on Big Sur
-------------------------------------------------+-------------------------
  Reporter:  borwickatuw                         |      Owner:  (none)
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.6.4
Resolution:                                      |   Keywords:  bigsur
      Port:  talloc freeradius notmuch osmocore  |
  osmocore-devel py27-tsk                        |
-------------------------------------------------+-------------------------
Changes (by ryandesign):

 * keywords:   => bigsur
 * port:  notmuch => talloc freeradius notmuch osmocore osmocore-devel
     py27-tsk


Comment:

 Looking at the packages our build machine produced for talloc on Big Sur
 on x86_64, we can see its install name is wrong:

 {{{
 $ otool -L
 /tmp/talloc-2.3.1_0.darwin_20.x86_64/opt/local/lib/libtalloc.dylib
 /tmp/talloc-2.3.1_0.darwin_20.x86_64/opt/local/lib/libtalloc.dylib:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_talloc/talloc/work/talloc-2.3.1/bin/default/libtalloc.dylib
 (compatibility version 0.0.0, current version 0.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1292.0.0)
 }}}

 Compared to the one we built on Catalina where the install name is right:

 {{{
 $ otool -L
 /tmp/talloc-2.3.1_0.darwin_19.x86_64/opt/local/lib/libtalloc.dylib
 /tmp/talloc-2.3.1_0.darwin_19.x86_64/opt/local/lib/libtalloc.dylib:
         /opt/local/lib/libtalloc.2.dylib (compatibility version 0.0.0,
 current version 0.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1281.100.1)
 }}}

 We need to fix that, and since a library's install name gets baked into
 other software when other software links with it, we then need to revbump
 all of the ports that link with talloc:
 freeradius, notmuch, osmocore, osmocore-devel, py27-tsk

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


More information about the macports-tickets mailing list