-
Notifications
You must be signed in to change notification settings - Fork 572
Fix SDKMAN GLIBC 2.30 incompatibility on RHEL 8 family systems #1568
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
base: copilot/unify-user-selection-logic
Are you sure you want to change the base?
Fix SDKMAN GLIBC 2.30 incompatibility on RHEL 8 family systems #1568
Conversation
Co-authored-by: abdurriq <[email protected]>
|
... This is a transient network timeout when downloading Ant from archive.apache.org: This is unrelated to the GLIBC compatibility fix. The logs show:
This is a known intermittent issue with Apache's archive servers. The test should pass on retry as the network issue is temporary. |
|
@copilot Still: |
Co-authored-by: abdurriq <[email protected]>
... Fixed in commit e7031f3. The issue was that setting The enhanced fix now:
This ensures no native binaries are present or used on RHEL 8 systems. |
AlmaLinux 8 test scenarios were failing with
GLIBC_2.30 not foundwhen SDKMAN's native CLI binaries attempted to execute. RHEL 8 family distributions (AlmaLinux 8, Rocky 8, RHEL 8) ship with GLIBC 2.28 and cannot upgrade without breaking binary compatibility.Changes
The fix uses a triple approach to ensure no native binaries are present or used on RHEL 8 systems:
SDKMAN_NATIVE_VERSION="false"environment variable to request no native binaries${SDKMAN_DIR}/etc/configto disable native version usage${SDKMAN_DIR}/libexecdirectory if it existsThis comprehensive approach ensures SDKMAN uses only the shell-based CLI on RHEL 8 family systems. The shell-based CLI has no special GLIBC requirements and provides identical functionality - the native CLI is purely a performance optimization for management commands.
Only affects RHEL 8 family; other distributions continue using native binaries for better performance.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.