Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hugo serve: Error executing zigdoctest for [assets/.../1-simple-executable/build.zig]: AccessDenied #358

Open
Des-Nerger opened this issue May 10, 2024 · 0 comments

Comments

@Des-Nerger
Copy link

Des-Nerger commented May 10, 2024

Tried to run www.ziglang.org locally, but zig-doctest failed somehow. Its version was the most recent one cloned from GitHub. Tried to built zig-doctest with both the 0.13.0-dev.73+db890dbae and 0.13.0-dev.75+5c9eb4081 versions of Zig, but the result was the same.

$ ~/.go/bin/hugo serve
[Zig Doctest] TESTING <assets/zig-code/build-system/1-simple-executable/build.zig>...
[Zig Doctest] TESTING <assets/zig-code/build-system/1-simple-executable/hello.zig>...
[Zig Doctest] TESTING <assets/zig-code/build-system/10-release/hello.zig>...
[Zig Doctest] TESTING <assets/zig-code/build-system/10-release/build.zig>...
Start building sites … 
panic: Error executing zigdoctest for [assets/zig-code/build-system/1-simple-executable/build.zig]: error: AccessDenied

Build failed unexpectedly
zig build --color on --cache-dir ../../../../../../../../../media/c/Documnts/src/zig/www.ziglang.org/doctest-68a61b5b/zig-cache --prefix ../../../../../../../../../media/c/Documnts/src/zig/www.ziglang.org/doctest-68a61b5b/zig-out --summary all 
error: BuildFailed
/media/c/Documnts/src/zig/kristoff-it/zig-doctest/src/doctest/BuildSystemCommand.zig:87:25: 0x10b0c2a in run__anon_6208 (doctest)
                        return error.BuildFailed;
                        ^
/media/c/Documnts/src/zig/kristoff-it/zig-doctest/src/main.zig:376:5: 0x10b1df7 in do_build_system__anon_6191 (doctest)
    try @import("doctest/BuildSystemCommand.zig").run(
    ^
/media/c/Documnts/src/zig/kristoff-it/zig-doctest/src/main.zig:100:21: 0x10bc254 in main (doctest)
                    try do_build_system(allocator, &iterator, in_file, buffered_out_stream.writer());
                    ^
: exit status 1

goroutine 8 [running]:
github.com/gohugoio/hugo/tpl/zig.(*Namespace).Warmup.func1(0xc000474000, 0xc0005c18e0)
	/home/username/.go/src/github.com/kristoff-it/hugo/tpl/zig/doctest.go:107 +0xba
created by github.com/gohugoio/hugo/tpl/zig.(*Namespace).Warmup
	/home/username/.go/src/github.com/kristoff-it/hugo/tpl/zig/doctest.go:99 +0x74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant