Skip to content

release: ship cvcpkg's openssl in the macOS SDKs (cvc::state device keys link libcrypto) - #846

Merged
transfix merged 1 commit into
masterfrom
fix/release-macos-sdk-openssl
Oct 27, 2026
Merged

transfix merged 1 commit into
masterfrom
fix/release-macos-sdk-openssl

Conversation

@transfix

@transfix transfix commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

v3.7.1's tag Release run (40467963374) failed on macOS, so there is no GitHub release v3.7.1.

Cause. .github/scripts/sdk-bundle-deps.sh left cvcpkg's openssl bundle out of the macOS SDK, because only cvcpkg's libcurl linked it and macOS uses the system libcurl. Since #796, cvc::state's device keys link OpenSSL::Crypto directly (src/cvc/CMakeLists.txt) on every platform. So:

  • macos (libcvc-{debug,release}-shared): libcvc.3.7.1.dylib needs @rpath/libcrypto.3.dylib, not in the SDK (sdk-check-closure.sh).
  • sdk-smoke (macos-libcvc-release-static): the consumer's find_dependency(OpenSSL) found the runner's Python libcrypto (/Users/runner/hostedtoolcache/Python/3.12.10/arm64/lib/libcrypto.dylib, OpenSSL 4.0.3), outside the SDK.

The build itself linked cvcpkg's OpenSSL 3.4.1; only the SDK staging dropped it.

Fix. Ship openssl on macOS, as on Linux and Windows. The exclusion applied to macOS alone, so the Linux and Windows lanes do not change.

Checked. Only release.yml runs these scripts, so PR CI does not cover it. The proof is a workflow_dispatch Release run (a dry run: it never tags or publishes) on release/v3.7.1-sdk. That branch is tag v3.7.1 (d8ca602) plus this commit cherry-picked, and release.yml is the same there as on master. Run: 40594797574. It has to produce the macOS archives and pass sdk-smoke. Its archives can also become the v3.7.1 release without moving the tag.

…eys link libcrypto)

sdk-bundle-deps.sh left the openssl bundle out of the macOS SDK on the
grounds that only cvcpkg's libcurl links it, and macOS uses the system
libcurl. Since #796, cvc::state's device keys link OpenSSL::Crypto
directly on every platform, so v3.7.1's Release run failed on macOS:

- shared: libcvc.3.7.1.dylib needs @rpath/libcrypto.3.dylib, not in the
  SDK (sdk-check-closure.sh);
- static: the sdk-smoke consumer's find_dependency(OpenSSL) found the
  runner's Python libcrypto, outside the SDK.

Ship openssl on macOS as on Linux and Windows. Only the macOS lanes
change: the exclusion applied to them alone.
@transfix
transfix merged commit 9cab98f into master Oct 27, 2026
21 of 38 checks passed
transfix added a commit that referenced this pull request Oct 28, 2026
package-windows failed at build time when gtest_discover_tests listed
cvc_cli_test.exe under the parallel CUDA build: its POST_BUILD step ran with
TEST_DISCOVERY_TIMEOUT=5, and an exe killed before it exits leaves CMake an
empty test list ("Error running test executable."). src/cvc/tests already
gives Windows a 120 s timeout for this reason; src/cvc-cli gave it only to
macOS. Seen on #846's package-windows / libcvc-release-grpc (run
40594519229, job 122506916397).
transfix added a commit that referenced this pull request Oct 28, 2026
The project version and the cvcpkg recipe family move to 3.7.2. Every recipe is at cvc_revision 1
already, so none restarts.

3.7.2 carries the dynamic plants on the terrain and in a Jolt world, and the four-wheel plant
(#869): --plant dynamic and dynamic4w drive the ground, collide with the
buildings and each other, and book the collisions. It also carries dyn_4w's port-Hamiltonian form
(#850), dyn_bike's wheel-frame front slip (#852), the books goldens for GRL-SNAM's twins (#848,
#849), pycvc's drive telemetry (#857) and keep-alives (#864), the macOS SDK's openssl (#846), and
the state_exec scheduler and evaluator work (#842, #843, #844, #861, #863).
@transfix
transfix deleted the fix/release-macos-sdk-openssl branch October 29, 2026 20:54
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