Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2025 02:03:21 -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:  <1F735DDF-5841-4879-AD1F-F54907D0D2FB@yahoo.com>
In-Reply-To: <6AFD97D9-7B71-4146-BB51-11C301C2F478@yahoo.com>
References:  <9607B5F6-ED3C-498B-ACE2-2571324D57FD@yahoo.com> <6AFD97D9-7B71-4146-BB51-11C301C2F478@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_AE110DCA-A12E-402D-AEC1-85DB82DA2F56
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



On Feb 17, 2025, at 22:27, Mark Millard <marklmi@yahoo.com> wrote:

> On Feb 17, 2025, at 19:38, Mark Millard <marklmi@yahoo.com> wrote:
>=20
>> 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.
>=20
>=20
> electron32 got the same sort of failures:
>=20
> 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.
>=20
>=20
> Note: electron31 is still building.
>=20
>=20
> I'll also note that chromium got the same sort of error:
>=20
> 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.
>=20
>=20
> Note: ungoogled-chromium is still building, as is
> iridium-browser .

By contrast:

electron31 and iridium-browser built just fine.

Note: ungoogled-chromium is still building.


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


--Apple-Mail=_AE110DCA-A12E-402D-AEC1-85DB82DA2F56
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;"><br =
id=3D"lineBreakAtBeginningOfMessage"><div><br><div>On Feb 17, 2025, at =
22:27, Mark Millard &lt;marklmi@yahoo.com&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div><div><blockquote type=3D"cite">On=
 Feb 17, 2025, at 19:38, Mark Millard &lt;marklmi@yahoo.com&gt; =
wrote:<br><br><blockquote type=3D"cite">I was doing a poudriere(-devel) =
"bulk -ca" test on an aarch64<br>system and ran into electron33 failing =
for multiple examples<br>of:<br><br>In file included from =
../../third_party/unrar/src/crypt.cpp:1:<br>In file included from =
../../third_party/unrar/src/rar.hpp:6:<br>../../third_party/unrar/src/os.h=
pp:167:10: fatal error: 'asm/hwcap.h' file not found<br> 167 | #include =
&lt;asm/hwcap.h&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;| =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^~~~~~~~~~~~~<br>1 =
error generated.<br><br>(Note: electron31 and electron32 are still =
building.)<br><br>It would seem appropriate to avoid wasting time on =
bad<br>build attempts as long as this is the case: while it is<br>not =
yet fixed, it likely should be marked as BROKEN_aarch64<br>in the =
Makefile involved.<br></blockquote><br><br>electron32 got the same sort =
of failures:<br><br>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<br>In file included from =
../../third_party/unrar/google/unrar_wrapper.cc:13:<br>In file included =
from =
../../third_party/unrar/src/rar.hpp:6:<br>../../third_party/unrar/src/os.h=
pp:167:10: fatal error: 'asm/hwcap.h' file not found<br> &nbsp;167 | =
#include &lt;asm/hwcap.h&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^~~~~~~~~~~~~<br>1 =
error generated.<br><br><br>Note: electron31 is still =
building.<br><br><br>I'll also note that chromium got the same sort of =
error:<br><br>In file included from =
../../third_party/unrar/google/unrar_wrapper.cc:13:<br>In file included =
from =
../../third_party/unrar/src/rar.hpp:6:<br>../../third_party/unrar/src/os.h=
pp:167:10: fatal error: 'asm/hwcap.h' file not found<br> &nbsp;167 | =
#include &lt;asm/hwcap.h&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^~~~~~~~~~~~~<br>1 =
error generated.<br><br><br>Note: ungoogled-chromium is still building, =
as is<br>iridium-browser .<br></blockquote><div><br></div>By =
contrast:<br><br>electron31 and iridium-browser built just =
fine.</div><div><br></div><div><div>Note: ungoogled-chromium is still =
building.</div><br></div></div></div><br><div>
<div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, =
0); letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div dir=3D"auto" style=3D"caret-color: rgb(0, 0, =
0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div dir=3D"auto" style=3D"color: rgb(0, 0, 0); =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div style=3D"color: rgb(0, 0, 0); =
font-variant-caps: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style=3D"orphans:=
 2; widows: 2; margin: 0px; line-height: normal;"><font face=3D"Courier =
New">=3D=3D=3D</font></div><div style=3D"orphans: 2; widows: 2; margin: =
0px; line-height: normal;"><font face=3D"Courier New">Mark =
Millard</font></div><div style=3D"orphans: 2; widows: 2; margin: 0px; =
line-height: normal;"><font face=3D"Courier New"><span style=3D"font-size:=
 12px;">marklmi at =
yahoo.com<br></span></font></div></div></div></div></div></div>
</div>
<br></body></html>=

--Apple-Mail=_AE110DCA-A12E-402D-AEC1-85DB82DA2F56--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1F735DDF-5841-4879-AD1F-F54907D0D2FB>