Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2020 07:20:10 +0000
From:      Nuno Teixeira <ed.arrakis@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: textproc/cast2gif not compiling on i386
Message-ID:  <CAFDf7UKzmjy3EpoR6J5s7DouOWzWBWsWikeD6vgC1aYruRdB1A@mail.gmail.com>
In-Reply-To: <CAFDf7UJAQbu_cx%2B=Hb=LSNM_Vg9c0mZ787RtbZN4HafhSjcZBg@mail.gmail.com>
References:  <CAFDf7UJAQbu_cx%2B=Hb=LSNM_Vg9c0mZ787RtbZN4HafhSjcZBg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
https://docs.rs/crate/font-kit/0.10.0 only show builds for x86-64 and i686

Nuno Teixeira <ed.arrakis@gmail.com> escreveu no dia segunda, 7/12/2020
=C3=A0(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=3D 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-c=
rates/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 fo=
nt_kit --edition=3D2018 /wrkdirs/usr/ports/textproc/cast2gif/work/cast2gif-=
4f76eeb/cargo-crates/font-kit-0.6.0/src/lib.rs --error-format=3Djson --json=
=3Ddiagnostic-rendered-ansi,artifacts --crate-type lib --emit=3Ddep-info,me=
tadata,link -C opt-level=3D3 -C linker-plugin-lto --cfg 'feature=3D"default=
"' --cfg 'feature=3D"freetype"' --cfg 'feature=3D"loader-freetyp
>
> (...)
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UKzmjy3EpoR6J5s7DouOWzWBWsWikeD6vgC1aYruRdB1A>