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

Doesn't build with zig 0.6.0 #5

Closed
pjz opened this issue Nov 5, 2020 · 3 comments
Closed

Doesn't build with zig 0.6.0 #5

pjz opened this issue Nov 5, 2020 · 3 comments
Labels
wontfix This will not be worked on

Comments

@pjz
Copy link

pjz commented Nov 5, 2020

..and I can't find anything saying what version it should build against. Or is it now considered totally obsolete?

The first few lines of the results of 'zig build' on ubuntu 20.04 are:

$ zig build                                                                                                                                                                                         
Semantic Analysis [1042/1665] ./src/main.zig:594:8: error: no member named 'cwd_dir' in struct 'std.child_process.ChildProcess'                                                                                      
    git.cwd_dir = target_dir;                                                                                                                                                                                        
       ^                                                                                                                                                                                                             
./src/main.zig:556:13: note: referenced here                                                                                                                                                                         
            try runGit(&[_][]const u8{                                                                                                                                                                               
            ^                                                                                                                                                                                                        
./src/main.zig:509:76: note: referenced here                                                                                                                                                                         
    installPackageInternal(allocator, target_dir, full_name, install_mode) catch |err| switch (err) {                                                                                                                
                                                                           ^                                                                                                                                         
./src/main.zig:237:43: note: referenced here                                                                                                                                                                         
                    success = success and try installPackage(allocator, target_dir, repo_spec, cli.options.mode);                                                                                                    
                                          ^                                                                                                                                                                          
zpm...The following command exited with error code 1:                                                                
...
@alexnask
Copy link
Member

alexnask commented Nov 5, 2020

Hi, I agree this should be mentioned in the README.
I assume this requires zig master (or some reasonably recent zig), as do most zig projects.

@ikskuh
Copy link
Collaborator

ikskuh commented Nov 5, 2020

Right now, zpm itself is unmaintained until i find the time for a rewrite. I'll hook it up against CI then so it will keep up with latest master

@Epikest
Copy link

Epikest commented Jun 29, 2022

this issue should be closed, we're up to 0.10+ now

@ikskuh ikskuh closed this as completed Jun 29, 2022
@ikskuh ikskuh added the wontfix This will not be worked on label Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants