-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux_musl runs are failing with libs not found due to mismatched RID expectations #3008
Comments
I can't access this.
cc @ViktorHofer |
Sorry about that, let me expand on the different commands. To generate the libraries with the linux-musl-x64 in the path we use
|
I will try to reproduce the issue on Monday. |
This was run in mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-amd64-alpine-20230414190614-8100bf7 container runner on a ubuntu 1804 amd64 agent. |
Thanks for the info. I should be able to reproduce the issue with that. The thing that stands out for me is the |
This is the issue, the test build command doesn't look at the Adding
@LoopedBard3 are you able to fix the build using this information? @ViktorHofer is it so that every cross-build has a |
No idea... @janvorli @vitek-karas @wfurt might know. |
I will give this a try today 👍. |
The core_root test build got past the core_root build so it looks like this fixes the issue. @tmds Thank you for the help! |
That is true except for macOS and Windows. However, I would be hesitant to make the build decide whether to do a cross build or not based on an ambient env var being set. Currently, all of our build scripts require |
So when there is a |
When we build the linux_musl run libraries, the pathing for the libraries is as follows:
bin/microsoft.netcore.app.runtime.linux-musl-x64/Release/runtimes/linux-musl-x64/lib/net8.0/Microsoft.CSharp.dll
.When we try to then build the Core_Root it fails with Missing artifacts:
/__w/1/s/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/lib/net8.0/
This seems to be potentially related to dotnet/runtime#82832.
@tmds is there a parameter to the build.sh that we may be missing or something we should try on our end?
Thank you!
Example run failing under performance linux_musl x64... https://dev.azure.com/dnceng/internal/_build/results?buildId=2173609&view=results
The text was updated successfully, but these errors were encountered: