Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

failed to compile cargo-dinghy v0.3.2 - multiple packages link to native library git2 #66

Closed
MarcTreySonos opened this issue May 25, 2018 · 1 comment

Comments

@MarcTreySonos
Copy link
Contributor

with rustc 1.27.0-beta.6 (60d8c667f 2018-05-21)

error: failed to compile `cargo-dinghy v0.3.2`, intermediate artifacts can be found at `/tmp/cargo-installJC5Rne`

Caused by:
  multiple packages link to native library `git2`, but a native library can be linked only once

package `libgit2-sys v0.6.19`
    ... which is depended on by `cargo v0.24.0`
    ... which is depended on by `cargo-dinghy v0.3.2`
links to native library `git2`

package `libgit2-sys v0.7.1`
    ... which is depended on by `git2 v0.7.1`
    ... which is depended on by `git2-curl v0.8.1`
    ... which is depended on by `cargo v0.27.0`
    ... which is depended on by `dinghy-lib v0.3.4`
    ... which is depended on by `cargo-dinghy v0.3.2`
also links to native library `git2`
@fredszaq
Copy link
Collaborator

fredszaq commented Aug 9, 2022

we do not depends on libgit2-sys anymore since #157

@fredszaq fredszaq closed this as completed Aug 9, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants