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 `celestia-proto v0.1.0 #17

Open
szymcio32 opened this issue Jan 26, 2024 · 1 comment
Open

Comments

@szymcio32
Copy link

I'm getting the following error during execution of ./target/release/madara run command

   Compiling jsonrpsee-client-transport v0.20.3
   Compiling textwrap v0.11.0
   Compiling libp2p-identity v0.2.8
error: failed to run custom build command for `celestia-proto v0.1.0 (https://github.com/eigerco/lumina?rev=ccc5b9bfeac632cccd32d35ecb7b7d51d71fbb87#ccc5b9bf)`

Caused by:
  process didn't exit successfully: `/root/.madara/madara/target/release/build/celestia-proto-b0bd307173d8c80b/build-script-build` (exit status: 1)
  --- stderr
  Error: protoc failed: google/protobuf/descriptor.proto: File not found.
  google/api/annotations.proto:20:1: Import "google/protobuf/descriptor.proto" was not found or had errors.
  google/api/annotations.proto:28:8: "google.protobuf.MethodOptions" is not defined.
  celestia/blob/v1/tx.proto:4:1: Import "google/api/annotations.proto" was not found or had errors.

warning: build failed, waiting for other jobs to finish...
Failed to setup Madara: Failed to start madara: Failed to read the file: Unable to execute command

@David-Guo
Copy link

David-Guo commented Feb 17, 2024

I'm getting the following error during execution of ./target/release/madara run command

   Compiling jsonrpsee-client-transport v0.20.3
   Compiling textwrap v0.11.0
   Compiling libp2p-identity v0.2.8
error: failed to run custom build command for `celestia-proto v0.1.0 (https://github.com/eigerco/lumina?rev=ccc5b9bfeac632cccd32d35ecb7b7d51d71fbb87#ccc5b9bf)`

Caused by:
  process didn't exit successfully: `/root/.madara/madara/target/release/build/celestia-proto-b0bd307173d8c80b/build-script-build` (exit status: 1)
  --- stderr
  Error: protoc failed: google/protobuf/descriptor.proto: File not found.
  google/api/annotations.proto:20:1: Import "google/protobuf/descriptor.proto" was not found or had errors.
  google/api/annotations.proto:28:8: "google.protobuf.MethodOptions" is not defined.
  celestia/blob/v1/tx.proto:4:1: Import "google/api/annotations.proto" was not found or had errors.

warning: build failed, waiting for other jobs to finish...
Failed to setup Madara: Failed to start madara: Failed to read the file: Unable to execute command

I solved this issue by run this command

sudo apt install -y protobuf-compiler libprotobuf-dev

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

2 participants