You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(image): no C/C++ toolchain — uv cannot build sdists for deps without cp314 wheels (CMake reads absent nix-store compiler from sysconfig) #879
Found during 0.4.0 consumer field-validation (EXOMA/hyrr): just sync (uv) fails for any dependency that ships no cp314 wheel and must build from source.
Evidence (hyrr, uv sync in ghcr.io/vig-os/devcontainer:0.4.0):
× Failed to build `pycatima==1.981`
╰─▶ Call to `scikit_build_core.build.build_wheel` failed
*** scikit-build-core 0.12.2 using CMake 4.3.4 (wheel)
loading initial cache file build/cpython-314/CMakeInit.txt
CMake Error: Could not find the compiler specified in the environment variable CXX
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
In a fresh 0.4.0 container: CC/CXX are unset and no compiler exists on PATH (c++, g++, gcc, cc, clang++ all absent). The CXX value CMake complains about comes from the baked CPython's build-time sysconfig — a nix-store compiler path not shipped in the runtime image.
Impact is amplified by the Python 3.14 jump: the cp314 wheel ecosystem is young, so scientific consumers (pycatima here; cadquery-ocp/vtk are cp312/313-only) hit source builds far more often than under 3.13 — and every source build hard-fails.
Possible Solution
Decide the contract and implement one of: (a) ship a working C/C++ toolchain (gcc + make + CMake already present?) wired so scikit-build-core/setuptools find it (export sane CC/CXX); (b) explicitly document "no native builds in-image — provide toolchains via the project flake" and make the shipped ci.yml/direnv-mode support that (relates to #854); (c) sanitize the baked CPython sysconfig so build backends fall back to PATH discovery instead of a dead nix-store path.
Activity
docs(migration): formalize the native-build contract (#888)
fix(nix): sanitize image sysconfig compiler records to generic cc/c++ (…
feat(flake): opt-in capability modules on mkProjectShell (native firs…
c-vigo commentedon Jul 8, 2026
Implemented in 0.4.1 (released 2026-07-08) — see the
## [0.4.1]CHANGELOG entry. Closing as completed.chore: release 0.4.1 (#202)
chore: release 0.4.1 (#898)
chore: release 0.5.0 (#938)
chore: release 1.7.0 (#1385)