Zig build (for the zig compiler) panics with "unable to open '/some/path/to/zig/.zig-cache/doc/langref' directory: FileNotFound" #20611
Labels
question
No questions on the issue tracker, please.
Zig Version
0.14.0-dev.244+0d79aa017 (on Arch Linux)
Steps to Reproduce and Observed Behavior
So, I ran
git pull
on the local zig repository, to get a self-built zig master build. Then, I built the Zig Compiler.I started
zig build
with the regular arguments (-Denable-llvm -Dstatic-llvm -Dno-langref --zig-lib-dir lib --search-prefix /some/path/to/llvm -Doptimize=ReleaseFast
), and I got an error about not supporting--zig-lib-dir
anymore. So I wanted to try outzig build -h
. Gave me a compiler error about the newb.addUpdateSourceFiles
being missing.Then I manually downloaded the newest Zig master archive and extracted it, set my path to that, ran
zig build
. Now it compiled, but I got:Clearing both local (/some/path/to/zig/.zig-cache) and global (/home/user/.cache/zig) cache didn't help either.
Expected Behavior
I expected the Zig compiler build script not to fail.
The text was updated successfully, but these errors were encountered: