Skip to content

cvcpkg recipes (3.x): pin libcvc ^3.7 in every dependency on its own packages - #1331

Merged
transfix merged 1 commit into
release/3.xfrom
fix/3x-pin-libcvc-major
Nov 17, 2026
Merged

transfix merged 1 commit into
release/3.xfrom
fix/3x-pin-libcvc-major

Conversation

@transfix

Copy link
Copy Markdown
Owner

3.x packages now pin libcvc ^3.7, so a fresh cvcpkg install of a 3.7.x host stops resolving libcvc 4.0.0. This is #1289 for release/3.x.

Why

Every package built from this tree links the libcvc of its own release, and libcvc's SONAME carries the major: libcvc.so.3 on this branch. release/3.x's recipes declare their libcvc, cvcgl and pycvc dependencies with no version, so cvcpkg install takes the newest provider. Now that 4.0.0 is in the catalog, a fresh install of ari, arisrvx or pycvc 3.7.14 (or 3.7.13) gets libcvc 4.0.0 and fails to load (libcvc.so.3 => not found). Until this is published, the workaround is to pin libcvc==3.7.14+cvc.2 by hand.

What changed

Testing

  • cvcpkg recipes: pin libcvc's major in every dependency on its own packages #1289's checker, with the wanted range set to ^3.7, passes on this branch: "all 59 dependencies on libcvc's own packages pin ^3.7".
  • cvcpkg validate cvcpkg/recipes prints the same output with and without this change: 16 errors before and after, all unknown-dependency errors for packages defined outside this tree (imgui-w32, libsodium, grl-snam-weights, scene-austin-south-small, vehicle-humvee).
  • Nothing was installed locally against a 3.x catalog.

After merge

Nothing changes for users until the 3.7.14 dependents are republished from release/3.x with a new +cvc.N. That republish is Joe's call.

…packages

#1289 on master, for release/3.x. Every package built from this tree
links the libcvc of its own release, and libcvc's SONAME carries the
major (libcvc.so.3 here). The recipes declare their libcvc, cvcgl and
pycvc dependencies with no version, so `cvcpkg install` takes the newest
provider. With 4.0.0 in the catalog, a fresh install of ari, arisrvx or
pycvc 3.7.14 (or 3.7.13) resolves libcvc 4.0.0 and does not load
(libcvc.so.3 => not found).

Each of the 59 dependencies, build and runtime, on a recipe under
cvcpkg/recipes/ or a name one provides (libcvc-cuda provides libcvc) now
carries version "^3.7": any 3.x from 3.7 on, never 4.x. They are the same
59 as #1289's, recipe for recipe.

#1289's checker and CI step are not carried over: release/3.x's ci.yml
runs on neither its pushes nor PRs into it, so the step would never run.
@transfix
transfix merged commit 8c077f3 into release/3.x Nov 17, 2026
6 checks passed
@transfix
transfix deleted the fix/3x-pin-libcvc-major branch November 17, 2026 21:43
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