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

opentelemetry-cpp: add 1.13.0 #22617

Closed
wants to merge 3 commits into from

Conversation

Cogitri
Copy link
Contributor

@Cogitri Cogitri commented Feb 1, 2024

Also fix various issues in the current recipe:

  • Pass the concrete STL-CPPSTD version to opentelemetry-cpp's WITH_STL. That way opentelemetry-cpp doesn't guess the version to use. Also define OPENTELEMETRY_STL_VERSION, since a mismatch of that and the used cppstd leads to a crash.
  • Don't patch opentelemetry-proto's path when we can use OTELCPP_PROTO_PATH
  • with_otlp_http also needs opentelemetry-proto and protobuf

@conan-center-bot

This comment has been minimized.

@conan-center-bot conan-center-bot removed the Version conflict There is a version conflict when solving the dependencies graph label Feb 1, 2024
@conan-center-bot

This comment has been minimized.

Also fix various issues in the current recipe:

* Pass the concrete STL-CPPSTD version to opentelemetry-cpp's WITH_STL.
  That way opentelemetry-cpp doesn't guess the version to use. Also
  define OPENTELEMETRY_STL_VERSION, since a mismatch of that
  and the used cppstd leads to a crash.
* Don't patch opentelemetry-proto's path when we can use OTELCPP_PROTO_PATH
* with_otlp_http also needs opentelemetry-proto and protobuf
@conan-center-bot conan-center-bot added Missing dependencies Build failed due missing dependencies in Conan Center Version conflict There is a version conflict when solving the dependencies graph labels Feb 1, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot conan-center-bot removed the Missing dependencies Build failed due missing dependencies in Conan Center label Feb 2, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 6 (332ed9fabb316ffc35705ca2d05438b0c2fee9e4):

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

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

    Logs for packageID dd186eb2eacf2997b1c45c63f262f459d7038a56:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    opentelemetry-cpp:shared=False
    
    [...]
      trace_id      : 6c7c114a91344365938317e46ac3ded5
      span_id       : cfa6ddfca756eae0
      tracestate    : 
      parent_span_id: 0000000000000000
      start         : 1707126497710182889
      duration      : 771
      description   : 
      span kind     : Internal
      status        : Unset
      attributes    : 
    	my.attribute: 123
      events        : 
      links         : 
      resources     : 
    	service.name: unknown_service
    	telemetry.sdk.version: 1.12.0
    	telemetry.sdk.language: cpp
    	telemetry.sdk.name: opentelemetry
      instr-lib     : simple
    }
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_EXPORT_NO_PACKAGE_REGISTRY
        CMAKE_INSTALL_BINDIR
        CMAKE_INSTALL_DATAROOTDIR
        CMAKE_INSTALL_INCLUDEDIR
        CMAKE_INSTALL_LIBDIR
        CMAKE_INSTALL_LIBEXECDIR
        CMAKE_INSTALL_OLDINCLUDEDIR
        CMAKE_INSTALL_SBINDIR
    
    
    WARN: grpc/1.54.3: requirement openssl/[>=1.1 <4] overridden by opentelemetry-cpp/1.12.0 to openssl/3.2.1 
    WARN: openssl/3.2.1: 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.6.0: requirement openssl/[>=1.1 <4] overridden by opentelemetry-cpp/1.12.0 to openssl/3.2.1 
    opentelemetry-cpp/1.12.0 (test package): WARN: 
         ************************************************
         The 'cmake_find_package_multi' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    opentelemetry-cpp/1.12.0 (test package): WARN: 
         ************************************************
         The 'cmake' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    opentelemetry-cpp/1.12.0 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. ****
    
  • opentelemetry-cpp/1.13.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.7.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 v2 pipeline ❌

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 6 (332ed9fabb316ffc35705ca2d05438b0c2fee9e4):

  • opentelemetry-cpp/1.8.3:
    Error running command conan graph info --requires opentelemetry-cpp/1.8.3@#5a59c74c470f8ba2ffaef9ca926f04c3 -f json -pr:h /home/conan/w/prod-v2/bsr/85417/feafa/profile_linux_11_libstdcpp11_17_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2/bsr/85417/feafa/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 b2a1499b409f9eb425596b5aa147a23f
    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 ff413e7c6d81724e872661875af83e68
    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 af8f2ef3d8e0fddf1975281d7fe43bf6
    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.1: Not found in local cache, looking in remotes...
    openssl/3.2.1: Checking remote: conan-center
    openssl/3.2.1: Downloaded recipe revision ff3c0b15c72c3be49969acdf20ee345d
    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 86fe3f4eeda8a3d5a0752c8d54210a57
    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 53be95d228b2dcb30dc199cb84262d8f
    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 74a354d74d291503aadffe6453d976f5
    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 aace9dcc1db58fa42ecb5292f724092d
    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 a26a2d42ab9c3dabc151bbe1bf898e53
    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 b87dc3b185caa4b122979ac4ae8ef7e8
    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 83e9030e0cb3418759e72d3631213a5a
    gperf/3.1: Not found in local cache, looking in remotes...
    gperf/3.1: Checking remote: conan-center
    gperf/3.1: Downloaded recipe revision a9335f8833b550f10f655fd243c72978
    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.2: Not found in local cache, looking in remotes...
    nlohmann_json/3.11.2: Checking remote: conan-center
    nlohmann_json/3.11.2: Downloaded recipe revision 1ded6ae5d200a68ac17c51d528b945e2
    libcurl/8.6.0: Not found in local cache, looking in remotes...
    libcurl/8.6.0: Checking remote: conan-center
    libcurl/8.6.0: Downloaded recipe revision ff220b1555b8aebbb78440b25d471217
    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 fba5a235281b213989a7e7feab0c5ebf
    Graph root
        cli
    Requirements
        abseil/20230125.3#b2a1499b409f9eb425596b5aa147a23f - 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.6.0#ff220b1555b8aebbb78440b25d471217 - Downloaded (conan-center)
        libmount/2.39.2#86fe3f4eeda8a3d5a0752c8d54210a57 - 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.2#1ded6ae5d200a68ac17c51d528b945e2 - Downloaded (conan-center)
        openssl/3.2.1#ff3c0b15c72c3be49969acdf20ee345d - Downloaded (conan-center)
        opentelemetry-cpp/1.8.3#5a59c74c470f8ba2ffaef9ca926f04c3 - Cache
        pcre2/10.42#74a354d74d291503aadffe6453d976f5 - Downloaded (conan-center)
        protobuf/3.21.12#ff413e7c6d81724e872661875af83e68 - Downloaded (conan-center)
        re2/20230301#4482314b6488e5d71e9944f5bedb730d - Downloaded (conan-center)
        thrift/0.17.0#fba5a235281b213989a7e7feab0c5ebf - Downloaded (conan-center)
        xz_utils/5.4.5#a26a2d42ab9c3dabc151bbe1bf898e53 - Downloaded (conan-center)
        zlib/1.3.1#af8f2ef3d8e0fddf1975281d7fe43bf6 - Downloaded (conan-center)
        zstd/1.5.5#b87dc3b185caa4b122979ac4ae8ef7e8 - Downloaded (conan-center)
    Build requirements
        autoconf/2.71#53be95d228b2dcb30dc199cb84262d8f - 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#a9335f8833b550f10f655fd243c72978 - Downloaded (conan-center)
        libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Downloaded (conan-center)
        m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Downloaded (conan-center)
        meson/1.2.2#aace9dcc1db58fa42ecb5292f724092d - Downloaded (conan-center)
        meson/1.3.0#83e9030e0cb3418759e72d3631213a5a - 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#ff413e7c6d81724e872661875af83e68 - Downloaded (conan-center)
        zlib/1.3.1#af8f2ef3d8e0fddf1975281d7fe43bf6 - Downloaded (conan-center)
    Resolved version ranges
        libcurl/[>=7.78.0 <9]: libcurl/8.6.0
        openssl/[>=1.1 <4]: openssl/3.2.1
        zlib/[>=1.2.11 <2]: zlib/1.3.1
    Graph error
        Version conflict: thrift/0.17.0->boost/1.84.0, opentelemetry-cpp/1.8.3->boost/1.82.0.
    ERROR: Version conflict: thrift/0.17.0->boost/1.84.0, opentelemetry-cpp/1.8.3->boost/1.82.0.
    
  • opentelemetry-cpp/1.12.0:
    Didn't run or was cancelled before finishing

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

  • opentelemetry-cpp/1.13.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.

@AbrilRBS AbrilRBS self-assigned this Mar 5, 2024
@ghost ghost mentioned this pull request Apr 9, 2024
3 tasks
@ghost ghost mentioned this pull request Apr 22, 2024
3 tasks
toge added a commit to toge/conan-center-index that referenced this pull request Apr 24, 2024
@Cogitri Cogitri closed this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Failed Version conflict There is a version conflict when solving the dependencies graph
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants