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

error: root struct of file 'Build' has no member named 'Pkg' #20

Open
orhun opened this issue Mar 14, 2023 · 0 comments
Open

error: root struct of file 'Build' has no member named 'Pkg' #20

orhun opened this issue Mar 14, 2023 · 0 comments

Comments

@orhun
Copy link

orhun commented Mar 14, 2023

Hello!

I'm getting the following error while trying to install ziglint on GitHub Actions:

Run zigmod aq install 1/nektro/ziglint
  zigmod aq install 1/nektro/ziglint
  shell: /usr/bin/bash -e {0}
fetch: git: https://github.com/nektro/ziglint
fetch: git: https://github.com/nektro/zig-range
fetch: git: https://github.com/nektro/zig-flag
fetch: git: https://github.com/nektro/zig-extras
/home/runner/.cache/zigmod/deps/git/github.com/nektro/ziglint/deps.zig:4:22: error: root struct of file 'Build' has no member named 'Pkg'
const Pkg = std.build.Pkg;
            ~~~~~~~~~^~~~
referenced by:
    Package: /home/runner/.cache/zigmod/deps/git/github.com/nektro/ziglint/deps.zig:44:11
    Package: /home/runner/.cache/zigmod/deps/git/github.com/nektro/ziglint/deps.zig:42:21
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

zig build failed with exit code: 1
Error: Process completed with exit code 1.

ziglint repository throws the same error as well: https://github.com/nektro/ziglint/actions/runs/4148744202/jobs/7177039025

orhun added a commit to orhun/linuxwave that referenced this issue Mar 14, 2023
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