bazel-contrib / bazel-contrib/rules_cuda
Issues with `--experimental_use_hermetic_linux_sandbox`
- Dominant language
- Starlark
- Stars
- 122
- Forks
- 73
- Avg merge
- 7h 34m
- Merged PRs (30d)
- 7
Description
I am observing the known issue about `cc1plus: fatal error: /tmp/tmpxft_00000002_00000019-2.cpp: No such file or directory` reported [here](https://github.com/bazel-contrib/rules_cuda?tab=readme-ov-file#known-issue). To prevent this, I want to use `--experimental_use_hermetic_linux_sandbox` but I am running in further issues such as
```
failed: (Exit 1): generate-xml.sh failed: error executing command
```
Any recommendations how to solve this or what to set for `--sandbox_add_mount_pair`
Contributor guide
Research direction
Start with the linked rules_cuda known-issue and reproduce the failure using --experimental_use_hermetic_linux_sandbox. Inspect the generate-xml.sh failure and the interaction with --sandbox_add_mount_pair. Done means the command succeeds without the missing temporary C++ file error.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100