Created attachment 251703 [details] gnat12 aarch ali fix For ARCH=aarch64, multiple ads (ada specification files) have been installed without corresponding ali (ada library) files. In particular: /usr/local/gnat12/lib/gcc/aarch64-portbld-freebsd14.1/12.3.0/adainclude/s-imglllb.ads /usr/local/gnat12/lib/gcc/aarch64-portbld-freebsd14.1/12.3.0/adainclude/s-imgllli.ads /usr/local/gnat12/lib/gcc/aarch64-portbld-freebsd14.1/12.3.0/adainclude/s-imglllu.ads /usr/local/gnat12/lib/gcc/aarch64-portbld-freebsd14.1/12.3.0/adainclude/s-imglllw.ads The attached patch fixes this. Additionally, this unblocks the build for devel/gprbuild on aarch64 as well.
Any chance of reviewing and committing this?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=33718f6b048fb4f37d4731783b3533c6331f6943 commit 33718f6b048fb4f37d4731783b3533c6331f6943 Author: Jonathan Chen <jonc@chen.org.nz> AuthorDate: 2024-11-29 12:34:30 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2024-11-29 12:35:52 +0000 lang/gnat12: Fix build on aarch64 PR: 279996 Approved by: thierry lang/gnat12/Makefile | 2 +- lang/gnat12/pkg-plist | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
Hello, It seems that broke the package for i386: see https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pbec5b03b75e1_sc3c2f0ddd81/logs/gnat12-12.3.0.log ===> Building packages for gnat12-12.3.0 ===> Building gnat12-12.3.0 pkg-static: Unable to access file /wrkdirs/usr/ports/lang/gnat12/work/stage/usr/local/gnat12/lib/gcc/i386-portbl d-freebsd15.0/12.3.0/plugin/include/config/i386/biarch64.h:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/lang/gnat12/work/stage/usr/local/gnat12/lib/gcc/i386-portbl d-freebsd15.0/12.3.0/plugin/include/config/i386/freebsd64.h:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/lang/gnat12/work/stage/usr/local/gnat12/lib/gcc/i386-portbl d-freebsd15.0/12.3.0/plugin/include/config/i386/x86-64.h:No such file or directory *** Error code 1 Stop. make: stopped making "package" in /usr/ports/lang/gnat12
Created attachment 255750 [details] v0 reopen
(In reply to Mikael Urankar from comment #4) The MULTILIB / LIB_DIR_32 is over engineered, I don't have lib32 on my machine and can't test this part.