-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Getting ICU error when trying to build with globalization - Updated from #10989 #11419
Comments
Next Steps for Issue #11419
Would you like to take any specific action or need further details on any of these steps? |
I have the same issue with my latest build. Here's solution I tried:
I do suspect the recent update altered the default installed packages or runtime configurations, the ICU library might no longer be pre-installed or expected by default. If anyone has an idea, feel free to share, it'll be helpful |
Hi @DevOpsAzurance - Thank you for bringing this issue to our attention. We will look into this issue closely and will update you after investigating. |
Hi @DevOpsAzurance - As per your issue description, the issue occurs mostly because the ICU library is not properly linked or compatible with the runtime environment.
-Also make sure that you are using the latest version of NuGet Package vsxmd by running: |
Hi @DevOpsAzurance - Did you get a chance to look into the above solutions? Also, will post our findings here shortly. Thanks! |
Description
Ubuntu image is not built with required ICU packages needed for dotnet build:
Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
Setting environment variable to:
$export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
is not viable as dev requires globalization.
Per the recommendation of:
https://github.com/actions/runner-images/issues/10989
But still having an issue. My Pipeline YAML is running this:
Dev teams can set whether invariant is set to 0 or 1. If '0' and running on linux machine, it needs to install libicu-dev. The output of said steps is:
but then still fails with:
Platforms affected
Runner images affected
Image version and build link
Current agent version: '3.236.0'
Current image version: '1.0.3'
This image is using the March Build of the Ubuntu OS.
Is it regression?
N/A
Expected behavior
It should be able to build with Globalization using ICU on Ubuntu
Actual behavior
Fails due to missing packages
Repro steps
Run build with ICU install when DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0
The text was updated successfully, but these errors were encountered: