Skip to content

deploy-pages: install its own cvcpkg; the runner's shared one went back to 2.2.1 - #1433

Merged
transfix merged 1 commit into
masterfrom
ci/deploy-pages-own-cvcpkg
Nov 21, 2026
Merged

transfix merged 1 commit into
masterfrom
ci/deploy-pages-own-cvcpkg

Conversation

@transfix

@transfix transfix commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

The GitHub Pages gallery has not deployed since 2026-11-20 14:38 UTC (df6a9d7). All 14 deploy-pages runs since then that were not cancelled by a newer push failed the same way: the gallery link stops on undefined symbol: __wasm_longjmp / __c_longjmp in libvtkIOImage-9.5.a. That includes the deploy of #1414, which added Jolt to the gallery. Its configure found Jolt ("cvc::physics Jolt backend ENABLED"), and then the link failed like the others.

Cause

  • deploy-pages ran whatever cvcpkg was in the runner user's ~/.local/bin on catx-03.
  • cy-pca/cyberpcangel-cvcgl's nightly runs on the same runner as the same user, and in its "Ensure a wasm-mt-aware cvcpkg" step it runs pip install --user --force-reinstall --no-deps 'git+https://github.com/transfix/libcvc-deps@master'. That repo is archived, and its master is cvcpkg 2.2.1.
  • On 2026-11-20 at 16:28 UTC (nightly run 44773706789) that step put 2.2.1 back. Every later deploy logged a 2.2.1-style cvcpkg.errors.ResolveError traceback and no "entries kept from earlier installs".
  • 2.2.1 predates installs merging into the prefix's lockfile (fix(install): merge into the prefix lockfile instead of replacing it cy-pca/cvcpkg#252). Each install rewrote lockfile.yaml with its own packages only, and the last installs are the --platform any scene and xterm.js packages.
  • pin-wasm-pre-jx1.sh reads that lockfile, so it printed "the prefix holds none of the pinned packages". VTK stayed at 9.5.0+cvc.6, built with wasm exceptions and wasm setjmp after the JX1 republish, and libcvc's JS-exceptions link failed.
  • The last good deploy, 44755438836, pinned freetype libjpeg-turbo libpng tiff vtk==9.5.0+cvc.5. The first bad one, 44791665783, pinned nothing.

Change

deploy-pages.yml:

  • Its own cvcpkg. A new step installs the released cvcpkg through .github/actions/cvcpkg-cli, the way CI's jobs do: 2.5.14, pinned in the action, in the job's temp dir. The install step puts it first on PATH in place of ~/.local/bin and logs which cvcpkg it runs.
  • A check before the pin. The job checks that the prefix's lockfile lists vtk. If a cvcpkg ever replaces the lockfile again, the deploy stops there with that message instead of at the link 15 minutes later.
  • Trigger. The action joins the paths that trigger a deploy, so bumping the cvcpkg pin redeploys.

Checks

  • The workflow YAML parses, and the file keeps its CRLF line endings.
  • The released 2.5.14 installs through cvcpkg.org/install.sh and runs on catx-03 (Ubuntu 22.04.5). It has --no-deps and --platform wasm, which the pin script uses.
  • deploy-pages runs only on master, so this PR's CI does not exercise it. The first deploy after merge is the test. A failed deploy leaves the current site up.

Not in this PR

cyberpcangel-cvcgl's nightly still installs cvcpkg 2.2.1 into the shared ~/.local every night. That nightly has also failed on 11-19 and 11-20. Pointing it at cy-pca/cvcpkg (or the same released CLI) belongs in that repo.

…ck to 2.2.1

Every deploy since 2026-11-20 16:28 UTC failed to link the gallery on VTK's
__wasm_longjmp / __c_longjmp. The job ran the cvcpkg in the runner user's
~/.local/bin, and cy-pca/cyberpcangel-cvcgl's nightly, on the same runner
and user, force-reinstalls that one from the archived transfix/libcvc-deps
(cvcpkg 2.2.1). That version predates installs merging into the prefix's
lockfile (cy-pca/cvcpkg#252), so each install rewrote the lockfile with its
own packages only. pin-wasm-pre-jx1.sh, which reads the lockfile, then found
none of its packages ("the prefix holds none of the pinned packages"), VTK
stayed at the republished wasm-exceptions cvc.6, and the link failed.

The job now installs the released cvcpkg through .github/actions/cvcpkg-cli,
as CI's jobs do, and puts it first on PATH. Before the pin it checks that
the lockfile lists vtk, so a cvcpkg that replaces the lockfile fails there
with a clear message instead of at the link. The action joins the paths
that trigger a deploy.
@transfix
transfix merged commit 3353d6c into master Nov 21, 2026
31 checks passed
@transfix
transfix deleted the ci/deploy-pages-own-cvcpkg branch November 21, 2026 20:14
transfix added a commit that referenced this pull request Nov 22, 2026
…TH (#1438)

The first deploy with #1433 (run 44946235712) stopped in "Install the cvcpkg CLI": the step
before it puts /opt/cvc-wasm/cmake-cvcpkg/bin first on PATH, and the curl there does not run.
Its RUNPATH lost its $ORIGIN, so it loads the system libcurl 7.81 and fails on an undefined
curl_easy_header, five attempts out of five. The CLI step now comes first and downloads with
the system curl. Also splits the lockfile check before the pin back onto two lines.
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