sec / dotnet-core-freebsd-source-build

Collection of script to build .NET Core under FreeBSD OS (with binary releases)
MIT License
53 stars 4 forks source link

Failed to create CoreCLR, HRESULT: 0x8007FF02 #6

Closed jhfoo closed 2 years ago

jhfoo commented 2 years ago

Cmd that produced error

build_runtime.sh

Error messages

root@dotnet:~/dotnet-core-freebsd-source-build # ./build_runtime.sh
__DistroRid: freebsd-x64
##vso[task.setvariable variable=Artifacts;isSecret=false;isOutput=true]/root/dotnet-core-freebsd-source-build/runtime/artifacts
##vso[task.setvariable variable=Artifacts.Toolset;isSecret=false;isOutput=true]/root/dotnet-core-freebsd-source-build/runtime/artifacts/toolset
##vso[task.setvariable variable=Artifacts.Log;isSecret=false;isOutput=true]/root/dotnet-core-freebsd-source-build/runtime/artifacts/log/Release
##vso[task.setvariable variable=Temp;isSecret=false;isOutput=true]/root/dotnet-core-freebsd-source-build/runtime/artifacts/tmp/Release
##vso[task.setvariable variable=TMP;isSecret=false;isOutput=true]/root/dotnet-core-freebsd-source-build/runtime/artifacts/tmp/Release
Attempting to log this clients IP for Azure Package feed telemetry purposes
##vso[task.prependpath]/root/dotnet-core-freebsd-source-build/runtime//.dotnet
##vso[task.setvariable variable=DOTNET_MULTILEVEL_LOOKUP;isSecret=false;isOutput=true]0
##vso[task.setvariable variable=DOTNET_SKIP_FIRST_TIME_EXPERIENCE;isSecret=false;isOutput=true]1
Failed to create CoreCLR, HRESULT: 0x8007FF02
Build failed with exit code 137. Check errors above.
##vso[task.complete result=Failed;]msbuild execution failed.

OS and configuration

sec commented 2 years ago

Please try to enable mlock for your jail using jail -m jid=<jail id> allow.mlock=1 - and make sure your jail have internet access.

sec commented 2 years ago

Do you still have this issue?