Repository navigation
The libcvc family on FreeBSD, OpenBSD and NetBSD, built by the cvcpkg.org fleet on each tag - #1581
Merged
Merged
Conversation
… OpenBSD and Haiku The recipes get freebsd, openbsd and netbsd matrix rows, for builds on the cvcpkg.org fleet from a release tag's tarball. libcvc's runtime deps that have BSD bundles are no longer scoped off the BSDs: eigen, libigl, gsl, hdf5, log4cplus, libopus, libsodium, fontconfig, expat, yaml, yaml-cpp, nlohmann-json, json-schema-validator, ftxui, ncurses, levmar, libiimod, curl, openssl, c-ares, re2, abseil, protobuf and grpc, plus assimp and joltphysics on openbsd and tvision on freebsd and netbsd. The build scripts count jobs with sysctl hw.ncpu where there is no nproc (OpenBSD), and use pkgsrc's clang on NetBSD, as cvcpkg's NetBSD deps do. cvc::process::self_path gains NetBSD's kern.proc_args pathname sysctl, OpenBSD's argv[0] (resolved against the working directory or PATH, since OpenBSD keeps no path), and Haiku's app image.
GitHub has no BSD or Haiku runners, and the fleet's builders made every dependency those bundles link (OpenBSD keeps no ABI between releases). So on a tag the fleet builds them. push-recipes pushes the recipes with their source pinned to this run's GitHub tarball (the tag's, or the commit's on a dispatch), hashed twice, and with each family package's +cvc.N from compute-revisions: .github/scripts/pin-recipe-source.py rewrites only the vendored source: block and cvc_revision. A pushed vendored recipe had no source a builder could fetch. fleet-bsd-haiku submits libcvc, ari and arisrv as one cvc-org DAG for freebsd, openbsd, netbsd and haiku (each recipe builds on the columns its matrix names), with --no-deps and --skip-existing, and follows it for 100 minutes; still building past that is a notice, not a failure.
libcvc builds on Haiku with what the catalog has there: no gRPC chain (abseil, protobuf, re2, grpc), so build.sh turns both conference transports off on Haiku (the WebSocket one needs protobuf's wire too); no openblas, so no levmar; and no fontconfig, tvision or openmp. Its other runtime deps now cover haiku (boost, imagemagick, libigl, libiimod and joltphysics through cy-pca/cvcpkg#644, libsodium through #641). ari gets a haiku row; arisrv does not, since it needs gRPC.
Their dependencies all have FreeBSD, OpenBSD and NetBSD bundles: sdl3 and ffmpeg-lgpl (ari-media, cvcgl), python312 and numpy-cp312 (arisrvx, pycvc-cp312), vtk and imgui-w32 (cvcgl, arigl). cvcgl's ffmpeg-lgpl deps now cover the BSDs, and pycvc-cp312's site-packages globs do too. The build scripts count jobs with sysctl where there is no nproc and use pkgsrc's clang on NetBSD, as libcvc's do.
… and pycvc-cp312 too
…push and the fleet DAG
FreeBSD (libc++): relay_session::status() called max(seconds::rep, std::int64_t), which are long long and long there, so max could not deduce one type. The zero takes the count's own type. OpenBSD has no <sys/timeb.h>. XmlRpcDispatch only uses ftime on Windows, so the header moves into the Windows branch; elsewhere getTime() already uses gettimeofday.
…ore they pack publish-cvcpkg's lanes pack from a prefix and run their own checks first (ari renders terminal_tour.ari, arisrv opens a loopback room); the fleet builds these recipes with `cvcpkg build`, which runs the recipe's test: and nothing else. So: - ari's test.sh renders a small document with `ari snapshot` and checks that init: ran with a command-line argument and the terminal backend drew the result. - arisrv's test.sh runs the relay on loopback ports of the job's own, stops it with SIGTERM, and checks the exit status and the same log lines the lanes check: the gRPC room, the WebSocket plane, chat, Jolt avatars, libjpeg-turbo rungs. A Windows host's test shell checks the files only. pack --from-prefix runs no test, so the lanes are unchanged.
NetBSD's C++ library is the base system's libstdc++ from gcc 10, which has no
std::bit_cast (it arrived in gcc 11), so the cvcpkg.org NetBSD builder stopped
at surface.cpp ("no member named 'bit_cast' in namespace 'std'"). Both uses
now take std::bit_cast when __cpp_lib_bit_cast says it is there, else
__builtin_bit_cast, which pkgsrc's clang has and which stays constexpr for
surface_registry::finalize().
NetBSD's libstdc++ (base gcc 10) has std::mutex but no timed mutex (_GTHREAD_USE_MUTEX_TIMEDLOCK 0), which Boost.Config, under clang's __GNUC__ of 4, reads as "no <mutex>". Boost.Regex then takes its C++03 path, whose scoped_static_mutex_lock is defined in Boost.Regex's compiled sources; cvcpkg's Boost is header-only, so cvc-lod-bake, cvc-lsys and cvc-worldgen failed to link against libcvc.so (dev job 25574; the rest of libcvc compiled). core/boost_regex_static_mutex.cpp defines the pthreads version's four members, and only NetBSD builds it.
libcvc and ari keep their Haiku rows, but the fleet's Haiku box is unreachable and their Haiku deps wait on cy-pca/cvcpkg#644, so a tag would only queue jobs that cannot run. Also restore the pin steps' line continuations, which had collapsed into runs of spaces.
transfix
marked this pull request as ready for review
November 27, 2026 09:40
This was referenced Nov 27, 2026
Merged
publish-cvcgl-wasm: ariglx-web for wasm and wasm-mt; libcvc and cvcgl for single-threaded wasm
#1555
Merged
publish-cvcpkg.yml's coverage note keeps master's debug rows (#645) and adds the BSD columns.
This was referenced Nov 28, 2026
transfix
added a commit
that referenced
this pull request
Nov 28, 2026
Bumps libcvc to 4.0.11: CMakeLists VERSION and the 25 recipes (upstream_version, ==4.0.11 family pins), as bump-version.py writes them. v4.0.11 is the first tag that builds the FreeBSD, OpenBSD and NetBSD columns on the cvcpkg.org fleet (#1581).
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.
Brings libcvc, ari, arisrv, ari-media, arisrvx, cvcgl, arigl and pycvc-cp312 to FreeBSD, OpenBSD and NetBSD, built on each
v*tag. GitHub has no BSD runners, so the cvcpkg.org fleet builds them. Joe chose this design on 2026-11-26: the tag's tarball, built by the fleet. libcvc and ari also get Haiku rows, but Haiku is not submitted yet (see "Not here").Why the fleet. Its builders made every dependency these bundles link. OpenBSD keeps no ABI between releases, so libcvc has to build on the same 7.7 its deps did. The builders run OpenBSD 7.7 (clang 16), FreeBSD 14.4 (clang 19) and NetBSD 10.1 (pkgsrc clang 19 on the base system's libstdc++ from gcc 10).
publish-cvcpkg.yml
push-recipespushes the recipes with their source pinned to this run's GitHub tarball (the tag's, or the commit's on a dispatch). It downloads the tarball twice and pins only if both hashes agree. It also stamps each family package's+cvc.Nfromcompute-revisions. The rewrite is.github/scripts/pin-recipe-source.py, which changes only the vendoredsource:block andcvc_revision. Before this, a pushed vendored recipe had no source a builder could fetch:recipe pushdoesn't bundle a tree that holds the recipes dir.fleet-bsd-haikujob submits the eight as one DAG in the cvc org, for freebsd, openbsd and netbsd. Each recipe builds only on the columns its matrix names. The submit uses--no-deps, because an auto-added dep would publish under cvc; the deps come from the catalog. It also uses--skip-existing, so a rerun fills only the gaps.Recipes
sysctl hw.ncpuwhere there is nonproc(OpenBSD), and use pkgsrc's clang on NetBSD, as cvcpkg's NetBSD deps do.test:that the fleet runs before it packs: ari renders an inline document withari snapshot; arisrv opens a loopback room with its gRPC and WebSocket planes and stops cleanly on SIGTERM. The GitHub lanes pack from a prefix and run no recipe tests, so they are unchanged.Code
cvc::process::self_pathgains NetBSD'skern.proc_argspathname sysctl, OpenBSD's argv[0] resolved against the working directory or PATH (OpenBSD keeps no path), and Haiku's app image.relay_session.cpp'smaxofseconds::rep(long long) andint64_t(long) now takes the count's own type.<sys/timeb.h>: xmlrpc includes it on Windows only.std::bit_cast:world/surface.cppandworld/weather.cppuse__builtin_bit_castwhere__cpp_lib_bit_castis missing (constexpr, assurface_registry::finalizeneeds).std::mutexbut no timed mutex, which Boost.Config reads under clang as "no<mutex>", so Boost.Regex takes its C++03 path, whose static mutex lives in compiled sources a header-only Boost lacks.core/boost_regex_static_mutex.cpp, built on NetBSD only, defines its four members (pthreads); without it cvc-lod-bake, cvc-lsys and cvc-worldgen failed to link.Tested on the dev cluster (throwaway draft cy-pca/cvcpkg#642, these recipes pinned to commits of this branch):
cy-pca/cvcpkg, done: #641 (libsodium on the BSDs and Haiku) and #643 (NetBSD's CA store for openssl and curl, without which grpc couldn't download its sources there) are merged. Their bundles are on cvcpkg.org: libsodium on all three BSDs, and NetBSD's openssl, curl and grpc. Every dependency of the eight's BSD rows is now published, as
--no-depsneeds.Not here
haikuto the job's--platformwhen both are back.<latch>…) breaks the NetBSD column at the next tag: its libstdc++ is gcc 10's.