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

[package] opentelemetry-cpp/1.14.2: Build failure when cross-compiling armv8 shared libraries #25054

Open
wadehunk opened this issue Aug 26, 2024 · 0 comments · May be fixed by #25028
Open

[package] opentelemetry-cpp/1.14.2: Build failure when cross-compiling armv8 shared libraries #25054

wadehunk opened this issue Aug 26, 2024 · 0 comments · May be fixed by #25028
Assignees
Labels
bug Something isn't working

Comments

@wadehunk
Copy link
Contributor

wadehunk commented Aug 26, 2024

Description

Cross compiling opentelemetry-cpp/* with build=x86_64 and host=armv8 on Linux with full shared libraries fails. All dependencies seem to be built correctly, but the opentelemetry-cpp build attempts to execute the armv8 variant of protoc to generate code during the build process.

The package successfully builds full shared libraries when conducting a native build. I suspect this is likely an environment/path issue within the package recipe that has a bad assumption for cross-compilation.

I was able to replicate this functionality using the attached profile on the conanio/gcc8 and conanio/gcc11 docker images along with a custom local Ubuntu 22.04 image with the addition of the gcc-11-aarch64-linux-gnu/g++-11-aarch64-linux-gnu packages.

Package and Environment Details

  • Package Name/Version: opentelemetry-cpp/1.14.2
  • Operating System+version: Linux Ubuntu 16.04, Linux Ubuntu 22.04
  • Compiler+version: GCC 8, GCC 11
  • Docker image: conanio/gcc8, conanio/gcc11, ubuntu:22.04
  • Conan version: conan 2.6.0
  • Python version: Python 3.7.13, Python 3.10.12

Conan profile

[settings]
os=Linux
arch=armv8
compiler=gcc
build_type=Release
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
[buildenv]
CC=aarch64-linux-gnu-gcc-11
CXX=aarch64-linux-gnu-g++-11
LD=aarch64-linux-gnu-ld
OBJCOPY=aarch64-linux-gnu-objcopy
OBJDUMP=aarch64-linux-gnu-objdump
[conf]

Steps to reproduce

Run in clean ubuntu 22.04 image

docker run -it --rm ubuntu:22.04

Install dependencies

apt-get update && \
apt-get -q -V install -y --no-install-recommends build-essential  cmake make python3 python3-dev python3-yaml python3-pip gcc-11-aarch64-linux-gnu g++-11-aarch64-linux-gnu
pip3 install conan==2.6.0
conan profile detect

Create armv8 profile from above

cat << EOF > ~/.conan2/profiles/armv8
[settings]
os=Linux
arch=armv8
compiler=gcc
build_type=Release
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
[buildenv]
CC=aarch64-linux-gnu-gcc-11
CXX=aarch64-linux-gnu-g++-11
LD=aarch64-linux-gnu-ld
OBJCOPY=aarch64-linux-gnu-objcopy
OBJDUMP=aarch64-linux-gnu-objdump
[conf]
EOF

Execute conan

conan install --requires opentelemetry-cpp/1.14.2 -pr armv8 -o "*/*:shared=True" --build=missing

Logs

Click to expand log

======== Input profiles ========
Profile host:
[settings]
arch=armv8
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[options]
/:shared=True
[buildenv]
CC=aarch64-linux-gnu-gcc-11
CXX=aarch64-linux-gnu-g++-11
LD=aarch64-linux-gnu-ld
OBJCOPY=aarch64-linux-gnu-objcopy
OBJDUMP=aarch64-linux-gnu-objdump

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux

