foundry-rs / foundry-rs/foundry
`Text file busy (os error 26)` due to race condition in SVM when doing multiple installations
- Dominant language
- Rust
- Stars
- 10.6k
- Forks
- 2.6k
- Avg merge
- 18h 20m
- Merged PRs (30d)
- 510
Description
### Component
Forge
### Have you ensured that all of these are up to date?
- [X] Foundry
- [X] Foundryup
### What version of Foundry are you on?
nightly
### What command(s) is the bug in?
forge build
### Operating System
Linux
### Describe the bug
Our monorepo has a bunch of packages, each using foundry nightly in CI (via `foundry-rs/foundry-toolchain@v1`). Each of these use `forge build` in their build step and we recently tried to turn on parallel builds (via `pnpm`), but it failed with
```
Text file busy (os error 26)
```
The logs weren't specific about where this was coming from, but I later saw a log line that mentioned `solc-0.8.13`:

Unclear if this is a foundry issue or solc issue, but it originates from `forge build`, so I'm starting here.
Ultimately would like to be able to run `forge build` for multiple foundry projects in parallel. Is this an issue with some sort of global cache? Or strictly just a ulimit thing?
Contributor guide
Assessment
This issue has not been assessed yet.