Skip to content

ci(publish): pin the linux publish runners to ubuntu-22.04 (glibc floor) - #164

Merged
transfix merged 1 commit into
masterfrom
fix/pin-ubuntu-glibc-floor
Aug 4, 2026
Merged

transfix merged 1 commit into
masterfrom
fix/pin-ubuntu-glibc-floor

Conversation

@transfix

@transfix transfix commented Aug 4, 2026

Copy link
Copy Markdown
Owner

A catalog audit on 2026-08-03 scanned every linux/x86_64 bundle on cvcpkg.org (424) for GLIBC_x.y symbol references. Ten were above the 2.35 fleet floor — and four of the six affected packages are ours, all published by this workflow:

bundle
libcvc 3.2.4+cvc.5 debug + release GLIBC_2.38
libcvc-cuda 3.2.4+cvc.1 GLIBC_2.38
pycvc-gl 3.2.4+cvc.7 GLIBC_2.38
volrover3 3.2.4+cvc.1 GLIBC_2.38

Cause

ubuntu-latest is now 24.04 (glibc 2.39). glibc is backward- but not forward-compatible, so anything linked there references GLIBC_2.38 and dies on a 22.04 host:

version `GLIBC_2.38' not found (required by libcvc.so)

There is no compile error and no failing test. The bundle packs, uploads and installs cleanly — then refuses to load. The entire 22.04 builder fleet and every 22.04 user got a broken libcvc, and this workflow stayed green throughout.

Why it went unnoticed

This is the same class of bug as the windows-2022 pin immediately below the change — a -latest image flip breaking the build. That one announced itself with a CL.exe ICE and got pinned. This one is silent, which is why it shipped four times over twelve days.

Changes

  • ubuntu-latest → ubuntu-22.04 (linux/x86_64) — matches the cvcpkg fleet floor of 2.35.
  • ubuntu-24.04-arm → ubuntu-22.04-arm — that leg is experimental and has published nothing yet, so it was a latent copy of the same bug rather than an active one.
  • ensure-org / compute-revisions stay on ubuntu-latest — they make API calls and compute revision numbers, and produce no binaries.
  • build-cuda: comment only. It cannot be fixed by pinning, because its OS is whatever the self-hosted cuda runner is — today a 24.04 box. cvcpkg pack now verifies the floor (libcvc-deps#432), so re-running it fails at pack time instead of shipping a broken bundle. That is intended behaviour, not a regression — documented in place so nobody mistakes it for one. Publishing libcvc-cuda for real needs a glibc≤2.35 host with a GPU.

Follow-up

Rebuilding the four affected bundles is tracked separately. This PR stops the source; without it, any rebuild gets re-poisoned on the next release.

The safety net is already deployed: the floor check lives inside pack_recipe, which both the builder fleet and cvcpkg build go through, so every publish path is now covered.

A catalog audit on 2026-08-03 scanned every linux/x86_64 bundle on
cvcpkg.org (424 of them) for GLIBC_x.y symbol references. Ten were above
the 2.35 fleet floor, and four of the six affected packages are ours:

  libcvc       3.2.4+cvc.5  (debug + release)  GLIBC_2.38
  libcvc-cuda  3.2.4+cvc.1                     GLIBC_2.38
  pycvc-gl     3.2.4+cvc.7                     GLIBC_2.38
  volrover3    3.2.4+cvc.1                     GLIBC_2.38

All four were published by this workflow. The cause is `ubuntu-latest`,
which GitHub has moved to 24.04 (glibc 2.39). glibc is backward- but not
forward-compatible, so anything linked there references GLIBC_2.38 and
dies on a 22.04 host with

    version `GLIBC_2.38' not found

There is no compile error and no failing test: the bundle packs, uploads
and installs cleanly, then refuses to load. The whole 22.04 builder fleet
and every 22.04 user got a broken libcvc and did not find out here.

This is the same class of bug as the windows-2022 pin directly below the
change — a -latest image flip breaking the build — except the Windows
version announced itself with a compiler ICE. This one was silent, which
is why it shipped four times over twelve days.

ubuntu-24.04-arm -> ubuntu-22.04-arm for the same reason; that leg is
experimental and has published nothing yet, so it is a latent copy of the
bug rather than an active one.

ensure-org and compute-revisions stay on ubuntu-latest: they make API
calls and compute revision numbers, and produce no binaries.

build-cuda cannot be fixed by pinning — its OS is whatever the self-hosted
cuda runner is, today a 24.04 box. cvcpkg pack now verifies the floor
(libcvc-deps#432), so re-running it fails at pack time instead of shipping
a broken bundle. Publishing libcvc-cuda for real needs a glibc<=2.35 host
with a GPU. Documented in place so the failure is not mistaken for a
regression.

Rebuilding the four bundles is tracked separately; this stops the source.
@transfix
transfix merged commit 8a900c6 into master Aug 4, 2026
4 of 7 checks passed
@transfix
transfix deleted the fix/pin-ubuntu-glibc-floor branch August 4, 2026 04:08
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.

1 participant