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

Missing pkgconfig file when OTel plugin is enabled #36662

Closed
Tracked by #14260
coryan opened this issue May 17, 2024 · 1 comment
Closed
Tracked by #14260

Missing pkgconfig file when OTel plugin is enabled #36662

coryan opened this issue May 17, 2024 · 1 comment

Comments

@coryan
Copy link
Contributor

coryan commented May 17, 2024

What version of gRPC and what language are you using?

v1.63.0 C++

What operating system (Linux, Windows,...) and version?

Linux

What runtime / compiler are you using (e.g. python version or version of gcc)

Many, but let's say GCC 14 for these purposes

What did you do?

Compiled gRPC with:

curl -fsSL https://github.com/grpc/grpc/archive/v1.63.0.tar.gz | \
    tar -xzf - --strip-components=1 && \
    cmake \
      -DCMAKE_BUILD_TYPE=Release \
      -DBUILD_SHARED_LIBS=ON \
      -DgRPC_INSTALL=ON \
      -DgRPC_BUILD_TESTS=OFF \
      -DgRPC_ABSL_PROVIDER=package \
      -DgRPC_CARES_PROVIDER=package \
      -DgRPC_PROTOBUF_PROVIDER=package \
      -DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
      -DgRPC_RE2_PROVIDER=package \
      -DgRPC_SSL_PROVIDER=package \
      -DgRPC_ZLIB_PROVIDER=package \
      -DgRPC_OPENTELEMETRY_PROVIDER=package \
      -DgRPC_BUILD_GRPCPP_OTEL_PLUGIN=ON \
      -GNinja -S . -B cmake-out && \
    cmake --build cmake-out --target install && \
    ldconfig && cd /var/tmp && rm -fr build

What did you expect to see?

At least one *.pc file that the flags needed to use grpcpp_otel_plugin .

What did you see instead?

None of the *.pc files installed by gRPC seems to have the right configuration:

grep grpcpp_otel_plugin /usr/local/lib/pkgconfig/*.pc

Anything else we should know about your project / environment?

You know where to find me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants