Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

*-sys crates reminder #30

Open
gyakovlev opened this issue Feb 14, 2020 · 1 comment
Open

*-sys crates reminder #30

gyakovlev opened this issue Feb 14, 2020 · 1 comment

Comments

@gyakovlev
Copy link
Contributor

gyakovlev commented Feb 14, 2020

-sys crates often try to link to system libraries, and if not found will compile own private copy.
notable examples are
libgit2-sys (uses unreleased ABI and will fail at runtime if tries to link to system library), but requires setting LIBGIT2_SYS_USE_PKG_CONFIG=1 to force looking for it.
onig-sys, will try to link to system oniguruma if it's found, and will compile private version if not.
prcre2-sys, will try system, and will compile own static if not found.
and more.

is it possible to modify cargo-ebuild to place a reminder if -sys crate is found in the depgraph? so users should check.

tracker bug in gentoo https://bugs.gentoo.org/709568

@cardoe
Copy link
Owner

cardoe commented Jun 19, 2020

Yes. A patch for the exact wording you'd like would be preferred.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants