[MacPorts] #68319: cargo: links with old library libgit2.1.6.dylib (was: librsvg fails to build Lion)
MacPorts
noreply at macports.org
Sun Oct 1 20:23:45 UTC 2023
#68319: cargo: links with old library libgit2.1.6.dylib
-----------------------------+---------------------------------
Reporter: rmottola | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: lion
Port: cargo, libgit2 |
-----------------------------+---------------------------------
Changes (by ryandesign):
* owner: mascguy => MarcusCalhoun-Lopez
* cc: mascguy, dbevans, herbygillot (added)
* port: librsvg => cargo, libgit2
Comment:
cargo declares a dependency on port:libgit2. It was
[changeset:5e87efd1c627426aadfc347e9eabf0210bcf1cba/macports-ports added
two years ago] by @herbygillot but the commit message does not say why.
libgit2 used to provide /opt/local/lib/libgit2.1.6.dylib but now it
provides /opt/local/lib/libgit2.1.7.dylib. It was the responsibility of
whoever [changeset:c00e8c728a0458fcf0e1d2c555126d6bb642feaa/macports-ports
updated libgit2] three weeks ago to revbump all ports that link with the
library whenever the library install_name changes, and in fact
[changeset:08c9d92cc47d5fe2f6084e68b3165417ea20d8c9/macports-ports that
did happen] moments later. What version of the cargo port is installed?
(`port installed cargo`) You should not see this problem with cargo
@0.72.2_1 or later.
On my Monterey system cargo does not link with the libgit2 dylib but on
yours evidently it does. I'm not sure why this difference exists.
In addition to the dependency on the libgit2 port, cargo uses a distfile
called libgit2-sys-0.15.1+1.6.4.crate. I'm not sure why it needs both the
libgit2 port and its own bundled copy. Normally in MacPorts we want to use
MacPorts copies of libraries, not bundled copies.
--
Ticket URL: <https://trac.macports.org/ticket/68319#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list