-
Notifications
You must be signed in to change notification settings - Fork 4
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
ci: zig/protobuf-zig/: No such file or directory #11
Comments
it seems the zig-out/bin/protoc is not executable |
Oh thank you! That sounds like it might be the issue. I guess that either zig's zip impl or the build system doesn't preserve file executable bits. So they would have to be manually set. |
@mindon I can't reproduce on linux. What OS are you seeing this from? $ rm -rf .zig-cache/ zig-out/ && zig build && ls -lah zig-out/bin/
-rwxrwxr-x 1 9.0M Aug 9 15:11 protoc |
I'm using M1 with MacOS Sonoma 14.4.1 (23E224), zig (0.14.0-dev) build failure on following error |
|
Don't worry about my last request @mindon. I asked about this on discord and it seems like execute permissions support hasn't been added to the zig zip implementation yet. I created an issue for this ziglang/zig#21044. |
https://github.com/travisstaloch/protobuf-zig/actions/runs/9559522253/job/26350006190
Not sure whats causing this. Could be the change to https://github.com/mlugg/setup-zig.
TODO - get rid of the sdk step stuff in build.zig and instead do something like https://ziglang.org/learn/build-system/#running-the-projects-tools
The text was updated successfully, but these errors were encountered: