agg icon indicating copy to clipboard operation
agg copied to clipboard

Conflicting dependencies: servo-freetype-sys and freetype-sys

Open kalabukdima opened this issue 6 years ago • 0 comments

Build currently fails on linux with an error:

error: multiple packages link to native library `freetype`, but a native library can be linked only once

package `servo-freetype-sys v4.0.3`
    ... which is depended on by `servo-fontconfig-sys v4.0.7`
    ... which is depended on by `servo-fontconfig v0.4.0`
    ... which is depended on by `font-loader v0.7.0`
    ... which is depended on by `agg v0.1.1 (/home/dima/space/src/agg)`
links to native library `freetype`

package `freetype-sys v0.7.1`
    ... which is depended on by `freetype-rs v0.19.1`
    ... which is depended on by `agg v0.1.1 (/home/dima/space/src/agg)`
also links to native library `freetype`

I couldn't find an easy solution to fix this. Is it possible to use Servo's freetype in this crate instead of freetype-rs?

kalabukdima avatar Oct 16 '19 06:10 kalabukdima