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

Makefile error: "zkstack: not found" #3277

Open
L0GYKAL opened this issue Nov 14, 2024 · 0 comments
Open

Makefile error: "zkstack: not found" #3277

L0GYKAL opened this issue Nov 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@L0GYKAL
Copy link

L0GYKAL commented Nov 14, 2024

🐛 Bug Report

📝 Description

My goal is to run a local sequencer and prover to benchmark them.
I am following the Docker Builder guide (https://github.com/matter-labs/zksync-era/blob/main/docs/guides/build-docker.md) after installing the dependencies from the Setup Guide. (I don't know why there is a setup guide and a Docker Builder guide and finally a Running guide, it isn't in a particular order between Docker and running, so it's confusing).
When trying to run the makefile command: make -C ./docker build-all I got an error (see below).

🔄 Reproduction Steps

Just follow the guides on a clean and new machine.

🤔 Expected Behavior

Not an error

😯 Current Behavior

Here is the complete terminal output for this error:

make: Entering directory '/home/user/era/zksync-era/docker'
All required tools are installed.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

         ███████╗██╗  ██╗    ███████╗████████╗ █████╗  ██████╗██╗  ██╗
         ╚══███╔╝██║ ██╔╝    ██╔════╝╚══██╔══╝██╔══██╗██╔════╝██║ ██╔╝
           ███╔╝ █████╔╝     ███████╗   ██║   ███████║██║     █████╔╝ 
          ███╔╝  ██╔═██╗     ╚════██║   ██║   ██╔══██║██║     ██╔═██╗ 
         ███████╗██║  ██╗    ███████║   ██║   ██║  ██║╚██████╗██║  ██╗
         ╚══════╝╚═╝  ╚═╝    ╚══════╝   ╚═╝   ╚═╝  ╚═╝ ╚═════╝╚═╝  ╚═╝
                                                             

    A Comprehensive Toolkit for Creating and Managing ZK Stack Chains

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Repo       : https://github.com/matter-labs/zksync-era/
Docs       : https://docs.zksync.io/
Contribute : https://github.com/matter-labs/zksync-era/pulls

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Checking prerequisites
./.githooks
Installing ZK Stack CLI from ./
Installing zkstack
error: failed to open: /usr/local/.crates.toml

Caused by:
  Permission denied (os error 13)
ERROR: command failed: cargo install --root /usr/local --path ./crates/zkstack --force
/bin/sh: 5: zkstack: not found
make: *** [Makefile:66: prepare-contracts] Error 127
make: Leaving directory '/home/user/era/zksync-era/docker'```

#### 🖥️ Environment

Ubuntu 23.10

#### 📋 Additional Context

I think that I am in the right directory, you can check with the screenshot:
![image](https://github.com/user-attachments/assets/e221129c-4658-4594-a15f-e962cd559cce)
@L0GYKAL L0GYKAL added the bug Something isn't working label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant