Skip to content

MLE-34224: Bump libnsl to 2.34-284.el9_8.4 to fix UBI9 builds - #498

Merged
vitalykorolev merged 1 commit into
developfrom
MLE-34224_ubi9-libnsl-dependency-mismatch
Nov 9, 2026
Merged

vitalykorolev merged 1 commit into
developfrom
MLE-34224_ubi9-libnsl-dependency-mismatch

Conversation

@vitalykorolev

@vitalykorolev vitalykorolev commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

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 -i fails and UBI9 builds break.

Fix: Pin libnsl to 2.34-284.el9_8.4 in dockerFiles/marklogic-deps-ubi9:base (x86_64, line 45) and dockerFiles/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=ubi9 with --no-cache: exit 0. rpm -q glibc libnsl shows 2.34-284.el9_8.4 in the deps and server images. The server image also installs MarkLogic 12.1.
  • Cached rebuild: exit 0. The platform layers are an exact prefix of the deps and server layers.
  • Robot D01 Smoke Test: 1 passed, 0 failed.
  • The aarch64 libnsl 2.34-284.el9_8.4 RPM requires 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-test was not run locally. container-structure-test cannot reach the Docker socket on macOS Docker Desktop, and the Makefile's sed -i is 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), and ubi9-rootless (#4), including Docker and structure tests. ubi9-rootless-arm was 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

Update the x86_64 and aarch64 UBI9 deps templates to match the glibc installed by the platform stage.
Copilot AI balanced review requested due to automatic review settings November 7, 2026 19:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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_8 to 2.34-284.el9_8.4 for 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
vitalykorolev merged commit 47b8433 into develop Nov 9, 2026
6 checks passed
@vitalykorolev
vitalykorolev deleted the MLE-34224_ubi9-libnsl-dependency-mismatch branch November 9, 2026 20:31
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.

3 participants