======== Computing dependency graph ========
Graph root
cli
Requirements
abseil/20230802.1#a8d06333152eb1926b5dbc51e3bb218d - Cache
bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Cache
c-ares/1.33.0#ea6e87dbcb4c5a4d2a782e88c7d4b93a - Cache
grpc/1.54.3#f477bbbb4b6464d8add7b40c4b5007d7 - Cache
libcap/2.69#7ef2d60864c2e58e89db957be936dc49 - Cache
libcurl/8.9.1#9e940595377416e8d16e813a21e687a0 - Cache
libmount/2.39.2#64850679fa9d5ead878e5076b0cab2a8 - Cache
libselinux/3.6#5a78ff6ae5034eeaac8da723361a8ce4 - Cache
libsystemd/255#8e49d0c6b1d63861e3e10665cc1b7b4d - Cache
libxcrypt/4.4.36#4b4e8f20794f1997dd59eeed0b7cdcfb - Cache
lz4/1.9.4#652b313a0444c8b1d60d1bf9e95fb0a1 - Cache
nlohmann_json/3.11.3#45828be26eb619a2e04ca517bb7b828d - Cache
openssl/3.3.1#279e86dc2a7dded8c1fe8512e775bdb1 - Cache
opentelemetry-cpp/1.14.2#4e2fd16ce1e351bd2fee649f828d2d26 - Cache
pcre2/10.42#576680686b88a4dadf6d382d6d6351d9 - Cache
protobuf/3.21.12#2099e6c66fcd31b52c3afc0c096c1d02 - Cache
re2/20230301#e8d673155a0494f27c7589b611e8350d - Cache
xz_utils/5.4.5#b885d1d79c9d30cff3803f7f551dbe66 - Cache
zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache
zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df - Cache
Build requirements
abseil/20230802.1#a8d06333152eb1926b5dbc51e3bb218d - Cache
autoconf/2.71#f9307992909d7fb3df459340f1932809 - Cache
automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache
bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Cache
c-ares/1.33.0#ea6e87dbcb4c5a4d2a782e88c7d4b93a - Cache
flex/2.6.4#e35bc44b3fcbcd661e0af0dc5b5b1ad4 - Cache
gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Cache
gperf/3.1#1d622ad9717e9348ed3685c9994ad0b9 - Cache
grpc/1.54.3#f477bbbb4b6464d8add7b40c4b5007d7 - Cache
libcap/2.69#7ef2d60864c2e58e89db957be936dc49 - Cache
libmount/2.39.2#64850679fa9d5ead878e5076b0cab2a8 - Cache
libselinux/3.6#5a78ff6ae5034eeaac8da723361a8ce4 - Cache
libsystemd/255#8e49d0c6b1d63861e3e10665cc1b7b4d - Cache
libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Cache
libxcrypt/4.4.36#4b4e8f20794f1997dd59eeed0b7cdcfb - Cache
lz4/1.9.4#652b313a0444c8b1d60d1bf9e95fb0a1 - Cache
m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache
meson/1.2.2#29cf77c283f6af08818f6fd8068c37e8 - Cache
meson/1.4.0#d04d88a761cf81e05206dbbe0f1bfea2 - Cache
ninja/1.12.1#fd583651bf0c6a901943495d49878803 - Cache
openssl/3.3.1#279e86dc2a7dded8c1fe8512e775bdb1 - Cache
opentelemetry-proto/1.2.0#12d6d69f084bb158345fa89775985045 - Cache
pcre2/10.42#576680686b88a4dadf6d382d6d6351d9 - Cache
pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Cache
pkgconf/2.2.0#6462942a22803086372db44689ba825f - Cache
protobuf/3.21.12#2099e6c66fcd31b52c3afc0c096c1d02 - Cache
re2/20230301#e8d673155a0494f27c7589b611e8350d - Cache
xz_utils/5.4.5#b885d1d79c9d30cff3803f7f551dbe66 - Cache
zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache
zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df - Cache
Resolved version ranges
abseil/[>=20230125.3 <=20230802.1]: abseil/20230802.1
c-ares/[>=1.19.1 <2]: c-ares/1.33.0
libcurl/[>=7.78.0 <9]: libcurl/8.9.1
ninja/[>=1.10.2 <2]: ninja/1.12.1
openssl/[>=1.1 <4]: openssl/3.3.1
zlib/[>=1.2.11 <2]: zlib/1.3.1

