conda-forge / icu-feedstock

A conda-smithy repository for icu.
BSD 3-Clause "New" or "Revised" License
1 stars 21 forks source link

Issue with ICU in building dotnet-feedstock for aarch64 #36

Open acesnik opened 3 years ago

acesnik commented 3 years ago

Issue:

Hi there, I'm having a new build issue within conda-forge/dotnet-feedstock regarding ICU (https://github.com/conda-forge/dotnet-feedstock/pull/34), and I'm wondering if you could help. It looks like it's not able to find the ICU packages on aarch64 within the docker instance environment from quay.io/condaforge/linux-anvil-cos7-x86_64 (https://github.com/conda-forge/dotnet-feedstock/pull/34/files#diff-db71f153817776d1878eba60d2c71512969cca05e702cdc382ac178b6fb316dfR18)

I've tried setting these variables during build and from the environment variables initialized when it's installed. https://github.com/dotnet/core/blob/main/Documentation/build-and-install-rhel6-prerequisites.md#troubleshooting

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
export PREFIX=/home/conda/feedstock_root/build_artifacts/dotnet_1625582251637/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold
export SRC_DIR=/home/conda/feedstock_root/build_artifacts/dotnet_1625582251637/test_tmp
+ dotnet --version
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.Globalization.CultureInfo.get_CurrentUICulture()
   at System.TimeZoneInfo..ctor(Byte[], System.String, Boolean)
   at System.TimeZoneInfo.GetTimeZoneFromTzData(Byte[], System.String)
   at System.TimeZoneInfo.GetLocalTimeZoneFromTzFile()
   at System.TimeZoneInfo+CachedData.CreateLocal()
   at System.DateTime.get_Now()
   at Microsoft.DotNet.Cli.Program.Main(System.String[])
/home/conda/feedstock_root/build_artifacts/dotnet_1625582251637/test_tmp/run_test.sh: line 7:  2112 Aborted                 (core dumped) dotnet --version
Tests failed for dotnet-sdk-5.0.301-h25a8a10_0.tar.bz2 - moving package to /home/conda/feedstock_root/build_artifacts/broken
WARNING:conda_build.build:Tests failed for dotnet-sdk-5.0.301-h25a8a10_0.tar.bz2 - moving package to /home/conda/feedstock_root/build_artifacts/broken
WARNING conda_build.build:tests_failed(2955): Tests failed for dotnet-sdk-5.0.301-h25a8a10_0.tar.bz2 - moving package to /home/conda/feedstock_root/build_artifacts/broken
TESTS FAILED: dotnet-sdk-5.0.301-h25a8a10_0.tar.bz2

Any thoughts on how to fix this? Thanks!