Repository navigation
deploy-pages: install the cvcpkg CLI before the CMake bundle is on PATH - #1438
Merged
Merged
Conversation
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.
transfix
enabled auto-merge (squash)
November 21, 2026 22:35
transfix
added a commit
that referenced
this pull request
Nov 22, 2026
deploy-pages.yml conflicted: #1438 moved the cvcpkg CLI step ahead of the CMake step and split the lockfile check before the pin call. Master's step order is kept and the pin call goes, as JX2 deletes the pin script.
This was referenced Nov 22, 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.
The first gallery deploy with #1433, run 44946235712, stopped in its new "Install the cvcpkg CLI" step. Its installer failed five times out of five with:
Cause
The step before it, "Use the cvcpkg CMake on this runner", puts
/opt/cvc-wasm/cmake-cvcpkg/binfirst on PATH, and that directory holds a curl from cvcpkg's curl bundle. I checked on catx-03 (read only):RIGIN:/tmp/cvcpkg-builder/cvcpkg-prefix-curl-…/lib. The$ORIGINlost its first two characters, so the bundle's ownlib/libcurl.so.4is never found.lddresolveslibcurl.so.4to Ubuntu 22.04's/lib/x86_64-linux-gnu/libcurl.so.4, which is 7.81.0. That version predatescurl_easy_header(added in 7.83).The workflow's "Verify live" step already works around the same curl by using Python's urllib. When I tested 2.5.14 on catx-03 for #1433, that directory wasn't on PATH, so the test missed this.
Change
deploy-pages.yml. "Install the cvcpkg CLI" now runs before "Use the cvcpkg CMake on this runner", so the action downloads with the system curl. The install step still puts the CMake bundle on its own PATH, after the CLI, as before.Checks
bash -n./opt/cvc-wasm/cmake-cvcpkg/binadded after it, as the deploy does,cvcpkg install pegtl --platform wasm --arch wasm32 …installed and wrote the prefix's lockfile.cmakeunder 2.5.14 exactly as they did in the last good deploy (run 44755438836). They are allowed to fail, and those packages reach the prefix as dependencies of the wasm32 installs.PR CI doesn't run deploy-pages, so the next deploy after the merge is the real test. A failed deploy leaves the current site up.
Not fixed here
The broken RUNPATH in cvcpkg's curl bundle belongs to cy-pca/cvcpkg's curl recipe.