We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello! Thanks for opentelemetry-cpp
git clone https://github.com/open-telemetry/opentelemetry-cpp.git cd docker
Run build.sh
bash build.sh -b alpine -j ${nproc} -g v1.43.2 -o v1.3.0 -t 0.14.1 [+] Building 0.6s (9/9) FINISHED docker:default => [internal] load build definition from Dockerfile.alpine.base 0.0s => => transferring dockerfile: 435B 0.0s => [internal] load metadata for docker.io/library/alpine:latest 0.6s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [1/5] FROM docker.io/library/alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b 0.0s => CACHED [2/5] RUN apk update 0.0s => CACHED [3/5] RUN apk add --update alpine-sdk && apk add cmake openssl openssl-dev g++ curl-dev git autoconf libtool linux-headers 0.0s => CACHED [4/5] RUN mkdir -p /opt/third_party/install 0.0s => CACHED [5/5] WORKDIR /opt 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:9cdb92a3797fd7212748b20cdeebda19846559905178dbcab73958d715012196 0.0s => => naming to docker.io/library/base-alpine-dev 0.0s ~/IdeaProjects/github/opentelemetry-cpp/docker/grpc ~/IdeaProjects/github/opentelemetry-cpp/docker [+] Building 0.6s (9/10) docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 611B 0.0s => [internal] load metadata for docker.io/library/base-alpine-dev:latest 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [grpc 1/5] FROM docker.io/library/base-alpine-dev:latest 0.0s => [internal] load build context 0.0s => => transferring context: 36B 0.0s => CACHED [grpc 2/5] RUN mkdir mkdir -p /opt/third_party/grpc 0.0s => CACHED [grpc 3/5] WORKDIR /opt/third_party/grpc 0.0s => CACHED [grpc 4/5] ADD CMakeLists.txt /opt/third_party/grpc 0.0s => ERROR [grpc 5/5] RUN mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/opt/third_party/install -DGRPC_GIT_TAG=v1.43.2 /opt/ 0.5s ------ > [grpc 5/5] RUN mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/opt/third_party/install -DGRPC_GIT_TAG=v1.43.2 /opt/third_party/grpc && cmake --build . -j -g --target install: 0.282 -- The CXX compiler identification is GNU 13.2.1 0.299 -- Detecting CXX compiler ABI info 0.379 -- Detecting CXX compiler ABI info - done 0.390 -- Check for working CXX compiler: /usr/bin/c++ - skipped 0.390 -- Detecting CXX compile features 0.391 -- Detecting CXX compile features - done 0.395 -- dependencies staged install: /opt/third_party/grpc/build/stage 0.444 -- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.1.4") 0.444 OpenSSL include dir: /usr/include 0.444 OpenSSL libraries: /usr/lib/libssl.so;/usr/lib/libcrypto.so 0.504 -- Configuring done (0.3s) 0.506 -- Generating done (0.0s) 0.507 -- Build files have been written to: /opt/third_party/grpc/build 0.517 Unknown argument -g 0.517 Usage: cmake --build <dir> [options] [-- [native-options]] 0.517 cmake --build --preset <preset> [options] [-- [native-options]] 0.517 Options: 0.517 <dir> = Project binary directory to be built. 0.517 --preset <preset>, --preset=<preset> 0.517 = Specify a build preset. 0.517 --list-presets[=<type>] 0.517 = List available build presets. 0.517 --parallel [<jobs>], -j [<jobs>] 0.517 = Build in parallel using the given number of jobs. 0.517 If <jobs> is omitted the native build tool's 0.517 default number is used. 0.517 The CMAKE_BUILD_PARALLEL_LEVEL environment variable 0.517 specifies a default parallel level when this option 0.517 is not given. 0.517 -t <tgt>..., --target <tgt>... 0.517 = Build <tgt> instead of default targets. 0.517 --config <cfg> = For multi-configuration tools, choose <cfg>. 0.517 --clean-first = Build target 'clean' first, then build. 0.517 (To clean only, use --target 'clean'.) 0.517 --resolve-package-references={on|only|off} 0.517 = Restore/resolve package references during build. 0.517 -v, --verbose = Enable verbose output - if supported - including 0.517 the build commands to be executed. 0.517 -- = Pass remaining options to the native tool. ------ Dockerfile:16 -------------------- 15 | 16 | >>> RUN mkdir build \ 17 | >>> && cd build \ 18 | >>> && cmake -DCMAKE_INSTALL_PREFIX=/opt/third_party/install \ 19 | >>> -DGRPC_GIT_TAG=${GRPC_GIT_TAG} /opt/third_party/grpc \ 20 | >>> && cmake --build . -j ${CORES} --target install 21 | -------------------- ERROR: failed to solve: process "/bin/sh -c mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/opt/third_party/install -DGRPC_GIT_TAG=${GRPC_GIT_TAG} /opt/third_party/grpc && cmake --build . -j ${CORES} --target install" did not complete successfully: exit code: 1
The text was updated successfully, but these errors were encountered:
This issue was marked as stale due to lack of activity.
Sorry, something went wrong.
esigo
No branches or pull requests
Hello! Thanks for opentelemetry-cpp
Run build.sh
The text was updated successfully, but these errors were encountered: