Skip to content

publish-cvcpkg: build volrover3 on the glibc floor, deps from cvcpkg only - #52

Merged
transfix merged 2 commits into
masterfrom
fix/volrover3-publish
Nov 9, 2026
Merged

transfix merged 2 commits into
masterfrom
fix/volrover3-publish

Conversation

@transfix

@transfix transfix commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

The published cvc/volrover3 3.2.4+cvc.3 linux-x86_64 bin/volrover3 references GLIBC_2.38 (checked with objdump -T on the catalog bundle), so it doesn't start on Ubuntu 22.04, the cvcpkg fleet floor. The job built on ubuntu-latest (24.04), and cvcpkg pack --from-prefix doesn't check the floor. The job's macos-13 lanes queued for 24 h and were then cancelled (the image is retired), and macos-14 is no longer scheduled. Without this PR, Joe's enable_volrover3=true publish would ship +cvc.4 the same way.

Changes

  • Runners: the same as publish-cvcpkg: make the volrover2 job build, pack and run #51's volrover2 job: ubuntu-22.04, ubuntu-22.04-arm, macos-15 / macos-15-intel (deployment target 14.0), and windows-latest.
  • Dependencies: no apt, brew, vcpkg or install-qt-action steps. One cvcpkg prefix gets both the recipes/volrover2 closure (the top-level CMakeLists still configures the whole VolumeRover 2.0 tree) and the recipes/volrover3 closure, via cvcpkg install-deps. On Linux/macOS, cmake and ninja also come from the catalog.
  • Configure: GLUT is off. HDF5 stays on, because libcvc's CMake config needs hdf5-shared and the prefix provides it.
  • recipes/volrover3/recipe.yaml: each package.files entry is scoped to the platforms whose layout has it (VolumeRover3.app/ macOS only, bin/ not macOS). cvcpkg 2.5.x fails pack on an entry that matches nothing, and the September runs used cvcpkg 2.2.1, which didn't check. cvc_revision stays 4 (unpublished; the catalog has +cvc.3).

Verification

I replayed the job's Linux steps in a clean ubuntu:22.04 container (gcc 11.4, glibc 2.35, cvcpkg 2.5.12):

  • install-deps put 116 components in the prefix.
  • Configure, --target volrover3 and the volrover3 component install all pass.
  • cvcpkg pack produces volrover3-3.2.4+cvc.4-linux-x86_64-release-shared.tar.gz. The binary's max GLIBC_ is 2.34 and its RUNPATH is $ORIGIN/../lib.
  • In a fresh 22.04 prefix (deps plus the extracted archive), ldd reports nothing missing, and every library except the C/C++ runtime comes from the prefix.

The same replay of #51's volrover2 lane gives max GLIBC_2.34 and 0 missing libraries. It also found that the catalog's glew bundle bakes the builder's /usr/lib GLU/SM/ICE into its CMake export; #51 now handles that.

CI: workflow_dispatch dry run 42582235502 (dry_run=true enable_volrover3=true), dispatched on 6319d4f. That was this commit before it was rebased onto master after #51 merged (4eae657); its tree is identical to 23f375c's.

Still blocked

  • macOS: the catalog has no macos bundles of cvcgl, pycvc-cp311, pycvc-gl-cp311, pyside6-cp311 or shiboken6-cp311, and no vtk for macos/x86_64. Those lanes will stop at dependency install until libcvc publishes them.
  • cvcpkg validate recipes/volrover3: this reports 4 "unknown dependency" errors (cvcgl, libcvc, pycvc-cp311, pycvc-gl-cp311), but they're the same on master. Those recipes live in libcvc, not in cvcpkg's default recipe set.

…only

The published volrover3 3.2.4+cvc.3 linux-x86_64 binary references
GLIBC_2.38 because the job ran on ubuntu-latest (24.04), so it does not
start on 22.04 (fleet floor 2.35). Its macos-13 lanes queued for 24 h
(the image is retired) and macos-14 is no longer scheduled.

- Same runners as the volrover2 job: ubuntu-22.04, ubuntu-22.04-arm,
  macos-15 and macos-15-intel (deployment target 14.0), windows-latest.
- Drop the apt/brew/vcpkg and install-qt steps. The prefix gets the
  closures of recipes/volrover2 (the top-level tree still configures)
  and recipes/volrover3 via `cvcpkg install-deps`, with cmake/ninja from
  the catalog on Linux/macOS.
- Configure with GLUT off; HDF5 stays on because libcvc's CMake config
  needs it, and it comes from the prefix.
- Scope the recipe's package.files per platform: cvcpkg pack now fails
  on an entry that matches nothing (VolumeRover3.app/ off macOS).

macOS stays blocked on the catalog: cvcgl, pycvc-cp311, pycvc-gl-cp311,
pyside6-cp311 and shiboken6-cp311 have no macos bundles (vtk none for
macos/x86_64).
@transfix
transfix changed the base branch from fix/volrover2-publish to master November 9, 2026 07:57
@transfix
transfix force-pushed the fix/volrover3-publish branch from 6319d4f to 23f375c Compare November 9, 2026 07:57
The Windows publish lane built volrover3 and then failed in the install
step: CMAKE_PREFIX_PATH was D:\a\volrover\volrover/cvc-deps, and the
runtime-DLL walker pastes each prefix into a quoted install(CODE) string,
where "\a" is an invalid escape (run 42582235502). Convert each entry
with file(TO_CMAKE_PATH), and pass the workflow's Windows prefix through
`cygpath -m` so CMake gets D:/a/... everywhere.
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