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
[bazel] emsdk >=5.0.2 fails in cmake rule (foreign_rules_cc) #1689
Building cmake rule fails because provided EMSDK_PYTHON (introduced in 5464280) is relative to execution_root,
but cmake can implicitly change current directory in builds (especially during try_compile steps to CMakeFiles/CMakeScratch).
/private/var/tmp/_bazel/1b4150e0bd5fb01fec2f73043048bd2e/execroot/_main/external/emsdk+/emscripten_toolchain/emcc.sh: line 5: exec: /private/var/tmp/_bazel/1b4150e0bd5fb01fec2f73043048bd2e/execroot/_main/bazel-out/wasm-dbg-wasm-ST-87cf4af9f873/bin/external/sdl3+/sdl3_cmake_base.build_tmpdir/CMakeFiles/CMakeScratch/TryCompile-ZttFNR/external/rules_python++python+python_3_11_aarch64-apple-darwin/bin/python3: cannot execute: No such file or directory
changed the title [-][bazel] emsdk >5.0.2 fails in cmake rule (foreign_rules_cc)[/-][+][bazel] emsdk >=5.0.2 fails in cmake rule (foreign_rules_cc)[/+]on Mar 27, 2026
Activity
[-][bazel] emsdk >5.0.2 fails in cmake rule (foreign_rules_cc)[/-][+][bazel] emsdk >=5.0.2 fails in cmake rule (foreign_rules_cc)[/+][bazel] fix: rules_foreign_cc cmake builds (#1690)