Repository navigation
ci-recipe: install the packaged cvcpkg 2.5.12, not the stale libcvc-deps repo - #1050
Merged
Merged
Conversation
…ps copy The macOS recipe lanes aborted in `cvcpkg build libcvc` before configure: Homebrew cmake 4.4.5 died with `dyld: Symbol not found: _iconv`, expected in <prefix>/lib/libiconv.2.dylib. transfix/libcvc-deps stopped tracking upstream cvcpkg in September. Its builder exports DYLD_LIBRARY_PATH=<prefix>/lib around every build step, and dyld searches that by leaf name ahead of a library's install path, so the system cmake loaded the prefix's GNU libiconv in place of the system one. cy-pca/cvcpkg#221 moved the prefix to DYLD_FALLBACK_LIBRARY_PATH for both the build and test environments. publish-cvcpkg.yml and the cvcpkg-build-tools action already install cy-pca/cvcpkg master; this lane now does too.
With cy-pca/cvcpkg installed, the macOS recipe Debug lane got through configure and build but failed 26 IPC tests in ctest with "state_transport_ipc::start: socket path too long". Since cy-pca/cvcpkg#398, `cvcpkg build` points TMPDIR at the build's work dir (.../T/cvcpkg-libcvc-XXXXXXXX/tmp/), and the tests' pid+timestamp+label socket names under temp_directory_path() went past sockaddr_un::sun_path. cvc_test::ipc_socket_path(name) (src/cvc/tests/ipc_socket_path.h) keeps the temp directory when the path fits and falls back to /tmp when it does not. The five IPC test files' make_socket_path helpers now use it.
… repo Install cvcpkg the way a developer does: cvcpkg.org's install.sh / install.ps1, pinned to 2.5.12 so every lane runs the same release. Linux and Windows get the registry's sha256-checked cvcpkg package. The registry has no macOS 2.5.12 (its newest macOS package is 2.5.1), so there the installer falls back to the checksum-verified cvcpkg-macos-arm64 binary on the cvcpkg-v2.5.12 release. 2.5.12 has the DYLD_FALLBACK_LIBRARY_PATH fix (cy-pca/cvcpkg#221) and the per-build TMPDIR (cy-pca/cvcpkg#398). The install dir goes on GITHUB_PATH, since install.ps1 only edits the user Path, which later steps don't read.
transfix
added a commit
that referenced
this pull request
Nov 8, 2026
#1050 made the same two fixes this branch carried for the macOS recipe lane (b5597c7, dfd8d0e, 7791c2e), and it is on master now. The merge takes master's side of each, so this branch no longer changes CI: - .github/workflows/ci-recipe.yml is master's: the packaged cvcpkg 2.5.12 from cvcpkg.org's install.sh / install.ps1. The cvcpkg build-tools step (no Homebrew cmake) and the --fallback-to-source move to install-deps go to #1054, the PR that takes Homebrew out of CI. - src/cvc/tests/ipc_socket_path.h and the five IPC tests are master's.
transfix
added a commit
that referenced
this pull request
Nov 8, 2026
transfix
added a commit
that referenced
this pull request
Nov 8, 2026
The recipe lanes took cmake and ninja from the runner image, which on macOS is Homebrew's. They now run ./.github/actions/cvcpkg-build-tools after installing cvcpkg, as the package and release jobs do, so cvcpkg's cmake, ninja and pkg-config come first on PATH for the recipe's build script and the job fails if one resolves anywhere else. cvcpkg 2.5's `build` has no --fallback-to-source (it is an install and install-deps flag; `build --no-deps` has no deps to build), so the workflow_dispatch input now goes to install-deps. This was on #1049 until #1050 fixed the rest of the macOS recipe lane on master.
This was referenced Nov 8, 2026
transfix
added a commit
that referenced
this pull request
Nov 8, 2026
…1049) WD0 and WD1 of ARIADNE_WORLDS.md: every room's world, and its look, now comes from a world document. - WD1: arisrv runs cvc://worlds/default.ari (the 20 m room), or cvc://worlds/large.ari with --scene large. Both live in the new src/cvc/ariadne/worlds/, installed beside components/. A --doc whose document has a scene: with nodes or lights is the world instead; --scene with such a --doc exits 2. - The relay publishes the world as one revision (conference::write_room_world): every field and the soft removals first, scene.rev once and last. conference::room_world_from_scene turns a document's scene into what the room's wire holds: background, chrome, shadows, every light (rigs included), and each top-level plane, box, sphere or mesh-by-URI node with its fit:, transform and plain material. What it leaves out is warned about at start-up. Every body is published as a static (server-dynamic entities are WD3's); physics: waits for the headless world runtime (L0, section 14). - The look is the world's (Q1). The three_point rig and its shadows move from conference_roster.ari into the world document. The wire gains the rig's tuning knobs (stage, key, fill, back, warmth, environment, ambient, wash, and #1047's sun) under scene.env.lights.<id>, and scene.env.shadows.interval. - default_world() and large_world() are C++ twins of the two documents, seeded when the world file can't be found; StockWorldsMatchTheirTwins pins each pair to the same leaves. - ServerDocument::read() keeps the parsed scene, so the world is published before the document's init: runs. - WD0: --set comes after the world and the room's policies, so it overrides them, but before a server document's init:, so ariadne.limits.* still bound init:. - Tests: RoomSceneTest.RigKnobsRoundTrip, RoomWorldIsOneRevision, RoomWorldFromSceneCarriesWhatTheWireHolds, StockWorldsMatchTheirTwins; ServerDocumentTest checks read() keeps the scene; ctests arisrv_world_from_doc, arisrv_world_doc_and_scene, arisrv_set_after_world. - No CI change: #1050 fixed the macOS recipe lane on master, and the merge of master takes its side. The recipe lanes' Homebrew-free build tools are #1054's.
transfix
added a commit
that referenced
this pull request
Nov 8, 2026
#1054) Homebrew is banned. This takes it out of the last two places libcvc's workflows used it: publish-cvcpkg.yml's macOS libcvc build and ci-recipe.yml's recipe lanes. - publish-cvcpkg.yml: ./.github/actions/cvcpkg-build-tools puts cvcpkg's cmake, ninja and pkg-config first on PATH before the macOS configure and fails if one resolves anywhere else. The ari and ari-media steps use them too, so the late tools step now runs on Windows only. - The `brew unlink jpeg-turbo` step for macOS Intel is gone. The configure passes -DCMAKE_IGNORE_PREFIX_PATH=/usr/local;/opt/homebrew, and the deps prefix's include dir outranks clang's built-in /usr/local/include, so Homebrew's turbojpeg.h can't win. - A new step, "Check the build used nothing from Homebrew [macOS]", fails if a header in ninja's deps log, or a library a staged dylib loads (otool -L), comes from a Homebrew prefix, and prints which cmake, ninja, pkg-config and bash ran. - ci-recipe.yml: after installing cvcpkg (#1050's packaged 2.5.12), the recipe lanes run cvcpkg-build-tools too, so the recipe's build script gets cvcpkg's tools instead of the runner image's. cvcpkg 2.5's `build` has no --fallback-to-source, so the workflow_dispatch input now goes to `install-deps`. - Verified by a publish-cvcpkg dry run (42451044846: build and pack, no publish, no uploads): Intel links without the unlink, every macOS row passes the check with cvcpkg's tools and /bin/bash 3.2, Linux and Windows unchanged. The PR's own recipe lanes ran the new step green. - Not changed: actions/checkout still runs the image's git (/opt/homebrew/bin/git on macOS), only to check out the source.
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
recipe / macos-latest / DebugandReleasehave failed on every branch since 2026-11-08 ~00:00Z, before libcvc compiles anything (e.g. run 42430604865):Cause
ci-recipe.ymlinstalled cvcpkg fromtransfix/libcvc-deps@master. That copy stopped tracking upstream in September (its last builder change is 2026-09-15). Its builder exportsDYLD_LIBRARY_PATH=<prefix>/libfor every build step. dyld searchesDYLD_LIBRARY_PATHby leaf name before a library's install path, so the runner's Homebrew cmake loaded the prefix's GNU libiconv (which exports_libiconv, not_iconv) in place of the systemlibiconv.2.dylib. Nothing in this repo sets the variable.Upstream fixed this in cy-pca/cvcpkg#221 (2026-10-13): the builder now puts the prefix on
DYLD_FALLBACK_LIBRARY_PATH, for the build and the test environments. dyld searches that path only for libraries it can't find at their install path or through rpaths.publish-cvcpkg.ymland thecvcpkg-build-toolsaction already installcy-pca/cvcpkg@master. Only this lane was still on the old copy, although its comment said it used the same pin as publish.The cmake 4.4.5 runner image is the likely trigger, since the stale builder code is two months old.
Change
The
Install cvcpkgstep now installs the packaged cvcpkg the way a developer does: cvcpkg.org'sinstall.sh(Linux/macOS) orinstall.ps1(Windows), pinned to2.5.12so every lane runs the same release. No more pip install of a git repo.cvcpkg-macos-arm64binary from thecvcpkg-v2.5.12GitHub release.DYLD_FALLBACK_LIBRARY_PATHfix (fix(builder): put the prefix on macOS's dyld fallback path, not DYLD_LIBRARY_PATH cy-pca/cvcpkg#221) and the per-buildTMPDIR(fix(builder): a POSIX build's TMPDIR lives in its work dir; recipe cache under --work-dir cy-pca/cvcpkg#398).GITHUB_PATH, sinceinstall.ps1only edits the user Path, which later steps don't read.The ctest step still finds the prefix's dylibs through the fallback path, and the smoke test still sets its own
DYLD_LIBRARY_PATH.Second change: IPC test socket paths
With the newer cvcpkg, macOS Debug got through configure and build but failed 26 IPC tests in ctest with
state_transport_ipc::start: socket path too long. Since cy-pca/cvcpkg#398,cvcpkg buildsetsTMPDIRto the build's work dir (.../T/cvcpkg-libcvc-XXXXXXXX/tmp/), which pushed the tests' pid+timestamp+label socket names past macOS's 104-bytesun_path. The newsrc/cvc/tests/ipc_socket_path.h(cvc_test::ipc_socket_path) keeps the temp dir when the path fits and falls back to/tmpotherwise. The five IPC test files now use it.Verification
This PR's own
CI (recipe-first)run: the macOS Debug and Release lanes should get past configure and build. The Ubuntu and Windows lanes should stay green on the newer cvcpkg.