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

FTBFS trait netlink_packet_core::traits::NetlinkSerializable is not implemented for RawGenlMessage #7

Closed
stappersg opened this issue Jul 9, 2023 · 5 comments

Comments

@stappersg
Copy link

Hello,

This issue reports a Fails To Build From Source

After a fresh git clone of this repository and cargo build I do get:

error[E0277]: the trait bound `RawGenlMessage: netlink_packet_core::traits::NetlinkSerializable` is not satisfied
  --> src/connection.rs:30:5
   |
30 |     Connection<RawGenlMessage>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `netlink_packet_core::traits::NetlinkSerializable` is not implemented for `RawGenlMessage`
   |
note: required by a bound in `Connection`
  --> /home/stappers/.cargo/registry/src/index.crates.io-6f17d22bba15001f/netlink-proto-0.11.2/src/connection.rs:38:16
   |
38 |     T: Debug + NetlinkSerializable + NetlinkDeserializable,
   |                ^^^^^^^^^^^^^^^^^^^ required by this bound in `Connection`

error[E0277]: the trait bound `RawGenlMessage: netlink_packet_core::traits::NetlinkDeserializable` is not satisfied
  --> src/connection.rs:30:5
   |
30 |     Connection<RawGenlMessage>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `netlink_packet_core::traits::NetlinkDeserializable` is not implemented for `RawGenlMessage`
   |
note: required by a bound in `Connection`
  --> /home/stappers/.cargo/registry/src/index.crates.io-6f17d22bba15001f/netlink-proto-0.11.2/src/connection.rs:38:38
   |
38 |     T: Debug + NetlinkSerializable + NetlinkDeserializable,
   |                                      ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Connection`

error[E0277]: the trait bound `RawGenlMessage: netlink_packet_core::traits::NetlinkSerializable` is not satisfied
  --> src/connection.rs:41:5
   |
41 |     Connection<RawGenlMessage, S>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `netlink_packet_core::traits::NetlinkSerializable` is not implemented for `RawGenlMessage`
   |
note: required by a bound in `Connection`
  --> /home/stappers/.cargo/registry/src/index.crates.io-6f17d22bba15001f/netlink-proto-0.11.2/src/connection.rs:38:16
   |
38 |     T: Debug + NetlinkSerializable + NetlinkDeserializable,
   |                ^^^^^^^^^^^^^^^^^^^ required by this bound in `Connection`

error[E0277]: the trait bound `RawGenlMessage: netlink_packet_core::traits::NetlinkDeserializable` is not satisfied
  --> src/connection.rs:41:5
   |
41 |     Connection<RawGenlMessage, S>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `netlink_packet_core::traits::NetlinkDeserializable` is not implemented for `RawGenlMessage`
   |
note: required by a bound in `Connection`
  --> /home/stappers/.cargo/registry/src/index.crates.io-6f17d22bba15001f/netlink-proto-0.11.2/src/connection.rs:38:38
   |
38 |     T: Debug + NetlinkSerializable + NetlinkDeserializable,
   |                                      ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Connection`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `genetlink` (lib) due to 4 previous errors

System information

$ rustc --version
rustc 1.70.0 (90c541806 2023-05-31)
$ cargo --version
cargo 1.70.0 (ec8a8a0ca 2023-04-25)

Further information available on request.

@cathay4t
Copy link
Member

I am in middle of bundle release of rust-netlink crates. Please wait a while.

@stappersg
Copy link
Author

I am in middle of bundle release of rust-netlink crates. Please wait a while.

Acknowledge ( this issue has now a link to 2023-07-10 Bundle Release )

@cathay4t
Copy link
Member

The release are all set. Will do the fedora release next week.

@stappersg
Copy link
Author

The release are all set.

Consider to tell that to https://github.com/orgs/rust-netlink/discussions/6

Will do the fedora release next week.

The FTBFS this issue is about, currently still exists.

I (partly) reverted rust-netlink/netlink-packet-core@4be026d but that was not the desired improvement.

@stappersg
Copy link
Author

The FTBFS this issue is about, currently still exists.

A git pull solved the FTBFS

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

No branches or pull requests

2 participants