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

fontkit dependency error #205

Open
sk337 opened this issue Aug 20, 2024 · 2 comments
Open

fontkit dependency error #205

sk337 opened this issue Aug 20, 2024 · 2 comments

Comments

@sk337
Copy link

sk337 commented Aug 20, 2024

when font kit dependency is added to project error is caused

    Updating crates.io index
error: failed to select a version for `yeslogic-fontconfig-sys`.
    ... required by package `font-kit v0.13.0`
    ... which satisfies dependency `font-kit = "^0.13"` of package `raqote v0.8.4`
    ... which satisfies dependency `raqote = "^0.8.4"` of package `############# v0.1.0 (/home/sk337/##############)`
versions that meet the requirements `^5.0` are: 5.0.0

the package `yeslogic-fontconfig-sys` links to the native library `fontconfig`, but it conflicts with a previous package which links to `fontconfig` as well:
package `yeslogic-fontconfig-sys v6.0.0`
    ... which satisfies dependency `yeslogic-fontconfig-sys = "^6.0"` of package `font-kit v0.14.1`
    ... which satisfies dependency `font-kit = "^0.14"` of package `############# v0.1.0 (/home/sk337/#######)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the `links = "fontconfig"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for `yeslogic-fontconfig-sys` which could resolve this conflict
@atouchet
Copy link
Contributor

Is this still an issue with the raqote 0.8.5 update?

@sk337
Copy link
Author

sk337 commented Sep 11, 2024

Is this still an issue with the raqote 0.8.5 update?

have not tried it sorry

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