Skip to content
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

Resolve issue that prevents using ubuntu image v 24.04 in build job #26

Open
hggutvik opened this issue Dec 9, 2024 · 0 comments
Open
Labels
question Further information is requested

Comments

@hggutvik
Copy link
Contributor

hggutvik commented Dec 9, 2024

Description

The build fails when running on the image ubuntu 24.04.
Ubuntu-latest workflows will use Ubuntu-24.04 image in the immediate future, so this failing build forces us to stop using ubuntu-latest and to stay on ubuntu-22.04.

Additional Information

The step that fails is Install dependencies:

Run dotnet restore
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.
   at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.Globalization.CultureData.CreateCultureWithInvariantData()
   at System.Globalization.CultureData.get_Invariant()
   at System.Globalization.CultureInfo..cctor()
   at System.String.ToLowerInvariant()
   at Microsoft.DotNet.PlatformAbstractions.RuntimeEnvironment.GetArch()
   at Microsoft.DotNet.PlatformAbstractions.RuntimeEnvironment..cctor()
   at Microsoft.DotNet.PlatformAbstractions.RuntimeEnvironment.GetRuntimeIdentifier()
   at Microsoft.DotNet.Cli.MulticoreJitProfilePathCalculator.CalculateProfileRootPath()
   at Microsoft.DotNet.Cli.MulticoreJitActivator.StartCliProfileOptimization()
   at Microsoft.DotNet.Cli.MulticoreJitActivator.TryActivateMulticoreJit()
   at Microsoft.DotNet.Cli.Program.Main(System.String[])
/home/runner/work/_temp/e8012eae-9aaa-40c8-be4a-db0b37222544.sh: line 1:  2260 Aborted                 (core dumped) dotnet restore
Error: Process completed with exit code 134.

Found this suggested fix on Stack overflow: https://stackoverflow.com/a/64370938

Tasks

No response

Acceptance Criterias

When running on an agent with ubuntu 24.04, the job runs successfully

@olebhansen olebhansen added the question Further information is requested label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants