Repository navigation
fix(cvcgl recipe): pack lib/cvcGL* so the Windows-release bundle builds - #443
Merged
Merged
Conversation
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.
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.
Problem
The
cvcgl+cvc.4 publish (the SDL3 dep bump, #440) failed atcvcpkg packon windows-2022 / release (run 36368404728, job 108759488889):Root cause — the packaging glob, not the build
The release job log shows the static lib built and staged fine:
MSVC names a static lib
cvcGL.lib(nolibprefix), so the solelib/libcvcGL*entry inpackage.filesmatches 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
libcvcrecipe already handles by packinglib/cvc*besidelib/libcvc*(andlib/xmlrpc*besidelib/libxmlrpc*).Fix
Add
lib/cvcGL*topackage.files.libcvcGL.a/.so/.dylibalready matchlib/libcvcGL*; the new glob matches nothing extra there.lib/cvcGL.lib.stage-cvcgl/bin), so nobin/entry is needed.cvc_revision4 → 5 so the corrected recipe republishes; cvcGL source is unchanged.Notes
libcvcalone), so debug never exercised the cvcgl packaging step.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 declaressdl3, so a consumer install pulls it from the catalog.