https://bugzilla.redhat.com/show_bug.cgi?id=2266450



--- Comment #5 from Fabio Valentini <[email protected]> ---
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-manifest-key

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=report-spam&short_desc=Report%20of%20Bug%202266450%23c5
--
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to