[MacPorts] #62003: et: @6.0.11_0 published binaries broken; based on older protobuf3 dylib

MacPorts noreply at macports.org
Thu Jan 7 02:06:17 UTC 2021


#62003: et: @6.0.11_0 published binaries broken; based on older protobuf3 dylib
----------------------+----------------------
  Reporter:  mascguy  |      Owner:  l2dy
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  et       |
----------------------+----------------------
Description changed by mascguy:

Old description:

> Binary install of `et @6.0.11_0` provides an outdated binary, which
> expects dylib `${prefix}/lib/libprotobuf-lite.23.dylib`:
>
> {{{
> MacPro28:~ chrisadmin$ et
> dyld: Library not loaded: /opt/local/lib/libprotobuf-lite.23.dylib
>   Referenced from: /opt/local/bin/et
>   Reason: image not found
> Abort trap: 6
> }}}
>
> However, the latest version of `protobuf3` installs `${prefix}/lib
> /libprotobuf-lite.25.dylib`.
>
> Ideally, `et` should reference `${prefix}/lib/libprotobuf-lite.dylib`, to
> eliminate necessity of rebuilding when dependencies are updated. Ditto
> for `libsodium.dylib`.
>
> {{{
> $ otool -L /opt/local/bin/et
> /opt/local/bin/et:
>     /opt/local/lib/libprotobuf-lite.23.dylib (compatibility version
> 24.0.0, current version 24.4.0)
>     /opt/local/lib/libsodium.23.dylib (compatibility version 27.0.0,
> current version 27.0.0)
>     /usr/lib/libutil.dylib (compatibility version 1.0.0, current version
> 1.0.0)
>     /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current
> version 1.0.0)
>     /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version
> 307.5.0)
>     /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 1238.60.2)
> }}}

New description:

 Binary install of `et @6.0.11_0` provides an outdated binary, which
 expects dylib `${prefix}/lib/libprotobuf-lite.23.dylib`:

 {{{
 $ et
 dyld: Library not loaded: /opt/local/lib/libprotobuf-lite.23.dylib
   Referenced from: /opt/local/bin/et
   Reason: image not found
 Abort trap: 6
 }}}

 However, the latest version of `protobuf3` installs `${prefix}/lib
 /libprotobuf-lite.25.dylib`.

 Ideally, `et` should reference `${prefix}/lib/libprotobuf-lite.dylib`, to
 eliminate necessity of rebuilding when dependencies are updated. Ditto for
 `libsodium.dylib`.

 {{{
 $ otool -L /opt/local/bin/et
 /opt/local/bin/et:
     /opt/local/lib/libprotobuf-lite.23.dylib (compatibility version
 24.0.0, current version 24.4.0)
     /opt/local/lib/libsodium.23.dylib (compatibility version 27.0.0,
 current version 27.0.0)
     /usr/lib/libutil.dylib (compatibility version 1.0.0, current version
 1.0.0)
     /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current
 version 1.0.0)
     /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version
 307.5.0)
     /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1238.60.2)
 }}}

 Users can sidestep this by installing from source, but perhaps it might
 make sense for a revision bump ASAP to fix this...

--

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


More information about the macports-tickets mailing list