======== Computing necessary packages ========
abseil/20230802.1: Compatible package ID 8631cf963dbbb4d7a378a64a6fd1dc57558bc2fe equal to the default package ID: Skipping it.
abseil/20230802.1: Checking 7 compatible configurations
abseil/20230802.1: Compatible configurations not found in cache, checking servers
abseil/20230802.1: 'c01616259c2d166eadec282346c9fb6dce0e3530': compiler.cppstd=14
abseil/20230802.1: '99c9bcacb68e3379fad0ffaab3c0268baafd0cd2': compiler.cppstd=gnu14
abseil/20230802.1: '13be611585c95453f1cbbd053cea04b3e64470ca': compiler.cppstd=17
abseil/20230802.1: Main binary package '8631cf963dbbb4d7a378a64a6fd1dc57558bc2fe' missing. Using compatible package '13be611585c95453f1cbbd053cea04b3e64470ca': compiler.cppstd=17
re2/20230301: Compatible package ID 2071b77a5967e89bf82bb707e63d635b7110bc9c equal to the default package ID: Skipping it.
re2/20230301: Checking 9 compatible configurations
re2/20230301: Compatible configurations not found in cache, checking servers
re2/20230301: '6bbd4c92174be78d0cd34897be671d1a14d65b19': compiler.cppstd=11
re2/20230301: 'df0fc4003c937b1a78f3e7477c18b172862d5d37': compiler.cppstd=gnu11
re2/20230301: 'f01398aca5a4421fb0b9532b4b482baefcc1b97a': compiler.cppstd=14
re2/20230301: 'e91be93c00bf6b096620928b358da16c01dc2075': compiler.cppstd=gnu14
re2/20230301: '81d35562505eb9186290237bea6e2684b0ba3cc8': compiler.cppstd=17
re2/20230301: Main binary package '2071b77a5967e89bf82bb707e63d635b7110bc9c' missing. Using compatible package '81d35562505eb9186290237bea6e2684b0ba3cc8': compiler.cppstd=17
protobuf/3.21.12: Compatible package ID 16adb8fd5924f3e2f846fc02bb6374c9452669e1 equal to the default package ID: Skipping it.
protobuf/3.21.12: Checking 11 compatible configurations
protobuf/3.21.12: Main binary package '16adb8fd5924f3e2f846fc02bb6374c9452669e1' missing. Using compatible package '10670e90b03eb1607902ed190ae2fecdc52d69bb': compiler.cppstd=17
grpc/1.54.3: Compatible package ID 54447d8a6a6f553fd94ae97bbcd85fea9b76d6a3 equal to the default package ID: Skipping it.
grpc/1.54.3: Checking 7 compatible configurations
grpc/1.54.3: Main binary package '54447d8a6a6f553fd94ae97bbcd85fea9b76d6a3' missing. Using compatible package '6faaf23df02154e666336269a6160a1fb2e001e1': compiler.cppstd=17
opentelemetry-cpp/1.14.2: Compatible package ID 7119329625013011bfe6572610112d87004bc78a equal to the default package ID: Skipping it.
opentelemetry-cpp/1.14.2: Checking 7 compatible configurations
opentelemetry-cpp/1.14.2: Compatible configurations not found in cache, checking servers
opentelemetry-cpp/1.14.2: '4cbf79b301d56674bf1244b25d474556ae461b7b': compiler.cppstd=14
opentelemetry-cpp/1.14.2: '1a24df41003dfba185f67b87afb7e140b5ea20a4': compiler.cppstd=gnu14
opentelemetry-cpp/1.14.2: 'c9bf4d86fc885e274677a9e173d3df2a5b7e7627': compiler.cppstd=17
opentelemetry-cpp/1.14.2: 'beb4bc4452861e46e21af800cc746adc88c5dba8': compiler.cppstd=20
opentelemetry-cpp/1.14.2: 'bdb74b2b810d276877061020f9915c8a137485f6': compiler.cppstd=gnu20
opentelemetry-cpp/1.14.2: '7afb9c43cee7f071b99ede5b33f461ce553af2f8': compiler.cppstd=23
opentelemetry-cpp/1.14.2: '9a4b5eb49fddb506d4de2aba68448948be233132': compiler.cppstd=gnu23
Requirements
abseil/20230802.1#a8d06333152eb1926b5dbc51e3bb218d:18caf86df8b66cfe97edfb847b4106ae637170a9#308a6f28b1fc74d09af4ab3c56f5315e - Cache
bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4:4cddf2c9c450a72386615a8fd77bedbba346fe85#f1834cc02ff86323e1128f0325471b8d - Cache
c-ares/1.33.0#ea6e87dbcb4c5a4d2a782e88c7d4b93a:922b349ca0c540da650c71485adb65d2c7e5a819#12ab097889e8f34c70bfc1c98ecb23e9 - Cache
grpc/1.54.3#f477bbbb4b6464d8add7b40c4b5007d7:adb9037dd099f58ee2509026c0a88bfd2a6f2b3b#0eeea8450fdd15a9f28d733fad9876ff - Cache
libcap/2.69#7ef2d60864c2e58e89db957be936dc49:ce8134ae72a272696c79ab78e86cea91c887eb2e#55f822cf9079d374a568c4e467cd6359 - Cache
libcurl/8.9.1#9e940595377416e8d16e813a21e687a0:eed059586570c488a6f51528a77cc895e1c7f35e#03e3359bc3ea4d626209876adff2b824 - Cache
libmount/2.39.2#64850679fa9d5ead878e5076b0cab2a8:9ca935e275f8163bfe39bdba58089b51be96e3b9#476ecc8851c5c6decf2beaf6a7777ffa - Cache
libselinux/3.6#5a78ff6ae5034eeaac8da723361a8ce4:560789c765e3ef06e62d4b65881f2111d3040432#07af34b8befce004ac48e395cb77334a - Cache
libsystemd/255#8e49d0c6b1d63861e3e10665cc1b7b4d:6949537fd8bc10cda13e43424af310c15965bbc7#ef7a7e17004d087ee28537fbda1274bc - Cache
libxcrypt/4.4.36#4b4e8f20794f1997dd59eeed0b7cdcfb:9ca935e275f8163bfe39bdba58089b51be96e3b9#bde808cc7297b0f234c10558746af7c4 - Cache
lz4/1.9.4#652b313a0444c8b1d60d1bf9e95fb0a1:9ca935e275f8163bfe39bdba58089b51be96e3b9#f1e09c4421cac82ce5a97c53b577152d - Cache
nlohmann_json/3.11.3#45828be26eb619a2e04ca517bb7b828d:da39a3ee5e6b4b0d3255bfef95601890afd80709#552828a2560333bcbeff9d087ce0af0f - Cache
openssl/3.3.1#279e86dc2a7dded8c1fe8512e775bdb1:28fca228f3c152659c34ae2fcf5caa95ff0b9fb2#1cfd2e43aa7a229b7335b763ec9d0ac4 - Cache
opentelemetry-cpp/1.14.2#4e2fd16ce1e351bd2fee649f828d2d26:7119329625013011bfe6572610112d87004bc78a - Build
pcre2/10.42#576680686b88a4dadf6d382d6d6351d9:a98cde8973540d58b48ded1d0d470c49ae25d2d9#79f43bebadb18d6174e294d9a2c833cd - Cache
protobuf/3.21.12#2099e6c66fcd31b52c3afc0c096c1d02:21a60f8cfac3069ea08bd33cced0bfd5b5ec82e2#9ee942ad031c988996ad49f8ef5e6a34 - Cache
re2/20230301#e8d673155a0494f27c7589b611e8350d:e5916d49fe34f2b5a1967a53a7f6a8a7057fb159#547aa45c2bb10e9cc966a9ad80c0285e - Cache
xz_utils/5.4.5#b885d1d79c9d30cff3803f7f551dbe66:9ca935e275f8163bfe39bdba58089b51be96e3b9#57ca9fd6cff7d5ede9b505f1d9c2d41d - Cache
zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:9ca935e275f8163bfe39bdba58089b51be96e3b9#993ba7a01eadde7b8d1e3ecba3aeac18 - Cache
zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df:e9ecd2d14baf28fa594c5dff5a85fa53ed05db21#09aaccc46007f236a751602011cc20b1 - Cache
Build requirements
grpc/1.54.3#f477bbbb4b6464d8add7b40c4b5007d7:6faaf23df02154e666336269a6160a1fb2e001e1#2c147701da8c1992a8f3e3517edd27a4 - Cache
opentelemetry-proto/1.2.0#12d6d69f084bb158345fa89775985045:da39a3ee5e6b4b0d3255bfef95601890afd80709#6d8b153b0f2c287b42ea9636d1af94de - Cache
protobuf/3.21.12#2099e6c66fcd31b52c3afc0c096c1d02:10670e90b03eb1607902ed190ae2fecdc52d69bb#f15ce1683d5a52b17d64e12871cac225 - Cache
Skipped binaries
abseil/20230802.1, autoconf/2.71, automake/1.16.5, bzip2/1.0.8, c-ares/1.33.0, flex/2.6.4, gnu-config/cci.20210814, gperf/3.1, libcap/2.69, libmount/2.39.2, libselinux/3.6, libsystemd/255, libtool/2.4.7, libxcrypt/4.4.36, lz4/1.9.4, m4/1.4.19, meson/1.2.2, meson/1.4.0, ninja/1.12.1, openssl/3.3.1, pcre2/10.42, pkgconf/2.1.0, pkgconf/2.2.0, re2/20230301, xz_utils/5.4.5, zlib/1.3.1, zstd/1.5.5

