Hi,

Andreas Enge <andr...@enge.fr> writes:
> starting phase `build'
> error: failed to select a version for `core-graphics-types`.
>     ... required by package `core-graphics v0.23.2`
>     ... which satisfies dependency `core-graphics = "^0.23.2"` of package 
> `kanata v1.7.0-prerelease-2 
> (/tmp/guix-build-kanata-1.7.0-prerelease-2.drv-0/kanata-1.7.0-prerelease-2)`
> versions that meet the requirements `^0.1` are: 0.1.1
>
> the package `core-graphics` depends on `core-graphics-types`, with features: 
> `link` but `core-graphics-types` does not have these features.
>
> failed to select a version for `core-graphics-types` which could resolve this 
> conflict
>
> We do have core-graphics-types@0.23.2 and core-graphics-types@0.1.1, so the
> versions look okay to my untrained eye.

it appears that the crates `core-graphics` and `core-graphics-types` are
developed in the same repository [1]. Looking at the commit where the
`core-graphics` version was set to 0.23.2 [2], the
corresponding `core-graphics-types` crate version (0.1.3) already has
the "link" feature, but version 0.1.1 (the version in Guix) does not.
This seems to be a mistake in the `core-graphics` crate.

As `kanata` depends on `core-graphics` version 0.23.2, you should add
a package for rust-core-graphics-types with version 0.1.3 (the latest
0.1.* version) and use that instead in the #:cargo-inputs of
rust-core-graphics-0.23.

Cheers,
David

[1] https://github.com/servo/core-foundation-rs
[2] 
https://github.com/servo/core-foundation-rs/blob/dd284a07f4aec3b78667462cd7ef56d0c6153c68

Reply via email to