Repository navigation
MLE-34224: Bump libnsl to 2.34-284.el9_8.4 to fix UBI9 builds - #498
Merged
Merged
Conversation
Update the x86_64 and aarch64 UBI9 deps templates to match the glibc installed by the platform stage.
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Pending Jenkins builds and structure tests for all four UBI9 variants, especially ARM and rootless, leave the pinned libnsl RPM’s exact glibc match against live repositories unverified.
No open issues 🎉
What changed in this PR
Updates the UBI9 dependency images’ libnsl pin to match glibc 2.34-284.el9_8.4, addressing the RPM dependency mismatch that breaks image builds.
Changes:
- Bumps the Rocky Linux libnsl RPM from
2.34-283.el9_8to2.34-284.el9_8.4for both x86_64 and aarch64. - Leaves build stages and installation behavior unchanged.
| File | Description |
|---|---|
dockerFiles/marklogic-deps-ubi9:base |
Updates the x86_64 libnsl RPM pin. |
dockerFiles/marklogic-deps-ubi9-arm:base |
Updates the aarch64 libnsl RPM pin. |
Review effort: Balanced
vitalykorolev
requested review from
barkhachoithani,
pengzhouml,
rwinieski and
sumanthravipati
November 8, 2026 01:29
barkhachoithani
approved these changes
Nov 9, 2026
3 of 6 tasks
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.
Description
Jira: https://progresssoftware.atlassian.net/browse/MLE-34224
Root cause: The UBI9 deps templates pin the Rocky libnsl RPM to 2.34-283.el9_8. The platform stage upgrades glibc from the live UBI9 repositories, which now provide 2.34-284.el9_8.4. libnsl 2.34-283.el9_8 requires glibc exactly 2.34-283.el9_8, so
rpm -ifails and UBI9 builds break.Fix: Pin libnsl to 2.34-284.el9_8.4 in
dockerFiles/marklogic-deps-ubi9:base(x86_64, line 45) anddockerFiles/marklogic-deps-ubi9-arm:base(aarch64, line 43). Two lines changed, no other changes. This pin must be moved again when UBI9 publishes a newer glibc. Decoupling libnsl from the glibc version is out of scope for this PR.Verification:
make lint: no findings in the two changed templates. The DL3067 and DL3064 warnings in unchanged server templates are pre-existing.make build docker_image_type=ubi9with--no-cache: exit 0.rpm -q glibc libnslshows 2.34-284.el9_8.4 in the deps and server images. The server image also installs MarkLogic 12.1.D01 Smoke Test: 1 passed, 0 failed.glibc(aarch-64) = 2.34-284.el9_8.4. The ARM image was not built locally because this host has no aarch64 MarkLogic RPM.make structure-testwas not run locally. container-structure-test cannot reach the Docker socket on macOS Docker Desktop, and the Makefile'ssed -iis BSD-incompatible. Jenkins structure tests passed on builds Pushing code to master for ML Docker EA release #2, timezone settings for docker-compose file #3, and Fixing permissions #4.No new automated tests were added. This is a dependency pin, and the image build, the Robot smoke test, and the Jenkins structure tests cover it.
CI: Jenkins passed on the head commit for
ubi9(#2),ubi9-arm(#3), andubi9-rootless(#4), including Docker and structure tests.ubi9-rootless-armwas not run.Checklist:
Owner:
JIRA_ID as part of branch/PR name
Rebase the branch with upstream
Squashed all commits into a single commit
Added Tests
Reviewer:
Reviewed Tests
Added to Release Wiki/Jira