======== Installing packages ========
abseil/20230802.1: Already installed! (1 of 23)
bzip2/1.0.8: Already installed! (2 of 23)
c-ares/1.33.0: Already installed! (3 of 23)
libcap/2.69: Already installed! (4 of 23)
libmount/2.39.2: Already installed! (5 of 23)
lz4/1.9.4: Already installed! (6 of 23)
nlohmann_json/3.11.3: Already installed! (7 of 23)
opentelemetry-proto/1.2.0: Already installed! (8 of 23)
re2/20230301: Already installed! (9 of 23)
xz_utils/5.4.5: Already installed! (10 of 23)
zlib/1.3.1: Already installed! (11 of 23)
zstd/1.5.5: Already installed! (12 of 23)
libxcrypt/4.4.36: Already installed! (13 of 23)
openssl/3.3.1: Already installed! (14 of 23)
pcre2/10.42: Already installed! (15 of 23)
pcre2/10.42: Appending PATH environment variable: /root/.conan2/p/b/pcre26e2e75f35948c/p/bin
protobuf/3.21.12: Already installed! (16 of 23)
protobuf/3.21.12: Already installed! (17 of 23)
libselinux/3.6: Already installed! (18 of 23)
libcurl/8.9.1: Already installed! (19 of 23)
libsystemd/255: Already installed! (20 of 23)
grpc/1.54.3: Already installed! (21 of 23)
grpc/1.54.3: Already installed! (22 of 23)

