Skip to content

fix(cvcgl recipe): pack lib/cvcGL* so the Windows-release bundle builds - #443

Merged
transfix merged 1 commit into
masterfrom
fix/cvcgl-recipe-msvc-lib-glob
Sep 28, 2026
Merged

transfix merged 1 commit into
masterfrom
fix/cvcgl-recipe-msvc-lib-glob

Conversation

@transfix

Copy link
Copy Markdown
Owner

Problem

The cvcgl +cvc.4 publish (the SDL3 dep bump, #440) failed at cvcpkg pack on windows-2022 / release (run 36368404728, job 108759488889):

cvcgl: package.files declares 1 entry that match nothing in the staged tree:
  lib/libcvcGL*
Error: no archive found for recipe 'cvcgl' ... Expected: cvcgl-*-windows-x86_64-release-shared.*

Root cause — the packaging glob, not the build

The release job log shows the static lib built and staged fine:

cvcGL.vcxproj -> ...\build-cvcgl\Release\cvcGL.lib
-- Installing: ...\stage-cvcgl\lib\cvcGL.lib

MSVC names a static lib cvcGL.lib (no lib prefix), so the sole lib/libcvcGL* entry in package.files matches nothing. The other two entries (lib/cmake/cvcGL/, include/cvc/gl/) staged and matched fine — which is why the error names exactly one unmatched entry.

This is the same MSVC-spelling case the libcvc recipe already handles by packing lib/cvc* beside lib/libcvc* (and lib/xmlrpc* beside lib/libxmlrpc*).

Fix

Add lib/cvcGL* to package.files.

  • No-op on Unix — libcvcGL.a / .so / .dylib already match lib/libcvcGL*; the new glob matches nothing extra there.
  • On MSVC it matches lib/cvcGL.lib.
  • cvcGL is a static lib (no DLL staged under stage-cvcgl/bin), so no bin/ entry is needed.

cvc_revision 4 → 5 so the corrected recipe republishes; cvcGL source is unchanged.

Notes

  • Windows-debug "passed" only because the publish workflow packs cvcgl in the release job only (debug packs libcvc alone), so debug never exercised the cvcgl packaging step.
  • Separate, not fixed here: the publish deps-closures (windows + wasm) did not install sdl3, so cvcGL fell back to the VTK interactor (cvcGL: SDL3 not found) — i.e. the SDL3 link is currently untested on the published bundles (not broken). Tracking that as a follow-up; the bundle's manifest still declares sdl3, so a consumer install pulls it from the catalog.

The +cvc.4 publish (SDL3 dep bump) FAILED at `cvcpkg pack` on
windows-2022 / release:

  cvcgl: package.files declares 1 entry that match nothing in the staged tree:
    lib/libcvcGL*
  Error: no archive found for recipe 'cvcgl' ... cvcgl-*-windows-x86_64-release-shared.*

Root cause is purely the packaging glob, not the build. The release job
log shows the static lib built and staged fine:

  cvcGL.vcxproj -> ...\build-cvcgl\Release\cvcGL.lib
  -- Installing: ...\stage-cvcgl\lib\cvcGL.lib

MSVC names a static lib `cvcGL.lib` (no `lib` prefix), so the sole
`lib/libcvcGL*` glob matches nothing; the headers and cmake configs
(the other two package.files entries) staged and matched fine. This is
the exact MSVC-spelling case the libcvc recipe already handles by
packing `lib/cvc*` beside `lib/libcvc*` (and `lib/xmlrpc*`).

Fix: add `lib/cvcGL*` to package.files. No-op on Unix
(libcvcGL.a/.so/.dylib already match lib/libcvcGL*); on MSVC it now
matches lib/cvcGL.lib. cvcGL is a static lib (no DLL staged under
stage-cvcgl/bin), so no bin/ entry is needed.

Windows-debug "passed" only because the publish workflow packs cvcgl in
the release job only (debug packs libcvc alone), so debug never
exercised this.

cvc_revision 4 -> 5 so the corrected recipe republishes; source
unchanged.
@transfix
transfix merged commit 788ef97 into master Sep 28, 2026
13 checks passed
@transfix
transfix deleted the fix/cvcgl-recipe-msvc-lib-glob branch October 29, 2026 20:53
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