MLE-30361: Fix UBI9 libnsl dependency mismatch by updating to AlmaLinux 9.8 repo#458
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes UBI9 dependency image build failures caused by a pinned AlmaLinux 9.7 libnsl RPM URL returning 404, by updating the pinned libnsl RPM download to the AlmaLinux 9.8 repository to match the current UBI9/glibc ecosystem.
Changes:
- Updated the pinned
libnslRPM URL from AlmaLinux 9.7 to AlmaLinux 9.8. - Refined inline rationale comments explaining why
--nodepsis used and how the pin is kept aligned with UBI9’s glibc.
f5d7dd2 to
9115946
Compare
9115946 to
cab2825
Compare
rwinieski
approved these changes
Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
UBI9 x86_64 builds have been failing since the UBI9 base image moved to glibc 2.34-270.el9_8. The hardcoded libnsl URL still pointed to the AlmaLinux 9.7 repo, which no longer serves that file, causing a 404 during the dependency image build.
Root Cause
microdnf -y upgrade glibcindockerFiles/marklogic-deps-ubi9:basenow installs glibc 2.34-270.el9_8 (UBI9 repos moved from el9_7 to el9_8). The libnsl RPM was pinned to AlmaLinux 9.7 (libnsl-2.34-231.el9_7.10.x86_64.rpm) which is no longer available at that URL.Fix
Updated the libnsl RPM URL to AlmaLinux 9.8:
https://repo.almalinux.org/almalinux/9.7/BaseOS/x86_64/os/Packages/libnsl-2.34-231.el9_7.10.x86_64.rpmhttps://repo.almalinux.org/almalinux/9.8/BaseOS/x86_64/os/Packages/libnsl-2.34-270.el9_8.x86_64.rpmThe AlmaLinux 9.8 libnsl version (2.34-270.el9_8) matches the glibc version now provided by UBI9, maintaining ABI compatibility.
Note: The equivalent fix for aarch64 is in PR #459 targeting Docker-ARM-support.
Testing
make build docker_image_type=ubi9- PASSJira: MLE-30361