-------- Installing package opentelemetry-cpp/1.14.2 (23 of 23) --------
opentelemetry-cpp/1.14.2: Building from source
opentelemetry-cpp/1.14.2: Package opentelemetry-cpp/1.14.2:7119329625013011bfe6572610112d87004bc78a
opentelemetry-cpp/1.14.2: Copying sources to build folder
opentelemetry-cpp/1.14.2: Building your package in /root/.conan2/p/b/opentef0a6a3c9c7f1/b
opentelemetry-cpp/1.14.2: Calling generate()
opentelemetry-cpp/1.14.2: Generators folder: /root/.conan2/p/b/opentef0a6a3c9c7f1/b/build/Release/generators
opentelemetry-cpp/1.14.2: CMakeToolchain generated: conan_toolchain.cmake
opentelemetry-cpp/1.14.2: CMakeToolchain generated: /root/.conan2/p/b/opentef0a6a3c9c7f1/b/build/Release/generators/CMakePresets.json
opentelemetry-cpp/1.14.2: CMakeToolchain generated: /root/.conan2/p/b/opentef0a6a3c9c7f1/b/src/CMakeUserPresets.json
opentelemetry-cpp/1.14.2: CMakeDeps necessary find_package() and targets for your CMakeLists.txt
find_package(gRPC)
find_package(absl)
find_package(protobuf)
find_package(nlohmann_json)
find_package(CURL)
find_package(OpenSSL)
target_link_libraries(... grpc::grpc abseil::abseil protobuf::protobuf nlohmann_json::nlohmann_json CURL::libcurl openssl::openssl)
opentelemetry-cpp/1.14.2: Generating aggregated env files
opentelemetry-cpp/1.14.2: Generated aggregated env files: ['conanbuild.sh']
opentelemetry-cpp/1.14.2: Calling build()
opentelemetry-cpp/1.14.2: Running CMake.configure()
opentelemetry-cpp/1.14.2: RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/root/.conan2/p/b/opentef0a6a3c9c7f1/p" -DBUILD_TESTING="OFF" -DBUILD_BENCHMARK="OFF" -DWITH_EXAMPLES="OFF" -DWITH_NO_DEPRECATED_CODE="OFF" -DWITH_STL="OFF" -DWITH_GSL="OFF" -DWITH_ABSEIL="ON" -DWITH_OTLP_GRPC="ON" -DWITH_OTLP_HTTP="ON" -DWITH_ZIPKIN="ON" -DWITH_PROMETHEUS="OFF" -DWITH_ELASTICSEARCH="OFF" -DWITH_ZPAGES="OFF" -DWITH_JAEGER="OFF" -DWITH_NO_GETENV="OFF" -DWITH_ETW="OFF" -DWITH_ASYNC_EXPORT_PREVIEW="OFF" -DWITH_METRICS_EXEMPLAR_PREVIEW="OFF" -DOPENTELEMETRY_INSTALL="ON" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/root/.conan2/p/b/opentef0a6a3c9c7f1/b/src"
-- Using Conan toolchain: /root/.conan2/p/b/opentef0a6a3c9c7f1/b/build/Release/generators/conan_toolchain.cmake
-- Conan toolchain: C++ Standard 17 with extensions ON
-- Conan toolchain: Setting BUILD_SHARED_LIBS = ON
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-11 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-11 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building for architecture ARCH=arm64
-- OPENTELEMETRY_ABI_VERSION_NO=1
-- OPENTELEMETRY_VERSION=1.14.2
-- Performing Test check_cxx_compiler_flag_-Wno-type-limits
-- Performing Test check_cxx_compiler_flag_-Wno-type-limits - Success
-- Performing Test check_cxx_compiler_flag_-Wno-deprecated-declarations
-- Performing Test check_cxx_compiler_flag_-Wno-deprecated-declarations - Success
-- Performing Test check_cxx_compiler_flag_-Wno-unused-parameter
-- Performing Test check_cxx_compiler_flag_-Wno-unused-parameter - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Conan: Component target declared 'absl::config'
-- Conan: Component target declared 'absl::pretty_function'
-- Conan: Component target declared 'absl::civil_time'
-- Conan: Component target declared 'absl::time_zone'
-- Conan: Component target declared 'absl::errno_saver'
-- Conan: Component target declared 'absl::dynamic_annotations'
-- Conan: Component target declared 'absl::core_headers'
-- Conan: Component target declared 'absl::fast_type_id'
-- Conan: Component target declared 'absl::algorithm'
-- Conan: Component target declared 'absl::counting_allocator'
-- Conan: Component target declared 'absl::hashtable_debug_hooks'
-- Conan: Component target declared 'absl::node_slot_policy'
-- Conan: Component target declared 'absl::non_temporal_arm_intrinsics'
-- Conan: Component target declared 'absl::log_internal_voidify'
-- Conan: Component target declared 'absl::numeric_representation'
-- Conan: Component target declared 'absl::random_seed_gen_exception'
-- Conan: Component target declared 'absl::random_internal_traits'
-- Conan: Component target declared 'absl::random_internal_fast_uniform_bits'
-- Conan: Component target declared 'absl::random_internal_platform'
-- Conan: Component target declared 'absl::cordz_update_tracker'
-- Conan: Component target declared 'absl::if_constexpr'
-- Conan: Component target declared 'absl::atomic_hook'
-- Conan: Component target declared 'absl::log_severity'
-- Conan: Component target declared 'absl::strerror'
-- Conan: Component target declared 'absl::prefetch'
-- Conan: Component target declared 'absl::hashtable_debug'
-- Conan: Component target declared 'absl::non_temporal_memcpy'
-- Conan: Component target declared 'absl::leak_check'
-- Conan: Component target declared 'absl::flags_commandlineflag_internal'
-- Conan: Component target declared 'absl::log_internal_config'
-- Conan: Component target declared 'absl::log_internal_nullguard'
-- Conan: Component target declared 'absl::type_traits'
-- Conan: Component target declared 'absl::bits'
-- Conan: Component target declared 'absl::exponential_biased'
-- Conan: Component target declared 'absl::random_internal_randen_slow'
-- Conan: Component target declared 'absl::random_internal_randen_hwaes_impl'
-- Conan: Component target declared 'absl::nullability'
-- Conan: Component target declared 'absl::raw_logging_internal'
-- Conan: Component target declared 'absl::base_internal'
-- Conan: Component target declared 'absl::container_common'
-- Conan: Component target declared 'absl::meta'
-- Conan: Component target declared 'absl::int128'
-- Conan: Component target declared 'absl::periodic_sampler'
-- Conan: Component target declared 'absl::random_internal_fastmath'
-- Conan: Component target declared 'absl::random_internal_randen_hwaes'
-- Conan: Component target declared 'absl::random_internal_uniform_helper'
-- Conan: Component target declared 'absl::compare'
-- Conan: Component target declared 'absl::spinlock_wait'
-- Conan: Component target declared 'absl::throw_delegate'
-- Conan: Component target declared 'absl::scoped_set_env'
-- Conan: Component target declared 'absl::algorithm_container'
-- Conan: Component target declared 'absl::common_policy_traits'
-- Conan: Component target declared 'absl::debugging_internal'
-- Conan: Component target declared 'absl::memory'
-- Conan: Component target declared 'absl::numeric'
-- Conan: Component target declared 'absl::random_internal_iostream_state_saver'
-- Conan: Component target declared 'absl::random_internal_generate_real'
-- Conan: Component target declared 'absl::random_internal_wide_multiply'
-- Conan: Component target declared 'absl::random_internal_randen'
-- Conan: Component target declared 'absl::cordz_functions'
-- Conan: Component target declared 'absl::bad_any_cast_impl'
-- Conan: Component target declared 'absl::bad_optional_access'
-- Conan: Component target declared 'absl::bad_variant_access'
-- Conan: Component target declared 'absl::utility'
-- Conan: Component target declared 'absl::base'
-- Conan: Component target declared 'absl::cleanup_internal'
-- Conan: Component target declared 'absl::compressed_tuple'
-- Conan: Component target declared 'absl::container_memory'
-- Conan: Component target declared 'absl::hash_policy_traits'
-- Conan: Component target declared 'absl::stacktrace'
-- Conan: Component target declared 'absl::any_invocable'
-- Conan: Component target declared 'absl::random_internal_distribution_caller'
-- Conan: Component target declared 'absl::random_internal_pcg_engine'
-- Conan: Component target declared 'absl::bad_any_cast'
-- Conan: Component target declared 'absl::span'
-- Conan: Component target declared 'absl::optional'
-- Conan: Component target declared 'absl::variant'
-- Conan: Component target declared 'absl::malloc_internal'
-- Conan: Component target declared 'absl::endian'
-- Conan: Component target declared 'absl::cleanup'
-- Conan: Component target declared 'absl::fixed_array'
-- Conan: Component target declared 'absl::inlined_vector_internal'
-- Conan: Component target declared 'absl::crc_cpu_detect'
-- Conan: Component target declared 'absl::demangle_internal'
-- Conan: Component target declared 'absl::debugging'
-- Conan: Component target declared 'absl::bind_front'
-- Conan: Component target declared 'absl::function_ref'
-- Conan: Component target declared 'absl::log_internal_conditions'
-- Conan: Component target declared 'absl::random_bit_gen_ref'
-- Conan: Component target declared 'absl::random_internal_mock_helpers'
-- Conan: Component target declared 'absl::string_view'
-- Conan: Component target declared 'absl::any'
-- Conan: Component target declared 'absl::inlined_vector'
-- Conan: Component target declared 'absl::crc_internal'
-- Conan: Component target declared 'absl::city'
-- Conan: Component target declared 'absl::low_level_hash'
-- Conan: Component target declared 'absl::random_internal_randen_engine'
-- Conan: Component target declared 'absl::strings_internal'
-- Conan: Component target declared 'absl::graphcycles_internal'
-- Conan: Component target declared 'absl::strings'
-- Conan: Component target declared 'absl::layout'
-- Conan: Component target declared 'absl::symbolize'
-- Conan: Component target declared 'absl::flags_path_util'
-- Conan: Component target declared 'absl::flags_commandlineflag'
-- Conan: Component target declared 'absl::hash'
-- Conan: Component target declared 'absl::log_internal_proto'
-- Conan: Component target declared 'absl::log_internal_nullstream'
-- Conan: Component target declared 'absl::log_internal_append_truncated'
-- Conan: Component target declared 'absl::random_distributions'
-- Conan: Component target declared 'absl::random_internal_seed_material'
-- Conan: Component target declared 'absl::str_format_internal'
-- Conan: Component target declared 'absl::time'
-- Conan: Component target declared 'absl::examine_stack'
-- Conan: Component target declared 'absl::flags_private_handle_accessor'
-- Conan: Component target declared 'absl::log_internal_globals'
-- Conan: Component target declared 'absl::log_globals'
-- Conan: Component target declared 'absl::log_entry'
-- Conan: Component target declared 'absl::random_internal_pool_urbg'
-- Conan: Component target declared 'absl::random_internal_salted_seed_seq'
-- Conan: Component target declared 'absl::str_format'
-- Conan: Component target declared 'absl::kernel_timeout_internal'
-- Conan: Component target declared 'absl::crc32c'
-- Conan: Component target declared 'absl::failure_signal_handler'
-- Conan: Component target declared 'absl::flags_marshalling'
-- Conan: Component target declared 'absl::log_internal_format'
-- Conan: Component target declared 'absl::log_initialize'
-- Conan: Component target declared 'absl::log_sink'
-- Conan: Component target declared 'absl::random_seed_sequences'
-- Conan: Component target declared 'absl::random_internal_nonsecure_base'
-- Conan: Component target declared 'absl::random_internal_distribution_test_util'
-- Conan: Component target declared 'absl::synchronization'
-- Conan: Component target declared 'absl::crc_cord_state'
-- Conan: Component target declared 'absl::flags_program_name'
-- Conan: Component target declared 'absl::log_internal_log_sink_set'
-- Conan: Component target declared 'absl::sample_recorder'
-- Conan: Component target declared 'absl::random_random'
-- Conan: Component target declared 'absl::cordz_statistics'
-- Conan: Component target declared 'absl::cordz_handle'
-- Conan: Component target declared 'absl::hashtablez_sampler'
-- Conan: Component target declared 'absl::flags_config'
-- Conan: Component target declared 'absl::log_sink_registry'
-- Conan: Component target declared 'absl::cord_internal'
-- Conan: Component target declared 'absl::raw_hash_set'
-- Conan: Component target declared 'absl::flags_internal'
-- Conan: Component target declared 'absl::log_internal_message'
-- Conan: Component target declared 'absl::cordz_info'
-- Conan: Component target declared 'absl::raw_hash_map'
-- Conan: Component target declared 'absl::log_internal_strip'
-- Conan: Component target declared 'absl::log_internal_structured'
-- Conan: Component target declared 'absl::cordz_sample_token'
-- Conan: Component target declared 'absl::cordz_update_scope'
-- Conan: Component target declared 'absl::log_internal_check_op'
-- Conan: Component target declared 'absl::log_internal_log_impl'
-- Conan: Component target declared 'absl::log_structured'
-- Conan: Component target declared 'absl::cord'
-- Conan: Component target declared 'absl::btree'
-- Conan: Component target declared 'absl::hash_function_defaults'
-- Conan: Component target declared 'absl::log_internal_check_impl'
-- Conan: Component target declared 'absl::absl_log'
-- Conan: Component target declared 'absl::log'
-- Conan: Component target declared 'absl::status'
-- Conan: Component target declared 'absl::flat_hash_map'
-- Conan: Component target declared 'absl::flat_hash_set'
-- Conan: Component target declared 'absl::node_hash_map'
-- Conan: Component target declared 'absl::node_hash_set'
-- Conan: Component target declared 'absl::absl_check'
-- Conan: Component target declared 'absl::check'
-- Conan: Component target declared 'absl::die_if_null'
-- Conan: Component target declared 'absl::log_streamer'
-- Conan: Component target declared 'absl::statusor'
-- Conan: Component target declared 'absl::flags_reflection'
-- Conan: Component target declared 'absl::flags'
-- Conan: Component target declared 'absl::flags_usage_internal'
-- Conan: Component target declared 'absl::log_internal_flags'
-- Conan: Component target declared 'absl::flags_usage'
-- Conan: Component target declared 'absl::log_flags'
-- Conan: Component target declared 'absl::flags_parse'
-- Conan: Target declared 'abseil::abseil'
-- Conan: Including build module from '/root/.conan2/p/b/absei3c45b86b6b35f/p/lib/cmake/conan_trick/cxx_std.cmake'
-- Conan: Component target declared 'protobuf::libprotobuf'
-- Conan: Component target declared 'protobuf::libprotoc'
-- Conan: Target declared 'protobuf::protobuf'
-- Conan: Target declared 'ZLIB::ZLIB'
-- Conan: Including build module from '/root/.conan2/p/b/proto45679f72f68a9/p/lib/cmake/protobuf/protobuf-generate.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/proto45679f72f68a9/p/lib/cmake/protobuf/protobuf-module.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/proto45679f72f68a9/p/lib/cmake/protobuf/protobuf-options.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/proto45679f72f68a9/p/lib/cmake/protobuf/protobuf-conan-protoc-target.cmake'
-- Conan: Component target declared 'gRPC::address_sorting'
-- Conan: Component target declared 'gRPC::gpr'
-- Conan: Component target declared 'gRPC::grpc_plugin_support'
-- Conan: Component target declared 'gRPC::upb'
-- Conan: Component target declared 'grpc::grpc_execs'
-- Conan: Component target declared 'gRPC::grpc'
-- Conan: Component target declared 'gRPC::grpc_unsecure'
-- Conan: Component target declared 'gRPC::grpc_authorization_provider'
-- Conan: Component target declared 'gRPC::grpc++'
-- Conan: Component target declared 'gRPC::grpc++_unsecure'
-- Conan: Component target declared 'gRPC::grpc++_alts'
-- Conan: Component target declared 'gRPC::grpc++_error_details'
-- Conan: Component target declared 'gRPC::grpc++_reflection'
-- Conan: Component target declared 'gRPC::grpcpp_channelz'
-- Conan: Target declared 'grpc::grpc'
-- Conan: Including build module from '/root/.conan2/p/b/proto45679f72f68a9/p/lib/cmake/protobuf/protobuf-generate.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/proto45679f72f68a9/p/lib/cmake/protobuf/protobuf-module.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/proto45679f72f68a9/p/lib/cmake/protobuf/protobuf-options.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/proto45679f72f68a9/p/lib/cmake/protobuf/protobuf-conan-protoc-target.cmake'
-- Conan: Component target declared 'c-ares::cares'
-- Conan: Target declared 're2::re2'
-- Conan: Target declared 'libsystemd::libsystemd'
-- Conan: Component target declared 'libcap::cap'
-- Conan: Target declared 'libcap::libcap'
-- Conan: Component target declared 'libmount::libblkid'
-- Conan: Component target declared 'libmount::libmount'
-- Conan: Target declared 'libxcrypt::libxcrypt'
-- Conan: Component target declared 'libselinux::sepol'
-- Conan: Component target declared 'libselinux::selinux'
-- Conan: Target declared 'libselinux::libselinux'
-- Conan: Component target declared 'PCRE2::8BIT'
-- Conan: Component target declared 'PCRE2::16BIT'
-- Conan: Component target declared 'PCRE2::32BIT'
-- Conan: Component target declared 'PCRE2::POSIX'
-- Conan: Target declared 'pcre2::pcre2'
-- Conan: Target declared 'BZip2::BZip2'
-- Conan: Including build module from '/root/.conan2/p/b/bzip2f116da10cae40/p/lib/cmake/conan-official-bzip2-variables.cmake'
-- Conan: Target declared 'LZ4::lz4_shared'
-- Conan: Target declared 'LibLZMA::LibLZMA'
-- Conan: Including build module from '/root/.conan2/p/b/xz_utd147d2a6f5117/p/lib/cmake/conan-official-xz_utils-variables.cmake'
-- Conan: Component target declared 'zstd::libzstd_shared'
-- Conan: Component target declared 'OpenSSL::Crypto'
-- Conan: Component target declared 'OpenSSL::SSL'
-- Conan: Target declared 'openssl::openssl'
-- Conan: Including build module from '/root/.conan2/p/b/opens532874405d5b2/p/lib/cmake/conan-official-openssl-variables.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_cpp_plugin.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_csharp_plugin.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_node_plugin.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_objective_c_plugin.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_php_plugin.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_python_plugin.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_ruby_plugin.cmake'
-- PROTOBUF_PROTOC_EXECUTABLE=/root/.conan2/p/b/proto45679f72f68a9/p/bin/protoc
-- opentelemetry-proto dependency satisfied by: git submodule
-- gRPC_CPP_PLUGIN_EXECUTABLE=/root/.conan2/p/grpc70e99e7e45646/p/bin/grpc_cpp_plugin
-- Conan: Including build module from '/root/.conan2/p/b/absei3c45b86b6b35f/p/lib/cmake/conan_trick/cxx_std.cmake'
-- Conan: Component target declared 'CURL::libcurl'
-- Found CURL: CURL::libcurl, version 8.9.1
-- nlohmann::json dependency satisfied by: package
-- Building WITH_STL=OFF
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_cpp_plugin.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_csharp_plugin.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_node_plugin.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_objective_c_plugin.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_php_plugin.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_python_plugin.cmake'
-- Conan: Including build module from '/root/.conan2/p/b/grpc1574093e452df/p/lib/cmake/conan_trick/grpc_ruby_plugin.cmake'
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

