Bug 264875 - x11/babl: fails to build on aarch64
Summary: x11/babl: fails to build on aarch64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Many People
Assignee: Dima Panov
URL: http://ampere2.nyi.freebsd.org/data/m...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-24 17:21 UTC by Mikael Urankar
Modified: 2022-06-25 16:47 UTC (History)
1 user (show)

See Also:
fluffy: maintainer-feedback+


Attachments
v0 (2.19 KB, patch)
2022-06-24 17:21 UTC, Mikael Urankar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer freebsd_triage 2022-06-24 17:21:26 UTC
Created attachment 234918 [details]
v0

error message:
===>  Building package for babl-0.1.92
pkg-static: Unable to access file /wrkdirs/usr/ports/x11/babl/work/stage/usr/local/lib/babl-0.1/arm-neon-CIE.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/x11/babl/work/stage/usr/local/lib/babl-0.1/arm-neon-cairo.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/x11/babl/work/stage/usr/local/lib/babl-0.1/arm-neon-double.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/x11/babl/work/stage/usr/local/lib/babl-0.1/arm-neon-float.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/x11/babl/work/stage/usr/local/lib/babl-0.1/arm-neon-gegl-fixups.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/x11/babl/work/stage/usr/local/lib/babl-0.1/arm-neon-gggl-lies.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/x11/babl/work/stage/usr/local/lib/babl-0.1/arm-neon-gggl.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/x11/babl/work/stage/usr/local/lib/babl-0.1/arm-neon-grey.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/x11/babl/work/stage/usr/local/lib/babl-0.1/arm-neon-simple.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/x11/babl/work/stage/usr/local/lib/babl-0.1/arm-neon-u16.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/x11/babl/work/stage/usr/local/lib/babl-0.1/arm-neon-u32.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/x11/babl/work/stage/usr/local/lib/babl-0.1/arm-neon-ycbcr.so:No such file or directory

These libs are build for arm not arm64
see attached patch for a fix
Comment 1 Dima Panov freebsd_committer freebsd_triage 2022-06-24 18:43:46 UTC
Whoops, thanks for the point.
Sadly, I haven't any arm machine to tests, so it was empiric construct from the meson config :( 

Will push asap.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-06-25 14:01:55 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69dc4935e66470d3dd7fccfdbbe855b60644c1a4

commit 69dc4935e66470d3dd7fccfdbbe855b60644c1a4
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-06-25 14:00:21 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-06-25 14:00:21 +0000

    x11/babl: fix packaging on arm/aarch64

    PR:     264875

 x11/babl/Makefile  |  8 ++++----
 x11/babl/pkg-plist | 24 ++++++++++++------------
 2 files changed, 16 insertions(+), 16 deletions(-)
Comment 3 Dima Panov freebsd_committer freebsd_triage 2022-06-25 16:47:16 UTC
Committed, thanks!