[MacPorts] #57214: cargo links with libssh2 but does not declare dependency
MacPorts
noreply at macports.org
Wed Oct 3 23:30:13 UTC 2018
#57214: cargo links with libssh2 but does not declare dependency
-------------------------+---------------------
Reporter: ryandesign | Owner: dbevans
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: cargo |
-------------------------+---------------------
Changes (by dbevans):
* status: new => closed
* owner: (none) => dbevans
* resolution: => fixed
Comment:
In [changeset:"42f30581fa112678029260a79a13c08076ed609b/macports-ports"
42f30581fa112678029260a79a13c08076ed609b/macports-ports] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="42f30581fa112678029260a79a13c08076ed609b"
cargo: update dependencies, rebuild
Both cargo and cargo-stage1 link with libssh2. Previously
a dependency on libssh2 was only declared for cargo-stage1.
This allowed cargo to build properly (because of the build
dependency on cargo-stage1) but in situations where the
pre-built cargo archive was being activated by another
port (e.g. librsvg) a build error might occur if the cargo
binary was executed and libssh2 was not otherwise installed and active.
cargo build --verbose --release
dyld: Library not loaded: /opt/local/lib/libssh2.1.dylib
Referenced from: /opt/local/bin/cargo
Reason: image not found
Closes https://trac.macports.org/ticket/57214
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57214#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list