Skip to content

Fix version comparison in install-debs.py#15376

Merged
akoeplinger merged 1 commit intodotnet:mainfrom
am11:feature/cross/skipemulation
Jan 5, 2025
Merged

Fix version comparison in install-debs.py#15376
akoeplinger merged 1 commit intodotnet:mainfrom
am11:feature/cross/skipemulation

Conversation

@am11
Copy link
Copy Markdown
Member

@am11 am11 commented Jan 4, 2025

There is one test project in runtime repo src/native/corehost/test/nativehost which I had to disable for LA64 https://github.com/dotnet/runtime/pull/111086/files#diff-5bcafd0b974a4d9e67ba425365ca903f8948b3268a57823761684170d2aa704bR5, because it was requiring GLIBCXX_3.4.31 or above for std::ios_base_library_init. Turned out we were not installing the latest available libstdc++-6 package because the parse method was overwriting the package unchecked.

This PR moves the version comparison from install to parse, and overwrite the existing package based on higher version.

@am11
Copy link
Copy Markdown
Member Author

am11 commented Jan 4, 2025

Although the runtime CI is green with nethost test project disabled, I wanted to get this fixed while working on it. It's a good thing that this issue is found.

cc @jkoritzinsky, @akoeplinger also applied the tar->trusted change requested in other PR.

@akoeplinger akoeplinger merged commit 4e6b9f8 into dotnet:main Jan 5, 2025
@am11 am11 deleted the feature/cross/skipemulation branch January 5, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants