Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update rtnetlink #19

Merged
merged 3 commits into from
Jun 24, 2022
Merged

Update rtnetlink #19

merged 3 commits into from
Jun 24, 2022

Conversation

ackintosh
Copy link
Contributor

@ackintosh ackintosh commented Jun 23, 2022

Currently, the CI workflow on Linux fails.

https://github.com/ackintosh/if-watch/runs/7024984543?check_suite_focus=true

Compiling rtnetlink v0.9.1
error[E0432]: unresolved import netlink_proto::ErrorKind
Error: --> /home/runner/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rtnetlink-0.9.1/src/lib.rs:47:9
|
47 | ErrorKind,
| ^^^^^^^^^ no ErrorKind in the root

From what I've seen, it is due to incompatibility in netlink-proto v0.9.3, which is a dependency of rtnetlink v0.9. ErrorKind is removed in netlink-proto v0.9.3 but rtnetlink v0.9 is still using it.

The issue above can be solved by updating rtnetlink from v0.9 to v0.10.

Release note on netlink: https://github.com/little-dude/netlink/releases/tag/20220623

Copy link
Owner

@mxinden mxinden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed to fix rust-libp2p as well.

Thank you very much @ackintosh for both debugging and providing the full patch!

@mxinden mxinden merged commit 2d53554 into mxinden:master Jun 24, 2022
@mxinden
Copy link
Owner

mxinden commented Jun 24, 2022

Tagged and published.

@ackintosh ackintosh deleted the update-rtnetlink branch June 24, 2022 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants