-
Notifications
You must be signed in to change notification settings - Fork 417
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
opentelemetry-cpp 1.8.3 build failure #2038
Comments
@chenrui333 - Looks like the thrift library version has got upgraded in homebrew, and it is messing up with the Jaeger exporter build for opentelemetry-cpp. The thrift version used by the opentelemetry-cpp CI pipeline is 0.14.1, while the version present in homebrew is 0.18.1. Also, the Jaeger exporter has been deprecated in opentelemetry-cpp, and no new changes (including supporting the latest version of dependencies) would be entertained. The fix would be switch off the Jaeger exporter build from the opentelemetry-cpp by setting The Jaeger exporter would be eventually removed from the opentelemetry-cpp, and there is already a active PR for it - #2031 |
thanks for the pointer, gonna try it now. 👍 |
Also the absel used by the project is outdated as well and needs to update the min c++ version to c++14 (per abseil support policy) |
Yes, it is planned - #1830 |
I also ran into a build issue when trying to move to 1.8.3: opentelemetry-cpp/exporters/otlp/src/otlp_recordable_utils.cc: In static member function ‘static void opentelemetry::v1::exporter::otlp::OtlpRecordableUtils::PopulateRequest(opentelemetry::v1::nostd::span<std::unique_ptropentelemetry::v1::sdk::logs::Recordable >&, opentelemetry::proto::collector::logs::v1::ExportLogsServiceRequest*)’: cmake configured with WITH_LOGS_PREVIEW, WITH_METRICS_EXEMPLAR_PREVIEW and WITH_OTLP WITH_OTLP_GRPC because that's what I'm using currently. |
Can you check if you are using the latest version of otel-proto (v0.19.0). This should be the latest if you are using it from otel-cpp submodule. |
I've updated the sub-modules and that seems to have fixed it. thanks a lot for the tip. |
Closing as the issue is resolved. |
👋 trying to build the latest release, but run into some build issue. The error log is as below:
error build log
full build log, https://github.com/Homebrew/homebrew-core/actions/runs/4361014430/jobs/7624558826
relates to Homebrew/homebrew-core#125073
The text was updated successfully, but these errors were encountered: