Open emilk opened 3 weeks ago
error: failed to run custom build command for lance-encoding v0.20.0 (https://github.com/lancedb/lance.git?tag=v0.20.0-beta.2#920b1918)
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: /Users/xwg/dev/rust/lancedb/target/debug/build/lance-encoding-b8d4df13f280b9ab/build-script-build
(exit status: 1)
--- stdout
cargo:rerun-if-changed=protos
--- stderr
Error: Custom { kind: Other, error: "protoc failed: google/protobuf/empty.proto: File not found.\nencodings.proto:8:1: Import \"google/protobuf/empty.proto\" was not found or had errors.\nencodings.proto:303:5: \"google.protobuf.Empty\" is not defined.\n" }
@emilk How to temporarily alleviate this problem
Trying to add
lance
as a dependency currently results in a build error:You should instead check in the generated code, and include it in the crate. The
build.rs
should do nothing (or ideally, not exist).