https://bugzilla.redhat.com/show_bug.cgi?id=2266450
--- Comment #5 from Fabio Valentini <decathorpe(a)gmail.com> ---
From what I can tell:
- remove `links = "c"` from Cargo.toml
- add glibc-devel as build dependency and dependency for the -devel package
from the cargo docs:
Primarily, Cargo requires that there is at most one package per links
value.
In other words, it is forbidden to have two packages link to the same native library.
ref.
https://doc.rust-lang.org/cargo/reference/build-scripts.html#the-links-ma...
I'm pretty sure this means that `links = "c"` should be removed from
upstream
as well, and that this is only working by accident, because not even the "libc"
crate (*the* libc bindings) claims to link with libc:
https://github.com/rust-lang/libc/blob/main/Cargo.toml
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2266450
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...