textproc/cast2gif not compiling on i386

Nuno Teixeira ed.arrakis at gmail.com
Mon Dec 7 07:20:25 UTC 2020


https://docs.rs/crate/font-kit/0.10.0 only show builds for x86-64 and i686

Nuno Teixeira <ed.arrakis at gmail.com> escreveu no dia segunda, 7/12/2020
à(s) 07:09:

> Hello,
>
> textproc/cast2gif is not compiling on i386 and "expected `i32`, found
> `i64`" error seems to tell that font-kit rust dependency is not i386
> buildable.
>
> Should I use ONLY_FOR_ARCHS= amd64?
>
> Full log
> <http://beefy10.nyi.freebsd.org/data/114i386-default/557100/logs/cast2gif-0.1.0.p1.log>
>
> Thanks,
>
> Nuno Teixeira
>
> (...)
>
> error[E0308]: mismatched types
>    --> /wrkdirs/usr/ports/textproc/cast2gif/work/cast2gif-4f76eeb/cargo-crates/font-kit-0.6.0/src/loaders/freetype.rs:811:21
>     |
> 811 |                 yy: matrix.w() as i64,
>     |                     ^^^^^^^^^^^^^^^^^ expected `i32`, found `i64`
>
> error: aborting due to 6 previous errors
>
> For more information about this error, try `rustc --explain E0308`.
> error: could not compile `font-kit`
>
> Caused by:
>   process didn't exit successfully: `/usr/local/bin/rustc --crate-name font_kit --edition=2018 /wrkdirs/usr/ports/textproc/cast2gif/work/cast2gif-4f76eeb/cargo-crates/font-kit-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto --cfg 'feature="default"' --cfg 'feature="freetype"' --cfg 'feature="loader-freetyp
>
> (...)
>
>


More information about the freebsd-ports mailing list