nexus-cli icon indicating copy to clipboard operation
nexus-cli copied to clipboard

warning: build failed, waiting for other jobs to finish...

Open Sanskar4 opened this issue 1 year ago • 8 comments

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...

Sanskar4 avatar Nov 22 '24 08:11 Sanskar4

same issue from 1 week

sopya27 avatar Nov 22 '24 13:11 sopya27

have same problem.

billionaire avatar Nov 22 '24 14:11 billionaire

same problem

NetyNormNukov avatar Nov 24 '24 10:11 NetyNormNukov

Refer to https://github.com/nexus-xyz/network-api/issues/78#issue-2722488638

0xCipherNinja avatar Dec 06 '24 09:12 0xCipherNinja

same issue

zhaofeihao avatar Dec 09 '24 05:12 zhaofeihao

same issue

sanama avatar Dec 09 '24 21:12 sanama

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

msk01 avatar Dec 09 '24 22:12 msk01

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

azzjy avatar Dec 10 '24 14:12 azzjy