You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on centos, fedora or any distro supported by rpm package managers, the well known google protobuf types duration.proto and timestamp.proto depended on by this library and imported by many modules contained here, are not made available to the protoc compile process because the directory containing them is not passed to protoc as an import inclusion (protoc --proto_path=/usr/include ...)
to reproduce the issue on an rpm based system:
install protobuf-devel:
sudo dnf install protobuf-devel
verify the installation of the required protobuf types:
error: failed to run custom build command for `grpc-binary-logger-proto v0.1.0 (/tmp/influxdb3_core/grpc-binary-logger-proto)`
Caused by:
process didn't exit successfully: `/tmp/influxdb3_core/target/debug/build/grpc-binary-logger-proto-0e95d54cc17c3e5f/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-changed=proto/grpc/binlog/v1/binarylog.proto
cargo:rerun-if-changed=proto/grpc/binlog/v1
--- stderr
Error: Custom { kind: Other, error: "protoc failed: google/protobuf/duration.proto: File not found.\ngoogle/protobuf/timestamp.proto: File not found.\nbinarylog.proto:23:1: Import \"google/protobuf/duration.proto\" was not found or had errors.\nbinarylog.proto:24:1: Import \"google/protobuf/timestamp.proto\" was not found or had errors.\nbinarylog.proto:73:3: \"google.protobuf.Timestamp\" is not defined.\nbinarylog.proto:129:3: \"google.protobuf.Duration\" is not defined.\n" }
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `generated_types v0.1.0 (/tmp/influxdb3_core/generated_types)`
Caused by:
process didn't exit successfully: `/tmp/influxdb3_core/target/debug/build/generated_types-749a2f76ab778766/build-script-build` (exit status: 1)
--- stderr
Error: Custom { kind: Other, error: "protoc failed: google/protobuf/timestamp.proto: File not found.\ninfluxdata/iox/authz/pusher/v1/pusher.proto:5:1: Import \"google/protobuf/timestamp.proto\" was not found or had errors.\ninfluxdata/iox/authz/pusher/v1/pusher.proto:10:12: \"google.protobuf.Timestamp\" is not defined.\n" }
on centos, fedora or any distro supported by rpm package managers, the well known google protobuf types
duration.proto
andtimestamp.proto
depended on by this library and imported by many modules contained here, are not made available to the protoc compile process because the directory containing them is not passed to protoc as an import inclusion (protoc --proto_path=/usr/include ...
)to reproduce the issue on an rpm based system:
rpm -ql protobuf-devel | grep duration.proto /usr/include/google/protobuf/duration.proto
rpm -ql protobuf-devel | grep timestamp.proto /usr/include/google/protobuf/timestamp.proto
a patch to resolve this has been provided at: #36
The text was updated successfully, but these errors were encountered: