Page MenuHomeFreeBSD

textproc/cast2gif: ONLY_FOR_ARCHS=amd64
ClosedPublic

Authored by rhurlin on Dec 8 2020, 8:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 10:39 PM
Unknown Object (File)
Sat, Nov 9, 9:13 AM
Unknown Object (File)
Oct 9 2024, 8:32 AM
Unknown Object (File)
Oct 4 2024, 12:47 PM
Unknown Object (File)
Oct 1 2024, 8:16 PM
Unknown Object (File)
Sep 29 2024, 7:09 PM
Unknown Object (File)
Sep 28 2024, 11:34 PM
Unknown Object (File)
Sep 27 2024, 9:31 PM
Subscribers

Details

Summary

cargo-crates/font-kit lists only the following platforms:

  • x86_64-unknow-linux-gnu
  • x86_64-pc-windows-msvc
  • i686-pc-windows-msvc
  • x86_64-apple-darwin

and it fails to compile on i386:

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`

Submitted by Nuno Teixeira <ed.arrakis@gmail.com> (maintainer) in PR 251672.

Tested on Poudriere (amd64). 'portlint -AC' is fine.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

let me try on aarch64 please

let me try on aarch64 please

That would be nice! I have no chance to test this.

Sounds interesting :)

Maybe I will find some time in the next days to prepare an internal patch and test it ...

Sounds interesting :)

Maybe I will find some time in the next days to prepare an internal patch and test it ...

It builds on armv7 (32bits) with this patch.

I think with the patch from Github [1] it now builds not only on amd64 and armv7, but also on the others arches, including i386.

Nuno, could you please try the new patch from the attachment area for builds other than amd64 and report back? Thanks!

[1] https://github.com/servo/font-kit/commit/cc92c3fb65792fa716728407f5651343e1bbe155

This revision is now accepted and ready to land.Dec 13 2020, 8:03 AM
This revision was automatically updated to reflect the committed changes.