BUILD_BENCHMARK
WITH_JAEGER
WITH_ZPAGES

-- Build files have been written to: /root/.conan2/p/b/opentef0a6a3c9c7f1/b/build/Release

opentelemetry-cpp/1.14.2: Running CMake.build()
opentelemetry-cpp/1.14.2: RUN: cmake --build "/root/.conan2/p/b/opentef0a6a3c9c7f1/b/build/Release" -- -j64
[ 0%] [Run]: "/root/.conan2/p/b/proto45679f72f68a9/p/bin/protoc" "--proto_path=/root/.conan2/p/opent0691d278c4e1e/p/res" "--cpp_out=/root/.conan2/p/b/opentef0a6a3c9c7f1/b/build/Release/generated/third_party/opentelemetry-proto" "--grpc_out=generate_mock_code=true:/root/.conan2/p/b/opentef0a6a3c9c7f1/b/build/Release/generated/third_party/opentelemetry-proto" "--plugin=protoc-gen-grpc="/root/.conan2/p/grpc70e99e7e45646/p/bin/grpc_cpp_plugin"" "/root/.conan2/p/opent0691d278c4e1e/p/res/opentelemetry/proto/common/v1/common.proto" "/root/.conan2/p/opent0691d278c4e1e/p/res/opentelemetry/proto/resource/v1/resource.proto" "/root/.conan2/p/opent0691d278c4e1e/p/res/opentelemetry/proto/trace/v1/trace.proto" "/root/.conan2/p/opent0691d278c4e1e/p/res/opentelemetry/proto/logs/v1/logs.proto" "/root/.conan2/p/opent0691d278c4e1e/p/res/opentelemetry/proto/metrics/v1/metrics.proto" "/root/.conan2/p/opent0691d278c4e1e/p/res/opentelemetry/proto/collector/trace/v1/trace_service.proto" "/root/.conan2/p/opent0691d278c4e1e/p/res/opentelemetry/proto/collector/logs/v1/logs_service.proto" "/root/.conan2/p/opent0691d278c4e1e/p/res/opentelemetry/proto/collector/metrics/v1/metrics_service.proto"
/bin/sh: 1: /root/.conan2/p/b/proto45679f72f68a9/p/bin/protoc: Exec format error
gmake[2]: *** [CMakeFiles/opentelemetry_proto.dir/build.make:74: generated/third_party/opentelemetry-proto/opentelemetry/proto/common/v1/common.pb.h] Error 126
gmake[1]: *** [CMakeFiles/Makefile2:427: CMakeFiles/opentelemetry_proto.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 1%] Building CXX object sdk/src/common/CMakeFiles/opentelemetry_common.dir/random.cc.o
[ 4%] Building CXX object sdk/src/common/CMakeFiles/opentelemetry_common.dir/env_variables.cc.o
[ 4%] Building CXX object sdk/src/version/CMakeFiles/opentelemetry_version.dir/version.cc.o
[ 4%] Building CXX object sdk/src/common/CMakeFiles/opentelemetry_common.dir/global_log_handler.cc.o
[ 4%] Building CXX object sdk/src/common/CMakeFiles/opentelemetry_common.dir/core.cc.o
[ 5%] Building CXX object sdk/src/common/CMakeFiles/opentelemetry_common.dir/base64.cc.o
[ 5%] Building CXX object sdk/src/common/CMakeFiles/opentelemetry_common.dir/platform/fork_unix.cc.o
[ 6%] Linking CXX shared library libopentelemetry_version.so
[ 6%] Built target opentelemetry_version
[ 7%] Linking CXX shared library libopentelemetry_common.so
[ 7%] Built target opentelemetry_common
gmake: *** [Makefile:136: all] Error 2

opentelemetry-cpp/1.14.2: ERROR:
Package '7119329625013011bfe6572610112d87004bc78a' build failed
opentelemetry-cpp/1.14.2: WARN: Build folder /root/.conan2/p/b/opentef0a6a3c9c7f1/b/build/Release
ERROR: opentelemetry-cpp/1.14.2: Error in build() method, line 257
cmake.build()
ConanException: Error 2 while executing

@wadehunk wadehunk added the bug Something isn't working label Aug 26, 2024
@conan-io conan-io deleted a comment Aug 26, 2024
@jcar87 jcar87 self-assigned this Aug 26, 2024
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
8 participants
@jcar87 @wadehunk and others