warning: build failed, waiting for other jobs to finish...
root@DESKTOP-0U5HR72:~# curl https://cli.nexus.xyz/ | NONINTERACTIVE=1 sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 947 100 947 0 0 2611 0 --:--:-- --:--:-- --:--:-- 2608 rustc 1.82.0 (f6e511eec 2024-10-15) /root/.nexus/network-api exists. Updating. No local changes to save Already up to date. Compiling nexus-network v0.3.5 (/root/.nexus/network-api/clients/cli) Compiling nexus-core v0.2.3 (https://github.com/nexus-xyz/nexus-zkvm.git#7162d8dd) The following warnings were emitted during compilation:
warning: [email protected]: Failed to run protoc: No such file or directory (os error 2)
error: failed to run custom build command for nexus-network v0.3.5 (/root/.nexus/network-api/clients/cli)
Caused by:
process didn't exit successfully: /root/.nexus/network-api/clients/cli/target/release/build/nexus-network-09dace9f828076f8/build-script-build (exit status: 1)
--- stdout
cargo:warning=Failed to run protoc: No such file or directory (os error 2)
--- stderr Error: Os { code: 2, kind: NotFound, message: "No such file or directory" } warning: build failed, waiting for other jobs to finish...
same issue from 1 week
have same problem.
same problem
Refer to https://github.com/nexus-xyz/network-api/issues/78#issue-2722488638
same issue
same issue
You need to install protoc (yes, they forgot to mention it in the docs)
sudo apt update
sudo apt install -y protobuf-compiler
protoc --version
Caused by the low version of protoc.
Step 1: Uninstall the original protoc.
sudo apt-get remove protobuf-compiler
Step 2: Download protoc.
https://github.com/protocolbuffers/protobuf/releases/download/v29.1/protoc-29.1-linux-x86_64.zip
Step 3: Unzip it.
unzip protoc-29.1-linux-x86_64.zip -d ~/protoc_install
Step 4: Install it.
sudo cp ~/protoc_install/bin/protoc /usr/bin/protoc
Step 5: Verify it.
protoc --version