Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2025 22:27:29 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        FreeBSD Mailing List <freebsd-ports@freebsd.org>, "tagattie@freebsd.org" <tagattie@FreeBSD.org>
Subject:   Re: aarch64 electron build failure: fatal error: 'asm/hwcap.h' file not found; mark as BROKEN_aarch64 until fixed?
Message-ID:  <6AFD97D9-7B71-4146-BB51-11C301C2F478@yahoo.com>
In-Reply-To: <9607B5F6-ED3C-498B-ACE2-2571324D57FD@yahoo.com>
References:  <9607B5F6-ED3C-498B-ACE2-2571324D57FD@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 17, 2025, at 19:38, Mark Millard <marklmi@yahoo.com> wrote:

> I was doing a poudriere(-devel) "bulk -ca" test on an aarch64
> system and ran into electron33 failing for multiple examples
> of:
>=20
> In file included from ../../third_party/unrar/src/crypt.cpp:1:
> In file included from ../../third_party/unrar/src/rar.hpp:6:
> ../../third_party/unrar/src/os.hpp:167:10: fatal error: 'asm/hwcap.h' =
file not found
>  167 | #include <asm/hwcap.h>
>      |          ^~~~~~~~~~~~~
> 1 error generated.
>=20
> (Note: electron31 and electron32 are still building.)
>=20
> It would seem appropriate to avoid wasting time on bad
> build attempts as long as this is the case: while it is
> not yet fixed, it likely should be marked as BROKEN_aarch64
> in the Makefile involved.


electron32 got the same sort of failures:

2.3.0/pulseaudio-16.1/src -DPA_MAJOR=3D16 -c =
../../third_party/unrar/google/unrar_wrapper.cc -o =
obj/third_party/unrar/unrar/unrar_wrapper.o
In file included from =
../../third_party/unrar/google/unrar_wrapper.cc:13:
In file included from ../../third_party/unrar/src/rar.hpp:6:
../../third_party/unrar/src/os.hpp:167:10: fatal error: 'asm/hwcap.h' =
file not found
  167 | #include <asm/hwcap.h>
      |          ^~~~~~~~~~~~~
1 error generated.


Note: electron31 is still building.


I'll also note that chromium got the same sort of error:

In file included from =
../../third_party/unrar/google/unrar_wrapper.cc:13:
In file included from ../../third_party/unrar/src/rar.hpp:6:
../../third_party/unrar/src/os.hpp:167:10: fatal error: 'asm/hwcap.h' =
file not found
  167 | #include <asm/hwcap.h>
      |          ^~~~~~~~~~~~~
1 error generated.


Note: ungoogled-chromium is still building, as is
iridium-browser .


=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6AFD97D9-7B71-4146-BB51-11C301C2F478>