#64109 closed defect (fixed)
libarchive opportunistically links with libb2.dylib
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | tobypeterson |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jmroot (Joshua Root) | |
Port: | libarchive |
Description
If the libb2 port is installed and libarchive is built from source, it links with libb2.dylib:
% otool -L /opt/local/lib/libarchive.13.dylib /opt/local/lib/libarchive.13.dylib: /opt/local/lib/libarchive.13.dylib (compatibility version 19.0.0, current version 19.2.0) /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0) /opt/local/lib/liblzo2.2.dylib (compatibility version 3.0.0, current version 3.0.0) /opt/local/lib/liblzma.5.dylib (compatibility version 8.0.0, current version 8.5.0) /opt/local/lib/libzstd.1.dylib (compatibility version 1.0.0, current version 1.5.0) /opt/local/lib/liblz4.1.dylib (compatibility version 1.0.0, current version 1.9.3) /opt/local/lib/libcharset.1.dylib (compatibility version 2.0.0, current version 2.0.0) /opt/local/lib/libb2.1.dylib (compatibility version 2.0.0, current version 2.4.0) /opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.8) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /opt/local/lib/libxml2.2.dylib (compatibility version 12.0.0, current version 12.12.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)
Please either add a dependency on port:libb2 or make the port not use libb2 even if it is present, and increase the revision.
Change History (6)
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 3 years ago by tobypeterson
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 3 years ago by jmroot (Joshua Root)
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jmroot added |
---|
Oh, I wasn't expecting that. How did [af4cc2bdcfbb58bca9dfde07a4096b3c443ff7d2/macports-ports] cause libarchive to become a clang dependency?
comment:5 Changed 3 years ago by jmroot (Joshua Root)
Well libarchive is a clang dependency, so all its dependencies are also.
comment:6 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Oh right. libb2 became a clang dependency. libarchive was already a clang dependency.
Note: See
TracTickets for help on using
tickets.
In dc6e0304cb7152d5e9370be4934ba0e145390450/macports-ports (master):