Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jun 2024 21:18:30 -0400
From:      Naram Qashat <njqashat@gmail.com>
To:        Freebsd Ports <freebsd-ports@freebsd.org>
Subject:   Re: Unable to build lang/dotnet for aarch64 in amd64 poudriere
Message-ID:  <7f222d2def480e3f262cf884240f9788@gmail.com>
In-Reply-To: <e4a49ebb4f7ce96ba6b6def777ada1c8@cyberbotx.com>
References:  <e4a49ebb4f7ce96ba6b6def777ada1c8@cyberbotx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2024-06-05 16:35, Naram Qashat wrote:
> I wanted to build a copy of dotnet from lang/dotnet for my Raspberry Pi 
> 4 and I use poudriere on my amd64 machine to cross-compile aarch64 
> ports for the Pi. Both systems are currently running 13.2-RELEASE-p2. 
> But when I try to build lang/dotnet in poudriere this way, the build 
> fails. It twice gives the error of:
> 
> Failed to create CoreCLR, HRESULT: 0x8007FF06
> 
> I couldn't find a proper answer online for why this happens. I found a 
> close answer with a slightly different HRESULT that suggested having 
> allow.mlock in the jail configuration, but even adding that to my 
> global /etc/jail.conf doesn't solve the problem, so I think that mlock 
> isn't my issue.
> 
> The full build log is here: 
> https://poudriere.cyberbotx.com:8766/data/local_aarch64-default/2024-06-05_10h53m44s/logs/errors/dotnet-8.0.0.log

So, slight update, I think this is a qemu-user-static issue. I tried to 
build on the Pi itself and it actually proceeds to build. I know very 
little about how things work with using qemu-user-static to crossbuild 
arm64 on amd64, but this seems to be the culprit at least. I also don't 
know how to fix this so I can use poudriere to build dotnet for arm64 on 
an amd64 machine.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7f222d2def480e3f262cf884240f9788>