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