-
Notifications
You must be signed in to change notification settings - Fork 348
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 substrait #4381
Comments
Have you tried |
https://github.com/substrait-io/substrait-rs/tree/v0.34.1 |
@hadoop835 Hi, I recently solved a similar issue. I found the cause is that I didn't put the I downloaded the official protobuf build from the release page https://github.com/protocolbuffers/protobuf/releases If you unzip the archive you can find
Here is the readme file in the zip archive.
I put protoc in
Then I found the protoc couldn't find the include path even though I copied the After I copied the Some related issues |
What type of bug is this?
Crash
What subsystems are affected?
Standalone mode
Minimal reproduce step
error: failed to run custom build command for
substrait v0.34.1
Caused by:
process didn't exit successfully:
/usr/local/rustworkspace/greptimedb/target/debug/build/substrait-fe0c8ee7c510b450/build-script-build
(exit status: 1)--- stdout
cargo:rerun-if-env-changed=FORCE_REBUILD
cargo:rerun-if-changed=substrait
cargo:rerun-if-changed=substrait/text/simple_extensions_schema.yaml
cargo:rerun-if-changed=substrait/proto/substrait/algebra.proto
cargo:rerun-if-changed=substrait/proto/substrait/capabilities.proto
cargo:rerun-if-changed=substrait/proto/substrait/extended_expression.proto
cargo:rerun-if-changed=substrait/proto/substrait/extensions/extensions.proto
cargo:rerun-if-changed=substrait/proto/substrait/function.proto
cargo:rerun-if-changed=substrait/proto/substrait/parameterized_types.proto
cargo:rerun-if-changed=substrait/proto/substrait/plan.proto
cargo:rerun-if-changed=substrait/proto/substrait/type.proto
cargo:rerun-if-changed=substrait/proto/substrait/type_expressions.proto
--- stderr
Error: Custom { kind: Other, error: "protoc failed: google/protobuf/any.proto: File not found.\nsubstrait/extensions/extensions.proto:6:1: Import "google/protobuf/any.proto" was not found or had errors.\nsubstrait/extensions/extensions.proto:75:3: "google.protobuf.Any" is not defined.\nsubstrait/extensions/extensions.proto:78:3: "google.protobuf.Any" is not defined.\ngoogle/protobuf/empty.proto: File not found.\nsubstrait/type.proto:6:1: Import "google/protobuf/empty.proto" was not found or had errors.\nsubstrait/type.proto:210:7: "google.protobuf.Empty" is not defined.\nsubstrait/algebra.proto:6:1: Import "google/protobuf/any.proto" was not found or had errors.\nsubstrait/algebra.proto:7:1: Import "substrait/extensions/extensions.proto" was not found or had errors.\nsubstrait/algebra.proto:8:1: Import "substrait/type.proto" was not found or had errors.\nsubstrait/algebra.proto:46:7: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:52:7: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:40:5: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:25:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:78:5: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:89:5: "google.protobuf.Any" is not defined.\nsubstrait/algebra.proto:140:9: "google.protobuf.Any" is not defined.\nsubstrait/algebra.proto:95:5: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:60:3: "NamedStruct" is not defined.\nsubstrait/algebra.proto:64:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:152:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:178:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:187:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:199:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:217:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:256:5: "Type" is not defined.\nsubstrait/algebra.proto:244:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:275:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:283:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:293:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:310:3: "google.protobuf.Any" is not defined.\nsubstrait/algebra.proto:316:3: "google.protobuf.Any" is not defined.\nsubstrait/algebra.proto:323:3: "google.protobuf.Any" is not defined.\nsubstrait/algebra.proto:377:7: "google.protobuf.Any" is not defined.\nsubstrait/algebra.proto:342:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:459:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:465:3: "google.protobuf.Any" is not defined.\nsubstrait/algebra.proto:476:3: "NamedStruct" is not defined.\nsubstrait/algebra.proto:527:3: "NamedStruct" is not defined.\nsubstrait/algebra.proto:654:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:700:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:726:3: "substrait.extensions.AdvancedExtension" is not defined.\nsubstrait/algebra.proto:733:5: "Type" is not defined.\nsubstrait/algebra.proto:893:16: "Type.Parameter" is not defined.\nsubstrait/algebra.proto:898:9: "google.protobuf.Any" is not defined.\nsubstrait/algebra.proto:822:7: "Type" is not defined.\nsubstrait/algebra.proto:824:7: "Type.List" is not defined.\nsubstrait/algebra.proto:825:7: "Type.Map" is not defined.\nsubstrait/algebra.proto:973:5: "Type" is not defined.\nsubstrait/algebra.proto:1012:5: "Type" is not defined.\nsubstrait/algebra.proto:1128:5: "Type" is not defined.\nsubstrait/algebra.proto:1166:5: "Type" is not defined.\nsubstrait/algebra.proto:1481:3: "Type" is not defined.\n" }
warning: build failed, waiting for other jobs to finish...
What did you expect to see?
ailed to run custom build command for
substrait v0.34.1
What did you see instead?
ailed to run custom build command for
substrait v0.34.1
What operating system did you use?
almalinux

What version of GreptimeDB did you use?
0.9
Relevant log output and stack trace
No response
The text was updated successfully, but these errors were encountered: