conan-center-index icon indicating copy to clipboard operation
conan-center-index copied to clipboard

opentelemetry-cpp: Detect cppstd and CXX version

Open steinerthomas opened this issue 1 year ago • 7 comments

Specify library name and version: opentelemetry-cpp/1.14.2

Fixes #24229


steinerthomas avatar Jun 05 '24 13:06 steinerthomas

Conan v1 pipeline :x:

Failure in build 1 (821262b4dd42be7886116680bdf8f95ad1558d00):

  • opentelemetry-cpp/1.12.0: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.8.3: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.14.2: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.9.1: CI failed to create some packages (All logs)

    Logs for packageID a7ddcee994be80b46c4f321f59f47ee22734d9f1:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=clang
    compiler.libcxx=libstdc++
    compiler.version=13
    os=Linux
    [options]
    opentelemetry-cpp:shared=False
    
    [...]
        grpc/1.54.3:c0ea35d3386929c79e5b590825f01c6177355a33 - Download
        libbacktrace/cci.20210118:63c2a85d57849e261f98f935b93ecac31ba71b84 - Download
        libcap/2.69:63c2a85d57849e261f98f935b93ecac31ba71b84 - Download
        libcurl/8.8.0:e3914edd7c56f1cae767e67bf8bc871f94f43a96 - Download
        libevent/2.1.12:59a07d62333ac9199a8bfc08b947c50ce93bbeb8 - Download
        libmount/2.39.2:63c2a85d57849e261f98f935b93ecac31ba71b84 - Download
        libselinux/3.5:a7fea9711f468991f0cf9fa6dafae31f37b5f629 - Download
        libsystemd/255:b3cc55481a13ee1e472b45f56247e429b5e710bb - Download
        libxcrypt/4.4.36:63c2a85d57849e261f98f935b93ecac31ba71b84 - Download
        lz4/1.9.4:63c2a85d57849e261f98f935b93ecac31ba71b84 - Download
        nlohmann_json/3.11.3:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        openssl/3.2.2:b00718575636f7c161e1065dc31d9e1747eae901 - Download
        opentelemetry-cpp/1.9.1:a7ddcee994be80b46c4f321f59f47ee22734d9f1 - Build
        pcre2/10.42:72e418e535172257d605303061c403b7f485466e - Download
        protobuf/3.21.12:e969a92ed208a8b2ba47b9fa493ff8912dbdc978 - Download
        re2/20230301:80d3c8d077516ce6e7dc913ef92912e9172eae4c - Download
        thrift/0.17.0:bd3e5c2b8edfd2cfb16bff0996a32ac61fe8d6c9 - Download
        xz_utils/5.4.5:63c2a85d57849e261f98f935b93ecac31ba71b84 - Download
        zlib/1.3.1:63c2a85d57849e261f98f935b93ecac31ba71b84 - Download
        zstd/1.5.5:5e91ffb47f94020172c155d33a5ff8973b3d22f5 - Download
    Build requirements
        opentelemetry-proto/1.2.0 from 'conan-center' - Downloaded
    Build requirements packages
        opentelemetry-proto/1.2.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
    
    Installing (downloading, building) binaries...
    
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    WARN: grpc/1.54.3: requirement openssl/[>=1.1 <4] overridden by opentelemetry-cpp/1.9.1 to openssl/3.2.2 
    WARN: openssl/3.2.2: requirement zlib/[>=1.2.11 <2] overridden by grpc/1.54.3 to zlib/1.3.1 
    WARN: pcre2/10.42: requirement zlib/[>=1.2.11 <2] overridden by libselinux/3.5 to zlib/1.3.1 
    WARN: libcurl/8.8.0: requirement openssl/[>=1.1 <4] overridden by opentelemetry-cpp/1.9.1 to openssl/3.2.2 
    WARN: thrift/0.17.0: requirement boost/1.85.0 overridden by opentelemetry-cpp/1.9.1 to boost/1.84.0 
    WARN: thrift/0.17.0: requirement openssl/[>=1.1 <4] overridden by opentelemetry-cpp/1.9.1 to openssl/3.2.2 
    WARN: boost/1.84.0: requirement zlib/[>=1.2.11 <2] overridden by thrift/0.17.0 to zlib/1.3.1 
    WARN: libevent/2.1.12: requirement openssl/[>=1.1 <4] overridden by thrift/0.17.0 to openssl/3.2.2 
    ERROR: Missing binary: boost/1.84.0:4363ecddfccc4afd02078ce17dec0b863e4f16a8
    boost/1.84.0: WARN: Can't find a 'boost/1.84.0' package for the specified settings, options and dependencies:
    - Settings: arch=x86_64, build_type=Release, compiler=clang, compiler.libcxx=libstdc++, compiler.version=13, os=Linux
    - Options: addr2line_location=/usr/bin/addr2line, asio_no_deprecated=False, buildid=None, bzip2=True, debug_level=0, diagnostic_definitions=False, error_code_header_only=False, extra_b2_flags=None, fPIC=True, filesystem_no_deprecated=False, filesystem_use_std_fs=False, filesystem_version=None, header_only=False, i18n_backend=deprecated, i18n_backend_iconv=libc, i18n_backend_icu=False, layout=system, lzma=False, magic_autolink=False, multithreading=True, namespace=boost, namespace_alias=False, numa=True, pch=True, python_executable=None, python_version=None, segmented_stacks=False, shared=False, system_no_deprecated=False, system_use_utf8=False, visibility=hidden, with_stacktrace_backtrace=True, without_atomic=False, without_chrono=False, without_cobalt=True, without_container=False, without_context=False, without_contract=False, without_coroutine=False, without_date_time=False, without_exception=False, without_fiber=False, without_filesystem=False, without_graph=False, without_graph_parallel=True, without_iostreams=False, without_json=False, without_locale=False, without_log=False, without_math=False, without_mpi=True, without_nowide=False, without_program_options=False, without_python=True, without_random=False, without_regex=False, without_serialization=False, without_stacktrace=False, without_system=False, without_test=False, without_thread=False, without_timer=False, without_type_erasure=False, without_url=False, without_wave=False, zlib=True, zstd=False, bzip2:build_executable=True, bzip2:fPIC=True, bzip2:shared=False, libbacktrace:fPIC=True, libbacktrace:shared=False, zlib:fPIC=True, zlib:shared=False
    - Dependencies: zlib/1.3.1, bzip2/1.0.8, libbacktrace/cci.20210118
    - Requirements: bzip2/1.Y.Z, libbacktrace/cci.20210118, zlib/1.Y.Z
    - Package ID: 4363ecddfccc4afd02078ce17dec0b863e4f16a8
    
    ERROR: Missing prebuilt package for 'boost/1.84.0'
    Use 'conan search boost/1.84.0@ --table=table.html -r=remote' and open the table.html file to see available packages
    Or try to build locally from sources with '--build=boost'
    
    More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline :x:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 1 (821262b4dd42be7886116680bdf8f95ad1558d00):

  • opentelemetry-cpp/1.8.3: Error running command conan graph info --requires opentelemetry-cpp/1.8.3@#c5772a4b5675f2d483752e31d03fdb74 -f json -pr:h /home/conan/workspace/prod-v2/bsr/47807/fceab/profile_linux_11_libstdcpp11_17_gcc_release_64.-shared-False.txt -pr:b /home/conan/workspace/prod-v2/bsr/47807/fceab/profile_linux_11_libstdcpp11_17_gcc_release_64..txt:

    ======== Computing dependency graph ========
    abseil/20230125.3: Not found in local cache, looking in remotes...
    abseil/20230125.3: Checking remote: conan-center
    abseil/20230125.3: Downloaded recipe revision a402cb19abb5639d7aef2ecdf48d2f02
    protobuf/3.21.12: Not found in local cache, looking in remotes...
    protobuf/3.21.12: Checking remote: conan-center
    protobuf/3.21.12: Downloaded recipe revision 2070373d5f1a2606a4491faef9315a73
    zlib/1.3.1: Not found in local cache, looking in remotes...
    zlib/1.3.1: Checking remote: conan-center
    zlib/1.3.1: Downloaded recipe revision f52e03ae3d251dec704634230cd806a2
    grpc/1.54.3: Not found in local cache, looking in remotes...
    grpc/1.54.3: Checking remote: conan-center
    grpc/1.54.3: Downloaded recipe revision e9358924c64c0e65dbdb1aeb940379cf
    c-ares/1.19.1: Not found in local cache, looking in remotes...
    c-ares/1.19.1: Checking remote: conan-center
    c-ares/1.19.1: Downloaded recipe revision 02ac853d7b96c7e631cc12bb373e6b42
    openssl/3.2.2: Not found in local cache, looking in remotes...
    openssl/3.2.2: Checking remote: conan-center
    openssl/3.2.2: Downloaded recipe revision 899583c694f9deccec74dbe0bbc65a15
    re2/20230301: Not found in local cache, looking in remotes...
    re2/20230301: Checking remote: conan-center
    re2/20230301: Downloaded recipe revision 4482314b6488e5d71e9944f5bedb730d
    libsystemd/255: Not found in local cache, looking in remotes...
    libsystemd/255: Checking remote: conan-center
    libsystemd/255: Downloaded recipe revision 34a0e6734beb603b82731246f79b1fca
    libcap/2.69: Not found in local cache, looking in remotes...
    libcap/2.69: Checking remote: conan-center
    libcap/2.69: Downloaded recipe revision 7ef2d60864c2e58e89db957be936dc49
    libmount/2.39.2: Not found in local cache, looking in remotes...
    libmount/2.39.2: Checking remote: conan-center
    libmount/2.39.2: Downloaded recipe revision 64850679fa9d5ead878e5076b0cab2a8
    libxcrypt/4.4.36: Not found in local cache, looking in remotes...
    libxcrypt/4.4.36: Checking remote: conan-center
    libxcrypt/4.4.36: Downloaded recipe revision 4b4e8f20794f1997dd59eeed0b7cdcfb
    libtool/2.4.7: Not found in local cache, looking in remotes...
    libtool/2.4.7: Checking remote: conan-center
    libtool/2.4.7: Downloaded recipe revision 08316dad5c72c541ed21e039e4cf217b
    automake/1.16.5: Not found in local cache, looking in remotes...
    automake/1.16.5: Checking remote: conan-center
    automake/1.16.5: Downloaded recipe revision 058bda3e21c36c9aa8425daf3c1faf50
    autoconf/2.71: Not found in local cache, looking in remotes...
    autoconf/2.71: Checking remote: conan-center
    autoconf/2.71: Downloaded recipe revision f9307992909d7fb3df459340f1932809
    m4/1.4.19: Not found in local cache, looking in remotes...
    m4/1.4.19: Checking remote: conan-center
    m4/1.4.19: Downloaded recipe revision b38ced39a01e31fef5435bc634461fd2
    gnu-config/cci.20210814: Not found in local cache, looking in remotes...
    gnu-config/cci.20210814: Checking remote: conan-center
    gnu-config/cci.20210814: Downloaded recipe revision dc430d754f465e8c74463019672fb97b
    libselinux/3.5: Not found in local cache, looking in remotes...
    libselinux/3.5: Checking remote: conan-center
    libselinux/3.5: Downloaded recipe revision 776f35e238362c6b893220f437cb89ae
    pcre2/10.42: Not found in local cache, looking in remotes...
    pcre2/10.42: Checking remote: conan-center
    pcre2/10.42: Downloaded recipe revision a7a2c122056510509a7525c83d6a6695
    bzip2/1.0.8: Not found in local cache, looking in remotes...
    bzip2/1.0.8: Checking remote: conan-center
    bzip2/1.0.8: Downloaded recipe revision 457c272f7da34cb9c67456dd217d36c4
    flex/2.6.4: Not found in local cache, looking in remotes...
    flex/2.6.4: Checking remote: conan-center
    flex/2.6.4: Downloaded recipe revision e35bc44b3fcbcd661e0af0dc5b5b1ad4
    pkgconf/2.0.3: Not found in local cache, looking in remotes...
    pkgconf/2.0.3: Checking remote: conan-center
    pkgconf/2.0.3: Downloaded recipe revision f996677e96e61e6552d85e83756c328b
    meson/1.2.2: Not found in local cache, looking in remotes...
    meson/1.2.2: Checking remote: conan-center
    meson/1.2.2: Downloaded recipe revision 04bdfb85d665c82b08a3510aee3ffd19
    ninja/1.11.1: Not found in local cache, looking in remotes...
    ninja/1.11.1: Checking remote: conan-center
    ninja/1.11.1: Downloaded recipe revision 77587f8c8318662ac8e5a7867eb4be21
    lz4/1.9.4: Not found in local cache, looking in remotes...
    lz4/1.9.4: Checking remote: conan-center
    lz4/1.9.4: Downloaded recipe revision 1217a03c990b79aa34ed0faede18f534
    xz_utils/5.4.5: Not found in local cache, looking in remotes...
    xz_utils/5.4.5: Checking remote: conan-center
    xz_utils/5.4.5: Downloaded recipe revision 51e5a6e6564f4ea3afd79def01f035ad
    zstd/1.5.5: Not found in local cache, looking in remotes...
    zstd/1.5.5: Checking remote: conan-center
    zstd/1.5.5: Downloaded recipe revision 1f239731dc45147c7fc2f54bfbde73df
    meson/1.3.0: Not found in local cache, looking in remotes...
    meson/1.3.0: Checking remote: conan-center
    meson/1.3.0: Downloaded recipe revision 67eebe98438326590a9285377c37cea2
    gperf/3.1: Not found in local cache, looking in remotes...
    gperf/3.1: Checking remote: conan-center
    gperf/3.1: Downloaded recipe revision 1d622ad9717e9348ed3685c9994ad0b9
    pkgconf/2.1.0: Not found in local cache, looking in remotes...
    pkgconf/2.1.0: Checking remote: conan-center
    pkgconf/2.1.0: Downloaded recipe revision 27f44583701117b571307cf5b5fe5605
    nlohmann_json/3.11.3: Not found in local cache, looking in remotes...
    nlohmann_json/3.11.3: Checking remote: conan-center
    nlohmann_json/3.11.3: Downloaded recipe revision 45828be26eb619a2e04ca517bb7b828d
    libcurl/8.8.0: Not found in local cache, looking in remotes...
    libcurl/8.8.0: Checking remote: conan-center
    libcurl/8.8.0: Downloaded recipe revision b148a2f137247e08b65a248780d5f7fd
    thrift/0.17.0: Not found in local cache, looking in remotes...
    thrift/0.17.0: Checking remote: conan-center
    thrift/0.17.0: Downloaded recipe revision c79319d67eaaf8637e5bd8fb31a364fa
    Graph root
        cli
    Requirements
        abseil/20230125.3#a402cb19abb5639d7aef2ecdf48d2f02 - Downloaded (conan-center)
        bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Downloaded (conan-center)
        c-ares/1.19.1#02ac853d7b96c7e631cc12bb373e6b42 - Downloaded (conan-center)
        grpc/1.54.3#e9358924c64c0e65dbdb1aeb940379cf - Downloaded (conan-center)
        libcap/2.69#7ef2d60864c2e58e89db957be936dc49 - Downloaded (conan-center)
        libcurl/8.8.0#b148a2f137247e08b65a248780d5f7fd - Downloaded (conan-center)
        libmount/2.39.2#64850679fa9d5ead878e5076b0cab2a8 - Downloaded (conan-center)
        libselinux/3.5#776f35e238362c6b893220f437cb89ae - Downloaded (conan-center)
        libsystemd/255#34a0e6734beb603b82731246f79b1fca - Downloaded (conan-center)
        libxcrypt/4.4.36#4b4e8f20794f1997dd59eeed0b7cdcfb - Downloaded (conan-center)
        lz4/1.9.4#1217a03c990b79aa34ed0faede18f534 - Downloaded (conan-center)
        nlohmann_json/3.11.3#45828be26eb619a2e04ca517bb7b828d - Downloaded (conan-center)
        openssl/3.2.2#899583c694f9deccec74dbe0bbc65a15 - Downloaded (conan-center)
        opentelemetry-cpp/1.8.3#c5772a4b5675f2d483752e31d03fdb74 - Cache
        pcre2/10.42#a7a2c122056510509a7525c83d6a6695 - Downloaded (conan-center)
        protobuf/3.21.12#2070373d5f1a2606a4491faef9315a73 - Downloaded (conan-center)
        re2/20230301#4482314b6488e5d71e9944f5bedb730d - Downloaded (conan-center)
        thrift/0.17.0#c79319d67eaaf8637e5bd8fb31a364fa - Downloaded (conan-center)
        xz_utils/5.4.5#51e5a6e6564f4ea3afd79def01f035ad - Downloaded (conan-center)
        zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Downloaded (conan-center)
        zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df - Downloaded (conan-center)
    Build requirements
        autoconf/2.71#f9307992909d7fb3df459340f1932809 - Downloaded (conan-center)
        automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Downloaded (conan-center)
        flex/2.6.4#e35bc44b3fcbcd661e0af0dc5b5b1ad4 - Downloaded (conan-center)
        gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Downloaded (conan-center)
        gperf/3.1#1d622ad9717e9348ed3685c9994ad0b9 - Downloaded (conan-center)
        libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Downloaded (conan-center)
        m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Downloaded (conan-center)
        meson/1.2.2#04bdfb85d665c82b08a3510aee3ffd19 - Downloaded (conan-center)
        meson/1.3.0#67eebe98438326590a9285377c37cea2 - Downloaded (conan-center)
        ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21 - Downloaded (conan-center)
        pkgconf/2.0.3#f996677e96e61e6552d85e83756c328b - Downloaded (conan-center)
        pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Downloaded (conan-center)
        protobuf/3.21.12#2070373d5f1a2606a4491faef9315a73 - Downloaded (conan-center)
        zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Downloaded (conan-center)
    Resolved version ranges
        libcurl/[>=7.78.0 <9]: libcurl/8.8.0
        openssl/[>=1.1 <4]: openssl/3.2.2
        zlib/[>=1.2.11 <2]: zlib/1.3.1
    ERROR: Version conflict: Conflict between boost/1.85.0 and boost/1.84.0 in the graph.
    Conflict originates from thrift/0.17.0
    
    Run 'conan graph info ... --format=html > graph.html' and open 'graph.html' to inspect the conflict graphically.
    
  • opentelemetry-cpp/1.14.2: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.12.0: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.9.1: Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

