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

opentdf-client: use version range for libxml2

Open mayeut opened this issue 10 months ago • 3 comments

Specify library name and version: opentdf-client/all

libxml2<2.12.5 has known security issues. We can now use version range: c.f. https://github.com/conan-io/conan-center-index/issues/23277


mayeut avatar Apr 20 '24 12:04 mayeut

Conan v1 pipeline :x:

Failure in build 1 (797fb7839834e766bb50e2da6667cbd1f8b572fc):

  • opentdf-client/1.5.0: CI failed to create some packages (All logs)

    Logs for packageID d64460adfbfdc686cace971331cb99a9f2d099e7:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=9
    os=Linux
    [options]
    opentdf-client:shared=False
    
    [...]
    nlohmann_json/3.11.3: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    nlohmann_json/3.11.3: Downloaded package revision 570207c0cf4a2d9790a6f36ab5e3f077
    picojson/1.3.0: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    picojson/1.3.0: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    picojson/1.3.0: Downloaded package revision fc972284f2a54b325dccac84b87037fb
    zlib/1.3.1: Retrieving package 6af9cc7cb931c5ad942174fd7838eb655717c709 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    zlib/1.3.1: Package installed 6af9cc7cb931c5ad942174fd7838eb655717c709
    zlib/1.3.1: Downloaded package revision 272bdcb545ca833137ccf5573efe380f
    boost/1.83.0: Retrieving package ca891ed5c8e67ebb3e46639c100abdbca6d8b11e from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    boost/1.83.0: Package installed ca891ed5c8e67ebb3e46639c100abdbca6d8b11e
    boost/1.83.0: Downloaded package revision b7b85a48b6fa0b380618c4c26d9e5bc9
    libxml2/2.12.6: Retrieving package 371f3b15f11119eb0c156abfa7ff74c119259050 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    libxml2/2.12.6: Package installed 371f3b15f11119eb0c156abfa7ff74c119259050
    libxml2/2.12.6: Downloaded package revision 0b4626081667ae588d82f9743c9abd93
    openssl/3.2.1: Retrieving package 3b92fb92d86b5880d7fcd3124cd3e37e04f7e25f from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    openssl/3.2.1: Package installed 3b92fb92d86b5880d7fcd3124cd3e37e04f7e25f
    openssl/3.2.1: Downloaded package revision fb225b1a5cae7bae28dc232a6a3f9751
    jwt-cpp/0.4.0: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    jwt-cpp/0.4.0: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    jwt-cpp/0.4.0: Downloaded package revision 74a4a43db6ffe350f64d464e96a1d944
    libxml2/2.12.6: Appending PATH environment variable: /home/conan/workspace/prod-v1/bsr/27910/edabd/.conan/data/libxml2/2.12.6/_/_/package/371f3b15f11119eb0c156abfa7ff74c119259050/bin
    [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK
    opentdf-client/1.5.0: Configuring sources in /home/conan/workspace/prod-v1/bsr/27910/edabd/.conan/data/opentdf-client/1.5.0/_/_/source/src
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    WARN: openssl/3.2.1: requirement zlib/[>=1.2.11 <2] overridden by opentdf-client/1.5.0 to zlib/1.3.1 
    WARN: jwt-cpp/0.4.0: requirement openssl/[>=1.1 <4] overridden by opentdf-client/1.5.0 to openssl/3.2.1 
    WARN: boost/1.83.0: requirement zlib/[>=1.2.11 <2] overridden by opentdf-client/1.5.0 to zlib/1.3.1 
    WARN: libxml2/2.12.6: requirement zlib/[>=1.2.11 <2] overridden by opentdf-client/1.5.0 to zlib/1.3.1 
    ERROR: opentdf-client/1.5.0: Error in source() method, line 101
    	get(self, **self.conan_data["sources"][self.version], strip_root=True)
    	KeyError: 'sources'
    
  • opentdf-client/1.3.10: Didn't run or was cancelled before finishing

  • opentdf-client/1.5.6: Didn't run or was cancelled before finishing

  • opentdf-client/1.5.4: Didn't run or was cancelled before finishing

  • opentdf-client/1.5.3: Didn't run or was cancelled before finishing

  • opentdf-client/1.4.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 :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 (797fb7839834e766bb50e2da6667cbd1f8b572fc):

  • opentdf-client/1.5.6: Didn't run or was cancelled before finishing

  • opentdf-client/1.4.0: Didn't run or was cancelled before finishing

  • opentdf-client/1.5.0: CI failed to create some packages (All logs)

    Logs for packageID 2f890673878dcbb425a2bff49dcf9bc88570f364:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
    Build requirements
    Skipped binaries
        b2/4.10.1, meson/1.2.2, ninja/1.11.1, pkgconf/2.1.0
    
    ======== Installing packages ========
    
    -------- Downloading 12 packages --------
    bzip2/1.0.8: Retrieving package 763ddd53d7a4775fe84a285f56005a096d9786fd from remote 'conan-center' 
    bzip2/1.0.8: Package installed 763ddd53d7a4775fe84a285f56005a096d9786fd
    bzip2/1.0.8: Downloaded package revision 53f22895547ac66130effcf590404b46
    libbacktrace/cci.20210118: Retrieving package b647c43bfefae3f830561ca202b6cfd935b56205 from remote 'conan-center' 
    libbacktrace/cci.20210118: Package installed b647c43bfefae3f830561ca202b6cfd935b56205
    libbacktrace/cci.20210118: Downloaded package revision af5aa1daf14bcf7e7254f15d75e8ab44
    libiconv/1.17: Retrieving package b647c43bfefae3f830561ca202b6cfd935b56205 from remote 'conan-center' 
    libiconv/1.17: Package installed b647c43bfefae3f830561ca202b6cfd935b56205
    libiconv/1.17: Downloaded package revision 4fd44fefea7c20a6b0f1826c2b875a8c
    magic_enum/0.8.2: Retrieving package da39a3ee5e6b4b0d3255bfef95601890afd80709 from remote 'conan-center' 
    magic_enum/0.8.2: Package installed da39a3ee5e6b4b0d3255bfef95601890afd80709
    magic_enum/0.8.2: Downloaded package revision 333126e22e70e6cffa0020b9b419569e
    ms-gsl/2.1.0: Retrieving package da39a3ee5e6b4b0d3255bfef95601890afd80709 from remote 'conan-center' 
    ms-gsl/2.1.0: Package installed da39a3ee5e6b4b0d3255bfef95601890afd80709
    ms-gsl/2.1.0: Downloaded package revision cb9b0a34b59602008ad52b347fa55094
    nlohmann_json/3.11.3: Retrieving package da39a3ee5e6b4b0d3255bfef95601890afd80709 from remote 'conan-center' 
    nlohmann_json/3.11.3: Package installed da39a3ee5e6b4b0d3255bfef95601890afd80709
    nlohmann_json/3.11.3: Downloaded package revision 552828a2560333bcbeff9d087ce0af0f
    picojson/1.3.0: Retrieving package da39a3ee5e6b4b0d3255bfef95601890afd80709 from remote 'conan-center' 
    picojson/1.3.0: Package installed da39a3ee5e6b4b0d3255bfef95601890afd80709
    picojson/1.3.0: Downloaded package revision 1a62be08d5d14254cd8a5e3667726d7a
    zlib/1.3.1: Retrieving package b647c43bfefae3f830561ca202b6cfd935b56205 from remote 'conan-center' 
    zlib/1.3.1: Package installed b647c43bfefae3f830561ca202b6cfd935b56205
    zlib/1.3.1: Downloaded package revision 6b307bbcbae23635c4006543ffdbf3ef
    boost/1.83.0: Retrieving package bd134fe1c1cdd81f5e2cd74f387c541ed18d0bdf from remote 'conan-center' 
    boost/1.83.0: Downloading 22.0MB conan_package.tgz
    boost/1.83.0: Decompressing 22.0MB conan_package.tgz
    boost/1.83.0: Package installed bd134fe1c1cdd81f5e2cd74f387c541ed18d0bdf
    boost/1.83.0: Downloaded package revision e51220cc33069eb0acd5947cb6bddda4
    openssl/3.2.1: Retrieving package ba0c965640dfc9185194d683d05bfbe6419b47a3 from remote 'conan-center' 
    openssl/3.2.1: Package installed ba0c965640dfc9185194d683d05bfbe6419b47a3
    openssl/3.2.1: Downloaded package revision d1726bfc4b66d9392fb7e73a90ed3d9c
    libxml2/2.12.6: Retrieving package 835058a17375647fa8abeb3ed1b1faf0ef8f504f from remote 'conan-center' 
    libxml2/2.12.6: Package installed 835058a17375647fa8abeb3ed1b1faf0ef8f504f
    libxml2/2.12.6: Downloaded package revision e4d21c808bf88abb81e4f1fed30a41fd
    jwt-cpp/0.4.0: Retrieving package da39a3ee5e6b4b0d3255bfef95601890afd80709 from remote 'conan-center' 
    jwt-cpp/0.4.0: Package installed da39a3ee5e6b4b0d3255bfef95601890afd80709
    jwt-cpp/0.4.0: Downloaded package revision 8117f208752cfa00a41443e06edf5a91
    libxml2/2.12.6: Appending PATH environment variable: /home/conan/workspace/prod-v2/bsr/24856/acfef/p/libxm6ac9ae515615e/p/bin
    opentdf-client/1.5.0: Calling source() in /home/conan/workspace/prod-v2/bsr/24856/acfef/p/opent19e2b34ce8e23/s/src
    ERROR: opentdf-client/1.5.0: Error in source() method, line 101
    	get(self, **self.conan_data["sources"][self.version], strip_root=True)
    	KeyError: 'sources'
    
  • opentdf-client/1.3.10: Didn't run or was cancelled before finishing

  • opentdf-client/1.5.4: Didn't run or was cancelled before finishing

  • opentdf-client/1.5.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-center-bot avatar Apr 20 '24 12:04 conan-center-bot

Conan v1 pipeline :heavy_check_mark:

All green in build 2 (b2551c99821c1dd50d8d57068c8870c4e5016cb4):

  • opentdf-client/1.5.6: All packages built successfully! (All logs)

  • opentdf-client/1.5.3: All packages built successfully! (All logs)

  • opentdf-client/1.5.4: All packages built successfully! (All logs)

  • opentdf-client/1.4.0: All packages built successfully! (All logs)

  • opentdf-client/1.3.10: 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 2 (b2551c99821c1dd50d8d57068c8870c4e5016cb4):

  • opentdf-client/1.5.6: All packages built successfully! (All logs)

  • opentdf-client/1.5.4: All packages built successfully! (All logs)

  • opentdf-client/1.5.3: All packages built successfully! (All logs)

  • opentdf-client/1.4.0: All packages built successfully! (All logs)

  • opentdf-client/1.3.10: All packages built successfully! (All logs)

conan-center-bot avatar Apr 20 '24 13:04 conan-center-bot

Conan v1 pipeline :heavy_check_mark:

All green in build 5 (5813242f0c2dcb3251a2de6a33bedcbd7b453f47):

  • opentdf-client/1.5.4: All packages built successfully! (All logs)

  • opentdf-client/1.5.6: All packages built successfully! (All logs)

  • opentdf-client/1.5.3: All packages built successfully! (All logs)

  • opentdf-client/1.3.10: All packages built successfully! (All logs)

  • opentdf-client/1.4.0: 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 (5813242f0c2dcb3251a2de6a33bedcbd7b453f47):

  • opentdf-client/1.5.4: All packages built successfully! (All logs)

  • opentdf-client/1.5.6: All packages built successfully! (All logs)

  • opentdf-client/1.5.3: All packages built successfully! (All logs)

  • opentdf-client/1.3.10: All packages built successfully! (All logs)

  • opentdf-client/1.4.0: All packages built successfully! (All logs)

conan-center-bot avatar May 05 '24 12:05 conan-center-bot

We're still waiting for the maintainers of opentdf to comment on: https://github.com/opentdf/client-cpp/pull/140. Looks like there's recent activity in https://github.com/opentdf/client-cpp/pull/146

jcar87 avatar Jun 14 '24 16:06 jcar87