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: failed to run custom build command for gevulot-rs v0.1.3 #50

Open
thatzprem opened this issue Feb 7, 2025 · 3 comments
Open

Comments

@thatzprem
Copy link

error: failed to run custom build command for gevulot-rs v0.1.3

Caused by:
process didn't exit successfully: /tmp/cargo-installBMtOTR/release/build/gevulot-rs-d2ea655eab84b0c7/build-script-build (exit status: 101)
--- stderr
thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gevulot-rs-0.1.3/build.rs:42:10:
called Result::unwrap() on an Err value: TonicBufBuildError { message: "failed to execute `buf export buf.build/protocolbuffers/wellknowntypes -o /tmp/36f2505f-20e7-4ec4-9fae-bace700e5a44'", cause: Some(Os { code: 2, kind: NotFound, message: "No such file or directory" }) }

@trusch
Copy link
Contributor

trusch commented Feb 7, 2025

You need to have buf, a protobuf compiler, installed on your system. We already have it in the pipeline to relax this requirement

@thatzprem
Copy link
Author

We have it already installed but still getting this error.

zkcloud/gvltctl-x86_64-unknown-linux-musl# npx buf --version
1.50.0

Image

@aleasims
Copy link
Collaborator

aleasims commented Feb 7, 2025

Building gvltctl requires Buf executable to be available in PATH. Looks like your Buf is installed with NPM - I'm not sure the executable will be in PATH this way. Is it available on your machine?

which buf

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

3 participants