conan-center-bot avatar Jun 05 '24 13:06 conan-center-bot

Conan v1 pipeline :x:

Failure in build 2 (821262b4dd42be7886116680bdf8f95ad1558d00):

  • opentelemetry-cpp/1.12.0: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.14.2: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.9.1: CI failed to create some packages (All logs)

    Logs for packageID c6373216340655ff9b542098dd6f8e94a6dd98f6:
    [settings]
    arch=armv8
    build_type=Release
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=13.0
    os=Macos
    [options]
    opentelemetry-cpp:shared=False
    
    [...]
             ^
    /Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/protobuf/3.21.12/_/_/package/474ad91bb17976d04806e597430c98f678939920/include/google/protobuf/arena_impl.h:107:26: error: expected ';' at end of declaration list
      static constexpr size_t kDefaultMaxBlockSize = 8192;
                             ^
    In file included from /Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/opentelemetry-cpp/1.9.1/_/_/build/c6373216340655ff9b542098dd6f8e94a6dd98f6/build/Release/generated/third_party/opentelemetry-proto/opentelemetry/proto/collector/metrics/v1/metrics_service.pb.cc:4:
    In file included from /Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/opentelemetry-cpp/1.9.1/_/_/build/c6373216340655ff9b542098dd6f8e94a6dd98f6/build/Release/generated/third_party/opentelemetry-proto/opentelemetry/proto/collector/metrics/v1/metrics_service.pb.h:24:
    In file included from /Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/protobuf/3.21.12/_/_/package/474ad91bb17976d04806e597430c98f678939920/include/google/protobuf/arena.h:52:
    /Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/protobuf/3.21.12/_/_/package/474ad91bb17976d04806e597430c98f678939920/include/google/protobuf/arena_impl.h:62:34: error: use of undeclared identifier 'max_align_t'
    enum { kCacheAlignment = alignof(max_align_t) };  // do the best we can
                                     ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    /Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/protobuf/3.21.12/_/_/package/474ad91bb17976d04806e597430c98f678939920/include/google/protobuf/arena_impl.h:65:8: error: unknown type name 'constexpr'
    inline constexpr size_t AlignUpTo8(size_t n) {
           ^
    /Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/protobuf/3.21.12/_/_/package/474ad91bb17976d04806e597430c98f678939920/include/google/protobuf/arena_impl.h:65:24: error: expected ';' after top level declarator
    inline constexpr size_t AlignUpTo8(size_t n) {
                           ^
    /Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/protobuf/3.21.12/_/_/package/474ad91bb17976d04806e597430c98f678939920/include/google/protobuf/arena_impl.h:106:10: error: unknown type name 'constexpr'
      static constexpr size_t kDefaultStartBlockSize = 256;
             ^
    /Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/protobuf/3.21.12/_/_/package/474ad91bb17976d04806e597430c98f678939920/include/google/protobuf/arena_impl.h:106:26: error: expected ';' at end of declaration list
      static constexpr size_t kDefaultStartBlockSize = 256;
                             ^
    /Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/protobuf/3.21.12/_/_/package/474ad91bb17976d04806e597430c98f678939920/include/google/protobuf/arena_impl.h:107:10: error: unknown type name 'constexpr'
      static constexpr size_t kDefaultMaxBlockSize = 8192;
             ^
    /Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/protobuf/3.21.12/_/_/package/474ad91bb17976d04806e597430c98f678939920/include/google/protobuf/arena_impl.h:107:26: error: expected ';' at end of declaration list
      static constexpr size_t kDefaultMaxBlockSize = 8192;
                             ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    20 errors generated.
    make[2]: *** [CMakeFiles/opentelemetry_proto.dir/generated/third_party/opentelemetry-proto/opentelemetry/proto/collector/logs/v1/logs_service.pb.cc.o] Error 1
    20 errors generated.
    make[2]: *** [CMakeFiles/opentelemetry_proto.dir/generated/third_party/opentelemetry-proto/opentelemetry/proto/collector/metrics/v1/metrics_service.pb.cc.o] Error 1
    make[1]: *** [CMakeFiles/opentelemetry_proto.dir/all] Error 2
    make: *** [all] Error 2
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    WARN: grpc/1.54.3: requirement openssl/[>=1.1 <4] overridden by opentelemetry-cpp/1.9.1 to openssl/3.2.2 
    WARN: openssl/3.2.2: requirement zlib/[>=1.2.11 <2] overridden by grpc/1.54.3 to zlib/1.3.1 
    WARN: thrift/0.17.0: requirement boost/1.85.0 overridden by opentelemetry-cpp/1.9.1 to boost/1.84.0 
    WARN: thrift/0.17.0: requirement openssl/[>=1.1 <4] overridden by opentelemetry-cpp/1.9.1 to openssl/3.2.2 
    WARN: boost/1.84.0: requirement zlib/[>=1.2.11 <2] overridden by thrift/0.17.0 to zlib/1.3.1 
    WARN: libevent/2.1.12: requirement openssl/[>=1.1 <4] overridden by thrift/0.17.0 to openssl/3.2.2 
    WARN: openssl/3.2.2: requirement zlib/[>=1.2.11 <2] overridden by grpc/1.54.3 to zlib/1.3.1 
    opentelemetry-cpp/1.9.1: ERROR: Package 'c6373216340655ff9b542098dd6f8e94a6dd98f6' build failed
    opentelemetry-cpp/1.9.1: WARN: Build folder /Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/opentelemetry-cpp/1.9.1/_/_/build/c6373216340655ff9b542098dd6f8e94a6dd98f6/build/Release
    ERROR: opentelemetry-cpp/1.9.1: Error in build() method, line 267
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/Users/jenkins/workspace/prod-v1/bsr/54030/eeade/.conan/data/opentelemetry-cpp/1.9.1/_/_/build/c6373216340655ff9b542098dd6f8e94a6dd98f6/build/Release" '--' '-j8'
    
  • opentelemetry-cpp/1.8.3: Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline :x:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 2 (821262b4dd42be7886116680bdf8f95ad1558d00):

  • opentelemetry-cpp/1.14.2: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.12.0: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.9.1: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.8.3: Error running command conan graph info --requires opentelemetry-cpp/1.8.3@#c5772a4b5675f2d483752e31d03fdb74 -f json -pr:h /home/conan/workspace/prod-v2/bsr/47815/bfdef/profile_linux_11_libstdcpp11_17_gcc_release_64.-shared-False.txt -pr:b /home/conan/workspace/prod-v2/bsr/47815/bfdef/profile_linux_11_libstdcpp11_17_gcc_release_64..txt:

    ======== Computing dependency graph ========
    abseil/20230125.3: Not found in local cache, looking in remotes...
    abseil/20230125.3: Checking remote: conan-center
    abseil/20230125.3: Downloaded recipe revision a402cb19abb5639d7aef2ecdf48d2f02
    protobuf/3.21.12: Not found in local cache, looking in remotes...
    protobuf/3.21.12: Checking remote: conan-center
    protobuf/3.21.12: Downloaded recipe revision 2070373d5f1a2606a4491faef9315a73
    zlib/1.3.1: Not found in local cache, looking in remotes...
    zlib/1.3.1: Checking remote: conan-center
    zlib/1.3.1: Downloaded recipe revision f52e03ae3d251dec704634230cd806a2
    grpc/1.54.3: Not found in local cache, looking in remotes...
    grpc/1.54.3: Checking remote: conan-center
    grpc/1.54.3: Downloaded recipe revision e9358924c64c0e65dbdb1aeb940379cf
    c-ares/1.19.1: Not found in local cache, looking in remotes...
    c-ares/1.19.1: Checking remote: conan-center
    c-ares/1.19.1: Downloaded recipe revision 02ac853d7b96c7e631cc12bb373e6b42
    openssl/3.2.2: Not found in local cache, looking in remotes...
    openssl/3.2.2: Checking remote: conan-center
    openssl/3.2.2: Downloaded recipe revision 899583c694f9deccec74dbe0bbc65a15
    re2/20230301: Not found in local cache, looking in remotes...
    re2/20230301: Checking remote: conan-center
    re2/20230301: Downloaded recipe revision 4482314b6488e5d71e9944f5bedb730d
    libsystemd/255: Not found in local cache, looking in remotes...
    libsystemd/255: Checking remote: conan-center
    libsystemd/255: Downloaded recipe revision 34a0e6734beb603b82731246f79b1fca
    libcap/2.69: Not found in local cache, looking in remotes...
    libcap/2.69: Checking remote: conan-center
    libcap/2.69: Downloaded recipe revision 7ef2d60864c2e58e89db957be936dc49
    libmount/2.39.2: Not found in local cache, looking in remotes...
    libmount/2.39.2: Checking remote: conan-center
    libmount/2.39.2: Downloaded recipe revision 64850679fa9d5ead878e5076b0cab2a8
    libxcrypt/4.4.36: Not found in local cache, looking in remotes...
    libxcrypt/4.4.36: Checking remote: conan-center
    libxcrypt/4.4.36: Downloaded recipe revision 4b4e8f20794f1997dd59eeed0b7cdcfb
    libtool/2.4.7: Not found in local cache, looking in remotes...
    libtool/2.4.7: Checking remote: conan-center
    libtool/2.4.7: Downloaded recipe revision 08316dad5c72c541ed21e039e4cf217b
    automake/1.16.5: Not found in local cache, looking in remotes...
    automake/1.16.5: Checking remote: conan-center
    automake/1.16.5: Downloaded recipe revision 058bda3e21c36c9aa8425daf3c1faf50
    autoconf/2.71: Not found in local cache, looking in remotes...
    autoconf/2.71: Checking remote: conan-center
    autoconf/2.71: Downloaded recipe revision f9307992909d7fb3df459340f1932809
    m4/1.4.19: Not found in local cache, looking in remotes...
    m4/1.4.19: Checking remote: conan-center
    m4/1.4.19: Downloaded recipe revision b38ced39a01e31fef5435bc634461fd2
    gnu-config/cci.20210814: Not found in local cache, looking in remotes...
    gnu-config/cci.20210814: Checking remote: conan-center
    gnu-config/cci.20210814: Downloaded recipe revision dc430d754f465e8c74463019672fb97b
    libselinux/3.5: Not found in local cache, looking in remotes...
    libselinux/3.5: Checking remote: conan-center
    libselinux/3.5: Downloaded recipe revision 776f35e238362c6b893220f437cb89ae
    pcre2/10.42: Not found in local cache, looking in remotes...
    pcre2/10.42: Checking remote: conan-center
    pcre2/10.42: Downloaded recipe revision a7a2c122056510509a7525c83d6a6695
    bzip2/1.0.8: Not found in local cache, looking in remotes...
    bzip2/1.0.8: Checking remote: conan-center
    bzip2/1.0.8: Downloaded recipe revision 457c272f7da34cb9c67456dd217d36c4
    flex/2.6.4: Not found in local cache, looking in remotes...
    flex/2.6.4: Checking remote: conan-center
    flex/2.6.4: Downloaded recipe revision e35bc44b3fcbcd661e0af0dc5b5b1ad4
    pkgconf/2.0.3: Not found in local cache, looking in remotes...
    pkgconf/2.0.3: Checking remote: conan-center
    pkgconf/2.0.3: Downloaded recipe revision f996677e96e61e6552d85e83756c328b
    meson/1.2.2: Not found in local cache, looking in remotes...
    meson/1.2.2: Checking remote: conan-center
    meson/1.2.2: Downloaded recipe revision 04bdfb85d665c82b08a3510aee3ffd19
    ninja/1.11.1: Not found in local cache, looking in remotes...
    ninja/1.11.1: Checking remote: conan-center
    ninja/1.11.1: Downloaded recipe revision 77587f8c8318662ac8e5a7867eb4be21
    lz4/1.9.4: Not found in local cache, looking in remotes...
    lz4/1.9.4: Checking remote: conan-center
    lz4/1.9.4: Downloaded recipe revision 1217a03c990b79aa34ed0faede18f534
    xz_utils/5.4.5: Not found in local cache, looking in remotes...
    xz_utils/5.4.5: Checking remote: conan-center
    xz_utils/5.4.5: Downloaded recipe revision 51e5a6e6564f4ea3afd79def01f035ad
    zstd/1.5.5: Not found in local cache, looking in remotes...
    zstd/1.5.5: Checking remote: conan-center
    zstd/1.5.5: Downloaded recipe revision 1f239731dc45147c7fc2f54bfbde73df
    meson/1.3.0: Not found in local cache, looking in remotes...
    meson/1.3.0: Checking remote: conan-center
    meson/1.3.0: Downloaded recipe revision 67eebe98438326590a9285377c37cea2
    gperf/3.1: Not found in local cache, looking in remotes...
    gperf/3.1: Checking remote: conan-center
    gperf/3.1: Downloaded recipe revision 1d622ad9717e9348ed3685c9994ad0b9
    pkgconf/2.1.0: Not found in local cache, looking in remotes...
    pkgconf/2.1.0: Checking remote: conan-center
    pkgconf/2.1.0: Downloaded recipe revision 27f44583701117b571307cf5b5fe5605
    nlohmann_json/3.11.3: Not found in local cache, looking in remotes...
    nlohmann_json/3.11.3: Checking remote: conan-center
    nlohmann_json/3.11.3: Downloaded recipe revision 45828be26eb619a2e04ca517bb7b828d
    libcurl/8.8.0: Not found in local cache, looking in remotes...
    libcurl/8.8.0: Checking remote: conan-center
    libcurl/8.8.0: Downloaded recipe revision b148a2f137247e08b65a248780d5f7fd
    thrift/0.17.0: Not found in local cache, looking in remotes...
    thrift/0.17.0: Checking remote: conan-center
    thrift/0.17.0: Downloaded recipe revision c79319d67eaaf8637e5bd8fb31a364fa
    Graph root
        cli
    Requirements
        abseil/20230125.3#a402cb19abb5639d7aef2ecdf48d2f02 - Downloaded (conan-center)
        bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Downloaded (conan-center)
        c-ares/1.19.1#02ac853d7b96c7e631cc12bb373e6b42 - Downloaded (conan-center)
        grpc/1.54.3#e9358924c64c0e65dbdb1aeb940379cf - Downloaded (conan-center)
        libcap/2.69#7ef2d60864c2e58e89db957be936dc49 - Downloaded (conan-center)
        libcurl/8.8.0#b148a2f137247e08b65a248780d5f7fd - Downloaded (conan-center)
        libmount/2.39.2#64850679fa9d5ead878e5076b0cab2a8 - Downloaded (conan-center)
        libselinux/3.5#776f35e238362c6b893220f437cb89ae - Downloaded (conan-center)
        libsystemd/255#34a0e6734beb603b82731246f79b1fca - Downloaded (conan-center)
        libxcrypt/4.4.36#4b4e8f20794f1997dd59eeed0b7cdcfb - Downloaded (conan-center)
        lz4/1.9.4#1217a03c990b79aa34ed0faede18f534 - Downloaded (conan-center)
        nlohmann_json/3.11.3#45828be26eb619a2e04ca517bb7b828d - Downloaded (conan-center)
        openssl/3.2.2#899583c694f9deccec74dbe0bbc65a15 - Downloaded (conan-center)
        opentelemetry-cpp/1.8.3#c5772a4b5675f2d483752e31d03fdb74 - Cache
        pcre2/10.42#a7a2c122056510509a7525c83d6a6695 - Downloaded (conan-center)
        protobuf/3.21.12#2070373d5f1a2606a4491faef9315a73 - Downloaded (conan-center)
        re2/20230301#4482314b6488e5d71e9944f5bedb730d - Downloaded (conan-center)
        thrift/0.17.0#c79319d67eaaf8637e5bd8fb31a364fa - Downloaded (conan-center)
        xz_utils/5.4.5#51e5a6e6564f4ea3afd79def01f035ad - Downloaded (conan-center)
        zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Downloaded (conan-center)
        zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df - Downloaded (conan-center)
    Build requirements
        autoconf/2.71#f9307992909d7fb3df459340f1932809 - Downloaded (conan-center)
        automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Downloaded (conan-center)
        flex/2.6.4#e35bc44b3fcbcd661e0af0dc5b5b1ad4 - Downloaded (conan-center)
        gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Downloaded (conan-center)
        gperf/3.1#1d622ad9717e9348ed3685c9994ad0b9 - Downloaded (conan-center)
        libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Downloaded (conan-center)
        m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Downloaded (conan-center)
        meson/1.2.2#04bdfb85d665c82b08a3510aee3ffd19 - Downloaded (conan-center)
        meson/1.3.0#67eebe98438326590a9285377c37cea2 - Downloaded (conan-center)
        ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21 - Downloaded (conan-center)
        pkgconf/2.0.3#f996677e96e61e6552d85e83756c328b - Downloaded (conan-center)
        pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Downloaded (conan-center)
        protobuf/3.21.12#2070373d5f1a2606a4491faef9315a73 - Downloaded (conan-center)
        zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Downloaded (conan-center)
    Resolved version ranges
        libcurl/[>=7.78.0 <9]: libcurl/8.8.0
        openssl/[>=1.1 <4]: openssl/3.2.2
        zlib/[>=1.2.11 <2]: zlib/1.3.1
    ERROR: Version conflict: Conflict between boost/1.85.0 and boost/1.84.0 in the graph.
    Conflict originates from thrift/0.17.0
    
    Run 'conan graph info ... --format=html > graph.html' and open 'graph.html' to inspect the conflict graphically.
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

conan-center-bot avatar Jun 05 '24 14:06 conan-center-bot

Conan v1 pipeline :heavy_check_mark:

All green in build 3 (54cdda20f3be29bc07005931a279b58795586c6c):

  • opentelemetry-cpp/1.8.3: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.9.1: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.14.2: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.12.0: All packages built successfully! (All logs)


Conan v2 pipeline :x:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 3 (54cdda20f3be29bc07005931a279b58795586c6c):

  • opentelemetry-cpp/1.14.2: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.8.3: Error running command conan graph info --requires opentelemetry-cpp/1.8.3@#fdc53df45c393357da28d3013f66e946 --build opentelemetry-cpp/1.8.3@#fdc53df45c393357da28d3013f66e946 -f json -pr:h /home/conan/workspace/prod-v2/bsr/51251/dedcb/profile_linux_11_libstdcpp11_17_gcc_release_64.-shared-False.txt -pr:b /home/conan/workspace/prod-v2/bsr/51251/dedcb/profile_linux_11_libstdcpp11_17_gcc_release_64..txt:

    ======== Computing dependency graph ========
    abseil/20230125.3: Not found in local cache, looking in remotes...
    abseil/20230125.3: Checking remote: conan-center
    abseil/20230125.3: Downloaded recipe revision a402cb19abb5639d7aef2ecdf48d2f02
    protobuf/3.21.12: Not found in local cache, looking in remotes...
    protobuf/3.21.12: Checking remote: conan-center
    protobuf/3.21.12: Downloaded recipe revision 2070373d5f1a2606a4491faef9315a73
    zlib/1.3.1: Not found in local cache, looking in remotes...
    zlib/1.3.1: Checking remote: conan-center
    zlib/1.3.1: Downloaded recipe revision f52e03ae3d251dec704634230cd806a2
    grpc/1.54.3: Not found in local cache, looking in remotes...
    grpc/1.54.3: Checking remote: conan-center
    grpc/1.54.3: Downloaded recipe revision e9358924c64c0e65dbdb1aeb940379cf
    c-ares/1.19.1: Not found in local cache, looking in remotes...
    c-ares/1.19.1: Checking remote: conan-center
    c-ares/1.19.1: Downloaded recipe revision 02ac853d7b96c7e631cc12bb373e6b42
    openssl/3.2.2: Not found in local cache, looking in remotes...
    openssl/3.2.2: Checking remote: conan-center
    openssl/3.2.2: Downloaded recipe revision 899583c694f9deccec74dbe0bbc65a15
    re2/20230301: Not found in local cache, looking in remotes...
    re2/20230301: Checking remote: conan-center
    re2/20230301: Downloaded recipe revision 4482314b6488e5d71e9944f5bedb730d
    libsystemd/255: Not found in local cache, looking in remotes...
    libsystemd/255: Checking remote: conan-center
    libsystemd/255: Downloaded recipe revision 8e49d0c6b1d63861e3e10665cc1b7b4d
    libcap/2.69: Not found in local cache, looking in remotes...
    libcap/2.69: Checking remote: conan-center
    libcap/2.69: Downloaded recipe revision 7ef2d60864c2e58e89db957be936dc49
    libmount/2.39.2: Not found in local cache, looking in remotes...
    libmount/2.39.2: Checking remote: conan-center
    libmount/2.39.2: Downloaded recipe revision 64850679fa9d5ead878e5076b0cab2a8
    libxcrypt/4.4.36: Not found in local cache, looking in remotes...
    libxcrypt/4.4.36: Checking remote: conan-center
    libxcrypt/4.4.36: Downloaded recipe revision 4b4e8f20794f1997dd59eeed0b7cdcfb
    libtool/2.4.7: Not found in local cache, looking in remotes...
    libtool/2.4.7: Checking remote: conan-center
    libtool/2.4.7: Downloaded recipe revision 08316dad5c72c541ed21e039e4cf217b
    automake/1.16.5: Not found in local cache, looking in remotes...
    automake/1.16.5: Checking remote: conan-center
    automake/1.16.5: Downloaded recipe revision 058bda3e21c36c9aa8425daf3c1faf50
    autoconf/2.71: Not found in local cache, looking in remotes...
    autoconf/2.71: Checking remote: conan-center
    autoconf/2.71: Downloaded recipe revision f9307992909d7fb3df459340f1932809
    m4/1.4.19: Not found in local cache, looking in remotes...
    m4/1.4.19: Checking remote: conan-center
    m4/1.4.19: Downloaded recipe revision b38ced39a01e31fef5435bc634461fd2
    gnu-config/cci.20210814: Not found in local cache, looking in remotes...
    gnu-config/cci.20210814: Checking remote: conan-center
    gnu-config/cci.20210814: Downloaded recipe revision dc430d754f465e8c74463019672fb97b
    libselinux/3.6: Not found in local cache, looking in remotes...
    libselinux/3.6: Checking remote: conan-center
    libselinux/3.6: Downloaded recipe revision 5a78ff6ae5034eeaac8da723361a8ce4
    pcre2/10.42: Not found in local cache, looking in remotes...
    pcre2/10.42: Checking remote: conan-center
    pcre2/10.42: Downloaded recipe revision a7a2c122056510509a7525c83d6a6695
    bzip2/1.0.8: Not found in local cache, looking in remotes...
    bzip2/1.0.8: Checking remote: conan-center
    bzip2/1.0.8: Downloaded recipe revision 457c272f7da34cb9c67456dd217d36c4
    flex/2.6.4: Not found in local cache, looking in remotes...
    flex/2.6.4: Checking remote: conan-center
    flex/2.6.4: Downloaded recipe revision e35bc44b3fcbcd661e0af0dc5b5b1ad4
    pkgconf/2.2.0: Not found in local cache, looking in remotes...
    pkgconf/2.2.0: Checking remote: conan-center
    pkgconf/2.2.0: Downloaded recipe revision 6462942a22803086372db44689ba825f
    meson/1.2.2: Not found in local cache, looking in remotes...
    meson/1.2.2: Checking remote: conan-center
    meson/1.2.2: Downloaded recipe revision 04bdfb85d665c82b08a3510aee3ffd19
    ninja/1.11.1: Not found in local cache, looking in remotes...
    ninja/1.11.1: Checking remote: conan-center
    ninja/1.11.1: Downloaded recipe revision 77587f8c8318662ac8e5a7867eb4be21
    lz4/1.9.4: Not found in local cache, looking in remotes...
    lz4/1.9.4: Checking remote: conan-center
    lz4/1.9.4: Downloaded recipe revision 1217a03c990b79aa34ed0faede18f534
    xz_utils/5.4.5: Not found in local cache, looking in remotes...
    xz_utils/5.4.5: Checking remote: conan-center
    xz_utils/5.4.5: Downloaded recipe revision 51e5a6e6564f4ea3afd79def01f035ad
    zstd/1.5.5: Not found in local cache, looking in remotes...
    zstd/1.5.5: Checking remote: conan-center
    zstd/1.5.5: Downloaded recipe revision 1f239731dc45147c7fc2f54bfbde73df
    meson/1.4.0: Not found in local cache, looking in remotes...
    meson/1.4.0: Checking remote: conan-center
    meson/1.4.0: Downloaded recipe revision 024dfac41ea5570cb1aec3ea6fe34d0a
    gperf/3.1: Not found in local cache, looking in remotes...
    gperf/3.1: Checking remote: conan-center
    gperf/3.1: Downloaded recipe revision 1d622ad9717e9348ed3685c9994ad0b9
    pkgconf/2.1.0: Not found in local cache, looking in remotes...
    pkgconf/2.1.0: Checking remote: conan-center
    pkgconf/2.1.0: Downloaded recipe revision 27f44583701117b571307cf5b5fe5605
    nlohmann_json/3.11.3: Not found in local cache, looking in remotes...
    nlohmann_json/3.11.3: Checking remote: conan-center
    nlohmann_json/3.11.3: Downloaded recipe revision 45828be26eb619a2e04ca517bb7b828d
    libcurl/8.8.0: Not found in local cache, looking in remotes...
    libcurl/8.8.0: Checking remote: conan-center
    libcurl/8.8.0: Downloaded recipe revision 9170903d66d6f6e6795fbb566a403129
    thrift/0.17.0: Not found in local cache, looking in remotes...
    thrift/0.17.0: Checking remote: conan-center
    thrift/0.17.0: Downloaded recipe revision c79319d67eaaf8637e5bd8fb31a364fa
    Graph root
        cli
    Requirements
        abseil/20230125.3#a402cb19abb5639d7aef2ecdf48d2f02 - Downloaded (conan-center)
        bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Downloaded (conan-center)
        c-ares/1.19.1#02ac853d7b96c7e631cc12bb373e6b42 - Downloaded (conan-center)
        grpc/1.54.3#e9358924c64c0e65dbdb1aeb940379cf - Downloaded (conan-center)
        libcap/2.69#7ef2d60864c2e58e89db957be936dc49 - Downloaded (conan-center)
        libcurl/8.8.0#9170903d66d6f6e6795fbb566a403129 - Downloaded (conan-center)
        libmount/2.39.2#64850679fa9d5ead878e5076b0cab2a8 - Downloaded (conan-center)
        libselinux/3.6#5a78ff6ae5034eeaac8da723361a8ce4 - Downloaded (conan-center)
        libsystemd/255#8e49d0c6b1d63861e3e10665cc1b7b4d - Downloaded (conan-center)
        libxcrypt/4.4.36#4b4e8f20794f1997dd59eeed0b7cdcfb - Downloaded (conan-center)
        lz4/1.9.4#1217a03c990b79aa34ed0faede18f534 - Downloaded (conan-center)
        nlohmann_json/3.11.3#45828be26eb619a2e04ca517bb7b828d - Downloaded (conan-center)
        openssl/3.2.2#899583c694f9deccec74dbe0bbc65a15 - Downloaded (conan-center)
        opentelemetry-cpp/1.8.3#fdc53df45c393357da28d3013f66e946 - Cache
        pcre2/10.42#a7a2c122056510509a7525c83d6a6695 - Downloaded (conan-center)
        protobuf/3.21.12#2070373d5f1a2606a4491faef9315a73 - Downloaded (conan-center)
        re2/20230301#4482314b6488e5d71e9944f5bedb730d - Downloaded (conan-center)
        thrift/0.17.0#c79319d67eaaf8637e5bd8fb31a364fa - Downloaded (conan-center)
        xz_utils/5.4.5#51e5a6e6564f4ea3afd79def01f035ad - Downloaded (conan-center)
        zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Downloaded (conan-center)
        zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df - Downloaded (conan-center)
    Build requirements
        autoconf/2.71#f9307992909d7fb3df459340f1932809 - Downloaded (conan-center)
        automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Downloaded (conan-center)
        flex/2.6.4#e35bc44b3fcbcd661e0af0dc5b5b1ad4 - Downloaded (conan-center)
        gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Downloaded (conan-center)
        gperf/3.1#1d622ad9717e9348ed3685c9994ad0b9 - Downloaded (conan-center)
        libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Downloaded (conan-center)
        m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Downloaded (conan-center)
        meson/1.2.2#04bdfb85d665c82b08a3510aee3ffd19 - Downloaded (conan-center)
        meson/1.4.0#024dfac41ea5570cb1aec3ea6fe34d0a - Downloaded (conan-center)
        ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21 - Downloaded (conan-center)
        pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Downloaded (conan-center)
        pkgconf/2.2.0#6462942a22803086372db44689ba825f - Downloaded (conan-center)
        protobuf/3.21.12#2070373d5f1a2606a4491faef9315a73 - Downloaded (conan-center)
        zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Downloaded (conan-center)
    Resolved version ranges
        libcurl/[>=7.78.0 <9]: libcurl/8.8.0
        openssl/[>=1.1 <4]: openssl/3.2.2
        zlib/[>=1.2.11 <2]: zlib/1.3.1
    ERROR: Version conflict: Conflict between boost/1.85.0 and boost/1.84.0 in the graph.
    Conflict originates from thrift/0.17.0
    
    Run 'conan graph info ... --format=html > graph.html' and open 'graph.html' to inspect the conflict graphically.
    
  • opentelemetry-cpp/1.12.0: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.9.1: Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

conan-center-bot avatar Jun 13 '24 10:06 conan-center-bot

Conan v1 pipeline :heavy_check_mark:

All green in build 4 (9a38c61a8fce5c63edf68a251ddbf417093172ee):

  • opentelemetry-cpp/1.14.2: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.12.0: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.9.1: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.8.3: All packages built successfully! (All logs)


Conan v2 pipeline :x:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 4 (9a38c61a8fce5c63edf68a251ddbf417093172ee):

  • opentelemetry-cpp/1.8.3: CI failed to create some packages (All logs)

    Logs for packageID 1c9fcaf22eebd89481e2cb7c73c976a66a30edac:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
        protobuf/3.21.12#2070373d5f1a2606a4491faef9315a73:10670e90b03eb1607902ed190ae2fecdc52d69bb#eff9a8c0282afb8c3fb04152953185c8 - Download (conan-center)
    Skipped binaries
        abseil/20230125.3, autoconf/2.71, automake/1.16.5, b2/5.2.0, bison/3.8.2, bzip2/1.0.8, c-ares/1.19.1, 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.11.1, openssl/3.2.2, 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
    ERROR: Missing binary: grpc/1.54.3:8cc2949c5b31e1cbd41f8dcef63fdab0744e62fa
    
    grpc/1.54.3: WARN: Can't find a 'grpc/1.54.3' package binary '8cc2949c5b31e1cbd41f8dcef63fdab0744e62fa' for the configuration:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    codegen=True
    cpp_plugin=True
    csharp_ext=False
    csharp_plugin=True
    fPIC=True
    node_plugin=True
    objective_c_plugin=True
    php_plugin=True
    python_plugin=True
    ruby_plugin=True
    shared=False
    [requires]
    abseil/20230125.3.Z
    bzip2/1.0.Z
    c-ares/1.19.Z
    libcap/2.69.Z
    libmount/2.39.Z
    libselinux/3.6.Z
    libsystemd/255.0.Z
    libxcrypt/4.4.Z
    lz4/1.9.Z
    openssl/3.2.Z
    pcre2/10.42.Z
    protobuf/3.21.Z
    re2/20230301.0.Z
    xz_utils/5.4.Z
    zlib/1.3.Z
    zstd/1.5.Z
    
    ERROR: Missing prebuilt package for 'grpc/1.54.3'. You can try:
        - List all available packages using 'conan list grpc/1.54.3:* -r=remote'
        - Explain missing binaries: replace 'conan install ...' with 'conan graph explain ...'
        - Try to build locally from sources using the '--build=grpc/1.54.3' argument
    
    More Info at 'https://docs.conan.io/2/knowledge/faq.html#error-missing-prebuilt-package'
    
  • opentelemetry-cpp/1.14.2: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.9.1: Didn't run or was cancelled before finishing

  • opentelemetry-cpp/1.12.0: Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

conan-center-bot avatar Jun 14 '24 17:06 conan-center-bot

We'll probably need to rebuild the missing binary before this can build :)

AbrilRBS avatar Jun 21 '24 08:06 AbrilRBS

Conan v1 pipeline :heavy_check_mark:

All green in build 5 (1be73572c15bf6416ca838b2296063dc2fba0752):

  • opentelemetry-cpp/1.14.2: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.12.0: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.9.1: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.8.3: All packages built successfully! (All logs)


Conan v2 pipeline :heavy_check_mark:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 5 (1be73572c15bf6416ca838b2296063dc2fba0752):

  • opentelemetry-cpp/1.14.2: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.8.3: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.12.0: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.9.1: All packages built successfully! (All logs)

conan-center-bot avatar Jun 21 '24 08:06 conan-center-bot

Conan v1 pipeline :heavy_check_mark:

All green in build 7 (4303d0c0f2853e7a131fc7bd026ec77a8fea56af):

  • opentelemetry-cpp/1.12.0: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.8.3: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.9.1: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.14.2: All packages built successfully! (All logs)


Conan v2 pipeline :heavy_check_mark:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 7 (4303d0c0f2853e7a131fc7bd026ec77a8fea56af):

  • opentelemetry-cpp/1.14.2: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.12.0: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.9.1: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.8.3: All packages built successfully! (All logs)

conan-center-bot avatar Aug 30 '24 07:08 conan-center-bot

~I've appended the option with_stl so the standard can also be explicitly chosen and not only detected. Reason: Our profile defaulted to C++14 but our project where we use this package builds with C++20.~ Revered this, see comments below.

Update: After refining with @cynix the option with_stl is now a boolean (as before) and for fixing the breaking change the CMake variable is set version dependent. Versions previous 1.12: True/False (ON/OFF); New versions: False (OFF) or CXX<std> Also added get_safe("cppstd") check.

@AbrilRBS please review again. @franramirez688 or @jcar87 please also review this PR.

steinerthomas avatar Sep 02 '24 10:09 steinerthomas

I've appended the option with_stl so the standard can also be explicitly chosen and not only detected. Reason: Our profile defaulted to C++14 but our project where we use this package builds with C++20.

Shouldn’t it just use the compiler.cppstd setting (and make sure that’s included in the package ID)? If the package and the project using it are built with different #defines, there could be ODR issues?

cynix avatar Sep 02 '24 10:09 cynix

I've appended the option with_stl so the standard can also be explicitly chosen and not only detected. Reason: Our profile defaulted to C++14 but our project where we use this package builds with C++20.

Shouldn’t it just use the compiler.cppstd setting (and make sure that’s included in the package ID)? If the package and the project using it are built with different #defines, there could be ODR issues?

Our profiles do not specify the cppstd setting (we are building many packages), because most of the time it doesn't matter which standard is used. Specifying the settings would mean that we have to rebuild all our packages AND build them for many different CXX versions...

steinerthomas avatar Sep 02 '24 10:09 steinerthomas

Our profiles do not specify the cppstd setting (we are building many packages), because most of the time it doesn't matter which standard is used. Specifying the settings would mean that we have to rebuild all our packages AND build them for many different CXX versions...

That doesn’t sound right. If the cppstd doesn’t matter for a package, the recipe should delete it from self.info.settings when calculating the package ID so it doesn’t need to be rebuilt for different cppstd settings.

When you don’t specify a cppstd in your profile, presumably Conan is picking some default value based on your compiler or whatever, but that doesn’t mean it’s not specified — the package is still built with a particular cppstd value.

For packages that do care about cppstd, especially this one where you’re exporting a #define that gets applied when building the consumer project (which in turn can affect the contents of headers), I don’t think it’s right to allow the consumer and the package to differ.

Imagine if opentelemetry-cpp contained something like this in a foo.h:

struct Foo
{
    int a;
#if OPENTELEMETRY_STL_VERSION >= 2020
    int b;
#endif
};

void Bar(Foo*);

~~And you build it with cppstd=20, but you build your project with cppstd=17 (or whatever the default is, because “you don’t specify it”), calling Bar() will cause it to access invalid memory.~~ Actually I guess because you’re requiring the option to be set manually, this won’t happen. But still, there’s no good reason for it to differ from cppstd.

cynix avatar Sep 02 '24 11:09 cynix

That doesn’t sound right. If the cppstd doesn’t matter for a package, the recipe should delete it from self.info.settings when calculating the package ID so it doesn’t need to be rebuilt for different cppstd settings.

When you don’t specify a cppstd in your profile, presumably Conan is picking some default value based on your compiler or whatever, but that doesn’t mean it’s not specified — the package is still built with a particular cppstd value.

I think you got me wrong. I know that there is a default value and since now it was ok for us to use the profiles default one. This is now our first library, where we have to specify the cppstd setting, which would mean we have to rebuild everything. Is this really intended?

Actually I guess because you’re requiring the option to be set manually, this won’t happen. But still, there’s no good reason for it to differ from cppstd.

Exactly! This is why I also appended the option for explicitly specifying the CXX standard, not only detecting.

steinerthomas avatar Sep 02 '24 11:09 steinerthomas

Conan v1 pipeline :heavy_check_mark:

All green in build 9 (970dbbe9805383e488fa046083f21d7b1744b843):

  • opentelemetry-cpp/1.12.0: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.14.2: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.9.1: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.8.3: All packages built successfully! (All logs)


Conan v2 pipeline :heavy_check_mark:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 9 (970dbbe9805383e488fa046083f21d7b1744b843):

  • opentelemetry-cpp/1.12.0: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.9.1: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.14.2: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.8.3: All packages built successfully! (All logs)

conan-center-bot avatar Sep 02 '24 11:09 conan-center-bot

I think you got me wrong. I know that there is a default value and since now it was ok for us to use the profiles default one. This is now our first library, where we have to specify the cppstd setting, which would mean we have to rebuild everything. Is this really intended?

But why would you not use the default cppstd for this package too?

It still doesn’t feel like a good idea to allow packages built with different cppstd settings to be mixed.

Exactly! This is why I also appended the option for explicitly specifying the CXX standard, not only detecting.

I don’t get why you’d ever set this option to a value that’s not the same as your cppstd setting, but I suppose you have your reasons. However, shouldn’t the default for this option be the same as the cppstd setting, for people who don’t need/want them to be different? That is surely the more common use case.

cynix avatar Sep 02 '24 12:09 cynix

I think you got me wrong. I know that there is a default value and since now it was ok for us to use the profiles default one. This is now our first library, where we have to specify the cppstd setting, which would mean we have to rebuild everything. Is this really intended?

But why would you not use the default cppstd for this package too?

It still doesn’t feel like a good idea to allow packages built with different cppstd settings to be mixed.

Exactly! This is why I also appended the option for explicitly specifying the CXX standard, not only detecting.

I don’t get why you’d ever set this option to a value that’s not the same as your cppstd setting, but I suppose you have your reasons. However, shouldn’t the default for this option be the same as the cppstd setting, for people who don’t need/want them to be different? That is surely the more common use case.

Sorry for the confusion you are right, it was just the missing definition OPENTELEMETRY_STL_VERSION which caused our problem. I revered the previous commit, thanks for your review!

steinerthomas avatar Sep 02 '24 13:09 steinerthomas

Sorry for the confusion you are right, it was just the missing definition OPENTELEMETRY_STL_VERSION which caused our problem. I revered the previous commit, thanks for your review!

Seems I can’t “unresolve” a code comment. Please see an additional reply here: https://github.com/conan-io/conan-center-index/pull/24230/files#r1740952937

cynix avatar Sep 02 '24 13:09 cynix

Conan v1 pipeline :heavy_check_mark:

All green in build 12 (5db13dba281961145cb8b94c7f3e4f7b6fb7a774):

  • opentelemetry-cpp/1.12.0: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.14.2: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.9.1: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.8.3: All packages built successfully! (All logs)


Conan v2 pipeline :heavy_check_mark:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 12 (5db13dba281961145cb8b94c7f3e4f7b6fb7a774):

  • opentelemetry-cpp/1.14.2: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.9.1: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.12.0: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.8.3: All packages built successfully! (All logs)

conan-center-bot avatar Sep 02 '24 14:09 conan-center-bot

Conan v1 pipeline :x:

Failure in build 13 (9a8202ae07541db373ae2f0384a1940d4ec963e0):

  • opentelemetry-cpp/1.9.1: Error running command conan export recipes/opentelemetry-cpp/all/conanfile.py opentelemetry-cpp/1.9.1@:

    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "/opt/pyenv/versions/3.7.17/lib/python3.7/imp.py", line 171, in load_source
        module = _load(spec)
      File "<frozen importlib._bootstrap>", line 696, in _load
      File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    
  • opentelemetry-cpp/1.12.0: Error running command conan export recipes/opentelemetry-cpp/all/conanfile.py opentelemetry-cpp/1.12.0@:

    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "/opt/pyenv/versions/3.7.17/lib/python3.7/imp.py", line 171, in load_source
        module = _load(spec)
      File "<frozen importlib._bootstrap>", line 696, in _load
      File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    
  • opentelemetry-cpp/1.8.3: Error running command conan export recipes/opentelemetry-cpp/all/conanfile.py opentelemetry-cpp/1.8.3@:

    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "/opt/pyenv/versions/3.7.17/lib/python3.7/imp.py", line 171, in load_source
        module = _load(spec)
      File "<frozen importlib._bootstrap>", line 696, in _load
      File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    
  • opentelemetry-cpp/1.14.2: Error running command conan export recipes/opentelemetry-cpp/all/conanfile.py opentelemetry-cpp/1.14.2@:

    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "/opt/pyenv/versions/3.7.17/lib/python3.7/imp.py", line 171, in load_source
        module = _load(spec)
      File "<frozen importlib._bootstrap>", line 696, in _load
      File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline :x:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 13 (9a8202ae07541db373ae2f0384a1940d4ec963e0):

  • opentelemetry-cpp/1.14.2: Error running command conan export --name opentelemetry-cpp --version 1.14.2 recipes/opentelemetry-cpp/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    
  • opentelemetry-cpp/1.12.0: Error running command conan export --name opentelemetry-cpp --version 1.12.0 recipes/opentelemetry-cpp/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    
  • opentelemetry-cpp/1.9.1: Error running command conan export --name opentelemetry-cpp --version 1.9.1 recipes/opentelemetry-cpp/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    
  • opentelemetry-cpp/1.8.3: Error running command conan export --name opentelemetry-cpp --version 1.8.3 recipes/opentelemetry-cpp/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

conan-center-bot avatar Sep 07 '24 08:09 conan-center-bot

Conan v1 pipeline :x:

Failure in build 14 (3284014eeeaa0890913b777b94dfbf5b822e3637):

  • opentelemetry-cpp/1.14.2: Error running command conan export recipes/opentelemetry-cpp/all/conanfile.py opentelemetry-cpp/1.14.2@:

    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "/opt/pyenv/versions/3.7.17/lib/python3.7/imp.py", line 171, in load_source
        module = _load(spec)
      File "<frozen importlib._bootstrap>", line 696, in _load
      File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    
  • opentelemetry-cpp/1.12.0: Error running command conan export recipes/opentelemetry-cpp/all/conanfile.py opentelemetry-cpp/1.12.0@:

    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "/opt/pyenv/versions/3.7.17/lib/python3.7/imp.py", line 171, in load_source
        module = _load(spec)
      File "<frozen importlib._bootstrap>", line 696, in _load
      File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    
  • opentelemetry-cpp/1.8.3: Error running command conan export recipes/opentelemetry-cpp/all/conanfile.py opentelemetry-cpp/1.8.3@:

    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "/opt/pyenv/versions/3.7.17/lib/python3.7/imp.py", line 171, in load_source
        module = _load(spec)
      File "<frozen importlib._bootstrap>", line 696, in _load
      File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    
  • opentelemetry-cpp/1.9.1: Error running command conan export recipes/opentelemetry-cpp/all/conanfile.py opentelemetry-cpp/1.9.1@:

    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "/opt/pyenv/versions/3.7.17/lib/python3.7/imp.py", line 171, in load_source
        module = _load(spec)
      File "<frozen importlib._bootstrap>", line 696, in _load
      File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v1_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline :x:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 14 (3284014eeeaa0890913b777b94dfbf5b822e3637):

  • opentelemetry-cpp/1.14.2: Error running command conan export --name opentelemetry-cpp --version 1.14.2 recipes/opentelemetry-cpp/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    
  • opentelemetry-cpp/1.9.1: Error running command conan export --name opentelemetry-cpp --version 1.9.1 recipes/opentelemetry-cpp/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    
  • opentelemetry-cpp/1.12.0: Error running command conan export --name opentelemetry-cpp --version 1.12.0 recipes/opentelemetry-cpp/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    
  • opentelemetry-cpp/1.8.3: Error running command conan export --name opentelemetry-cpp --version 1.8.3 recipes/opentelemetry-cpp/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py': Unable to load conanfile in /home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 724, in exec_module
      File "<frozen importlib._bootstrap_external>", line 860, in get_code
      File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/workspace/prod-v2_cci_PR-24230/recipes/opentelemetry-cpp/all/conanfile.py", line 78
        else:
            ^
    IndentationError: unindent does not match any outer indentation level
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

conan-center-bot avatar Sep 07 '24 08:09 conan-center-bot

Conan v1 pipeline :heavy_check_mark:

All green in build 15 (bd657ad81cece296bda4e58c3689f228ea9bb20b):

  • opentelemetry-cpp/1.14.2: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.12.0: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.9.1: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.8.3: All packages built successfully! (All logs)


Conan v2 pipeline :heavy_check_mark:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 15 (bd657ad81cece296bda4e58c3689f228ea9bb20b):

  • opentelemetry-cpp/1.14.2: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.9.1: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.8.3: All packages built successfully! (All logs)

  • opentelemetry-cpp/1.12.0: All packages built successfully! (All logs)

conan-center-bot avatar Sep 07 '24 09:09 conan-center-bot

@steinerthomas could you check if the current approach works for you? I've simplified the approach as now we don't have to support Conan 1 anymore

AbrilRBS avatar Nov 07 '24 21:11 AbrilRBS

Bear in mind that the original issue is to support Conan 1x https://github.com/conan-io/conan-center-index/issues/24229 but as of this week it is no longer supported

jcar87 avatar Nov 08 '24 11:11 jcar87

Yay! This finally passes, and I can confirm that it also compiles on Macos. Seeing this, I'll revert some changes to be able to merge the fixes for with_stl=True, thanks again a lot for your patience and taking the time to push this PR to the finish line @steinerthomas, we appreciate it :)

AbrilRBS avatar Nov 20 '24 11:11 AbrilRBS

In fact, seems like we need a newer compiler in case of with_stl=True, as seen in https://c3i.jfrog.io/artifactory/cci-build-logs/cci/prod/PR-24230/11/package_build_logs/build_log_opentelemetry-cpp_1_17_0_e4a27418867a8a563233363e2c102cd1_0a22d92ade802089eff409be2e737bce98bbc7b3.txt

AbrilRBS avatar Nov 20 '24 13:11 AbrilRBS

@steinerthomas could you check if the current approach works for you? I've simplified the approach as now we don't have to support Conan 1 anymore

@AbrilRBS looks good to me. I can't test this right now in production, because we still use conan 1. But I hope we can switch to conan 2 soon.

steinerthomas avatar Nov 20 '24 17:11 steinerthomas

Bear in mind that the original issue is to support Conan 1x #24229 but as of this week it is no longer supported

It seems that with conan2 it's mandatory to specify the compiler.cppstd.

@jcar87 / @AbrilRBS Is this correct? Where can I find this in the docs?

steinerthomas avatar Feb 10 '25 09:02 steinerthomas

Bear in mind that the original issue is to support Conan 1x #24229 but as of this week it is no longer supported

It seems that with conan2 it's mandatory to specify the compiler.cppstd.

@jcar87 / @AbrilRBS Is this correct? Where can I find this in the docs?

Hi @steinerthomas. Conan 2 autodetected profiles will set compiler.cppstd, and in Conan Center we assume that they follow this practice and are set. Outside of Conan Center, irrespective of the version of Conan, I'd say no setting is really mandatory - they're an arbitrary convention.

jcar87 avatar Feb 10 '25 12:02 jcar87

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 14 '25 06:06 github-actions[bot]

We ran into this same issue (OPENTELEMETRY_STL_VERSION not being set with the current recipe). Any chance of getting this merged?

chausner avatar Jul 10 '25 13:07 chausner

We ran into this same issue (OPENTELEMETRY_STL_VERSION not being set with the current recipe). Any chance of getting this merged?

I resolved the merge conflict. Please review.

steinerthomas avatar Jul 16 '25 09:07 steinerthomas