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

Unable to build the project #282

Open
bonniechen1119 opened this issue Dec 16, 2024 · 2 comments
Open

Unable to build the project #282

bonniechen1119 opened this issue Dec 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@bonniechen1119
Copy link

What happened?

Description

use build image otel/opentelemetry-network-build-tools
unable to build project

Steps to Reproduce

1.git clone https://github.com/open-telemetry/opentelemetry-network.git
2. docker run -it --rm --env EBPF_NET_SRC_ROOT=/root/src --mount type=bind,source=/home/juan.chen/src/opentelemetry-network,destination=/root/src --mount type=bind,source=/home/juan.chen/src/build,destination=/root/out --mount type=bind,source=/var/run/docker.sock,destination=/var/run/docker.sock --name benv otel/opentelemetry-network-build-tools
3. ./build.sh --cmake

Expected Result

build successfully

Actual Result

CMake Error at otlp/CMakeLists.txt:31 (message):
gRPC must be a specific version (1.45.0). Build container should already
have that set up. Note that benv-final:v8 doesn't currently support
building with OTLP - need to use a custom local benv build.

eBPF Collector version

master

Environment information

Environment

OS: "Ubuntu 20.04"

eBPF Collector configuration

No response

Log output

No response

Additional context

No response

@bonniechen1119 bonniechen1119 added the bug Something isn't working label Dec 16, 2024
@yonch
Copy link
Contributor

yonch commented Dec 16, 2024

Hi @bonniechen1119 , this should be fixed by #275, but it is currently marked as draft so I cannot merge .

@jakub-racek-swi if you mark #275 as ready to merge I'm happy to merge it. Thank you for all the work you put!

cc @gantrior

@bonniechen1119
Copy link
Author

Hi @bonniechen1119 , this should be fixed by #275, but it is currently marked as draft so I cannot merge .

@jakub-racek-swi if you mark #275 as ready to merge I'm happy to merge it. Thank you for all the work you put!

cc @gantrior

@yonch thanks, when I merge #275, can build successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants