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)
Tue, Apr 23, 8:50 PM
Unknown Object (File)
Sun, Apr 21, 7:24 PM
Unknown Object (File)
Feb 6 2024, 11:08 PM
Unknown Object (File)
Jan 2 2024, 11:25 PM
Unknown Object (File)
Jan 2 2024, 11:25 PM
Unknown Object (File)
Jan 2 2024, 11:25 PM
Unknown Object (File)
Jan 2 2024, 11:25 PM
Unknown Object (File)
Jan 2 2024, 11:13 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.