Skip to content

Version conflict on if-addrs-sys #4

@ghost

Description

There seems to be an issue with the if-addrs-sys package, i tried checking and building with cargo right out of the box and i am unable to. When i do run
cargo check
i get the following error:

Updating git repositoryhttps://github.com/rs-ipfs/rust-ipfs`
Updating crates.io index
Updating git repository https://github.com/NLnetLabs/domain.git
error: failed to select a version for if-addrs-sys.
... required by package if-addrs v0.6.4
... which is depended on by libp2p-tcp v0.27.0
... which is depended on by libp2p v0.34.0
... which is depended on by ipfs v0.2.1 (https://github.com/rs-ipfs/rust-ipfs#cf370325)
... which is depended on by node-cli v2.0.0 (/home/cbnits/Documents/ref/substrate/bin/node/cli)
... which is depended on by chain-spec-builder v2.0.0 (/home/cbnits/Documents/ref/substrate/bin/utils/chain-spec-builder)
versions that meet the requirements ^0.3 are: 0.3.2, 0.3.1

the package if-addrs-sys links to the native library ifaddrs, but it conflicts with a previous package which links to ifaddrs as well:
package get_if_addrs-sys v0.1.1
... which is depended on by get_if_addrs v0.5.3
... which is depended on by libp2p-tcp v0.22.0
... which is depended on by libp2p v0.28.1
... which is depended on by node-browser-testing v2.0.0 (/home/cbnits/Documents/ref/substrate/bin/node/browser-testing)

failed to select a version for if-addrs-sys which could resolve this conflict
`

What do you think is the solution to this?

Reference Screenshot:

Screenshot from 2021-01-28 12-00-52

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions