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

libavrocpp: add version 1.11.3, compatibility conan v2

Open glywk opened this issue 1 year ago • 11 comments
trafficstars

Summary

Changes to recipe: libavrocpp/1.11.3

Motivation

Add release 1.11.3, bug fix, Conan v2

Details

  • Add release libavroccp/1.11.3
  • Fix conan v2 compatibility
  • Fix minimum c++14 requirement with some components of boost > 1.81.0

  • [ x ] Read the contributing guidelines
  • [ x ] Checked that this PR is not a duplicate: #19911 , #22320 (https://github.com/conan-io/conan-center-index/discussions/24240)
  • [ x ] Tested locally with at least one configuration using a recent version of Conan

glywk avatar Jun 22 '24 21:06 glywk

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 22 '24 21:06 CLAassistant

Conan v1 pipeline :x:

Sorry, the build is only launched for Access Request users. You can request access writing in this issue.

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.

Sorry, the build is only launched for Access Request users. You can request access writing in this issue.

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

Conan v1 pipeline :x:

Failure in build 2 (9edbb7abcbc244d10a9548c5b5803137b2ec9b86):

  • libavrocpp/1.11.1: Didn't run or was cancelled before finishing

  • libavrocpp/1.10.1: Didn't run or was cancelled before finishing

  • libavrocpp/1.11.0: Didn't run or was cancelled before finishing

  • libavrocpp/1.11.3: CI failed to create some packages (All logs)

    Logs for packageID ef80192dcc5cd52399c363f2ac06611691b74688:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    libavrocpp:shared=False
    
    [...]
    [ 71%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/parsing/ResolvingDecoder.cc.o
    [ 73%] Building CXX object CMakeFiles/avrocpp_s.dir/impl/json/JsonIO.cc.o
    CMakeFiles/avrocpp_s.dir/build.make:341: recipe for target 'CMakeFiles/avrocpp_s.dir/impl/json/JsonIO.cc.o' failed
    CMakeFiles/avrocpp_s.dir/build.make:315: recipe for target 'CMakeFiles/avrocpp_s.dir/impl/parsing/JsonCodec.cc.o' failed
    CMakeFiles/Makefile2:332: recipe for target 'CMakeFiles/avrocpp_s.dir/all' failed
    Makefile:181: recipe for target 'all' failed
    libavrocpp/1.11.3: 
    Enabled snappy codec
    In file included from /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/boost/1.85.0/_/_/package/0accba4996157432598d4f32cbb16eeb9e43bbb2/include/boost/math/tools/real_cast.hpp:9:0,
                     from /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/boost/1.85.0/_/_/package/0accba4996157432598d4f32cbb16eeb9e43bbb2/include/boost/math/special_functions/fpclassify.hpp:17,
                     from /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/libavrocpp/1.11.3/_/_/build/ef80192dcc5cd52399c363f2ac06611691b74688/src/lang/c++/impl/parsing/JsonCodec.cc:20:
    /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/boost/1.85.0/_/_/package/0accba4996157432598d4f32cbb16eeb9e43bbb2/include/boost/math/tools/config.hpp:26:6: error: #warning "Boost.Math requires C++14" [-Werror=cpp]
     #    warning "Boost.Math requires C++14"
          ^~~~~~~
    cc1plus: all warnings being treated as errors
    make[2]: *** [CMakeFiles/avrocpp.dir/impl/parsing/JsonCodec.cc.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    In file included from /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/boost/1.85.0/_/_/package/0accba4996157432598d4f32cbb16eeb9e43bbb2/include/boost/math/tools/real_cast.hpp:9:0,
                     from /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/boost/1.85.0/_/_/package/0accba4996157432598d4f32cbb16eeb9e43bbb2/include/boost/math/special_functions/fpclassify.hpp:17,
                     from /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/libavrocpp/1.11.3/_/_/build/ef80192dcc5cd52399c363f2ac06611691b74688/src/lang/c++/impl/parsing/JsonCodec.cc:20:
    /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/boost/1.85.0/_/_/package/0accba4996157432598d4f32cbb16eeb9e43bbb2/include/boost/math/tools/config.hpp:26:6: error: #warning is a GCC extension [-Werror]
     #    warning "Boost.Math requires C++14"
          ^~~~~~~
    /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/boost/1.85.0/_/_/package/0accba4996157432598d4f32cbb16eeb9e43bbb2/include/boost/math/tools/config.hpp:26:6: error: #warning "Boost.Math requires C++14" [-Werror=cpp]
    make[1]: *** [CMakeFiles/avrocpp.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    In file included from /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/boost/1.85.0/_/_/package/0accba4996157432598d4f32cbb16eeb9e43bbb2/include/boost/math/tools/real_cast.hpp:9:0,
                     from /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/boost/1.85.0/_/_/package/0accba4996157432598d4f32cbb16eeb9e43bbb2/include/boost/math/special_functions/fpclassify.hpp:17,
                     from /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/libavrocpp/1.11.3/_/_/build/ef80192dcc5cd52399c363f2ac06611691b74688/src/lang/c++/impl/json/JsonIO.hh:23,
                     from /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/libavrocpp/1.11.3/_/_/build/ef80192dcc5cd52399c363f2ac06611691b74688/src/lang/c++/impl/json/JsonIO.cc:19:
    /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/boost/1.85.0/_/_/package/0accba4996157432598d4f32cbb16eeb9e43bbb2/include/boost/math/tools/config.hpp:26:6: error: #warning is a GCC extension [-Werror]
     #    warning "Boost.Math requires C++14"
          ^~~~~~~
    /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/boost/1.85.0/_/_/package/0accba4996157432598d4f32cbb16eeb9e43bbb2/include/boost/math/tools/config.hpp:26:6: error: #warning "Boost.Math requires C++14" [-Werror=cpp]
    cc1plus: all warnings being treated as errors
    make[2]: *** [CMakeFiles/avrocpp_s.dir/impl/json/JsonIO.cc.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    cc1plus: all warnings being treated as errors
    make[2]: *** [CMakeFiles/avrocpp_s.dir/impl/parsing/JsonCodec.cc.o] Error 1
    make[1]: *** [CMakeFiles/avrocpp_s.dir/all] Error 2
    make: *** [all] Error 2
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    libavrocpp/1.11.3: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    libavrocpp/1.11.3: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    libavrocpp/1.11.3: ERROR: Package 'ef80192dcc5cd52399c363f2ac06611691b74688' build failed
    libavrocpp/1.11.3: WARN: Build folder /home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/libavrocpp/1.11.3/_/_/build/ef80192dcc5cd52399c363f2ac06611691b74688/build/Release
    ERROR: libavrocpp/1.11.3: Error in build() method, line 87
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/60797/adeef/.conan/data/libavrocpp/1.11.3/_/_/build/ef80192dcc5cd52399c363f2ac06611691b74688/build/Release" '--' '-j3'
    
  • libavrocpp/1.10.2: 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 22 '24 23:06 conan-center-bot

Conan v1 pipeline :x:

Sorry, the build is only launched for Access Request users. You can request access writing in this issue.

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.

Sorry, the build is only launched for Access Request users. You can request access writing in this issue.

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

Hi, how can I launch again Conan v1/v2 validation pipelines?

glywk avatar Jun 24 '24 14:06 glywk

Conan v1 pipeline :x:

Failure in build 4 (cb9b770c0530b33c0b717aca8fb9ba97244823a2):

  • libavrocpp/1.11.1: Didn't run or was cancelled before finishing

  • libavrocpp/1.11.0: Didn't run or was cancelled before finishing

  • libavrocpp/1.10.2: Didn't run or was cancelled before finishing

  • libavrocpp/1.10.1: Didn't run or was cancelled before finishing

  • libavrocpp/1.11.3: CI failed to create some packages (All logs)

    Logs for packageID ef80192dcc5cd52399c363f2ac06611691b74688:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    libavrocpp:shared=False
    
    [...]
    [ 69%] Building CXX object CMakeFiles/avrocpp.dir/impl/parsing/ResolvingDecoder.cc.o
    CMakeFiles/avrocpp_s.dir/build.make:315: recipe for target 'CMakeFiles/avrocpp_s.dir/impl/parsing/JsonCodec.cc.o' failed
    CMakeFiles/Makefile2:332: recipe for target 'CMakeFiles/avrocpp_s.dir/all' failed
    [ 71%] Building CXX object CMakeFiles/avrocpp.dir/impl/json/JsonIO.cc.o
    CMakeFiles/avrocpp.dir/build.make:315: recipe for target 'CMakeFiles/avrocpp.dir/impl/parsing/JsonCodec.cc.o' failed
    CMakeFiles/avrocpp.dir/build.make:341: recipe for target 'CMakeFiles/avrocpp.dir/impl/json/JsonIO.cc.o' failed
    CMakeFiles/Makefile2:413: recipe for target 'CMakeFiles/avrocpp.dir/all' failed
    Makefile:181: recipe for target 'all' failed
    libavrocpp/1.11.3: 
    Enabled snappy codec
    In file included from /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/boost/1.81.0/_/_/package/cfef62e446e1bb07894de4523f2649afdfa94524/include/boost/math/tools/real_cast.hpp:9:0,
                     from /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/boost/1.81.0/_/_/package/cfef62e446e1bb07894de4523f2649afdfa94524/include/boost/math/special_functions/fpclassify.hpp:17,
                     from /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/libavrocpp/1.11.3/_/_/build/ef80192dcc5cd52399c363f2ac06611691b74688/src/lang/c++/impl/parsing/JsonCodec.cc:20:
    /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/boost/1.81.0/_/_/package/cfef62e446e1bb07894de4523f2649afdfa94524/include/boost/math/tools/config.hpp:23:6: error: #warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)" [-Werror=cpp]
     #    warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)"
          ^~~~~~~
    In file included from /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/boost/1.81.0/_/_/package/cfef62e446e1bb07894de4523f2649afdfa94524/include/boost/math/tools/real_cast.hpp:9:0,
                     from /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/boost/1.81.0/_/_/package/cfef62e446e1bb07894de4523f2649afdfa94524/include/boost/math/special_functions/fpclassify.hpp:17,
                     from /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/libavrocpp/1.11.3/_/_/build/ef80192dcc5cd52399c363f2ac06611691b74688/src/lang/c++/impl/parsing/JsonCodec.cc:20:
    /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/boost/1.81.0/_/_/package/cfef62e446e1bb07894de4523f2649afdfa94524/include/boost/math/tools/config.hpp:23:6: error: #warning is a GCC extension [-Werror]
     #    warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)"
          ^~~~~~~
    /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/boost/1.81.0/_/_/package/cfef62e446e1bb07894de4523f2649afdfa94524/include/boost/math/tools/config.hpp:23:6: error: #warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)" [-Werror=cpp]
    cc1plus: all warnings being treated as errors
    make[2]: *** [CMakeFiles/avrocpp_s.dir/impl/parsing/JsonCodec.cc.o] Error 1
    make[1]: *** [CMakeFiles/avrocpp_s.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    cc1plus: all warnings being treated as errors
    make[2]: *** [CMakeFiles/avrocpp.dir/impl/parsing/JsonCodec.cc.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    In file included from /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/boost/1.81.0/_/_/package/cfef62e446e1bb07894de4523f2649afdfa94524/include/boost/math/tools/real_cast.hpp:9:0,
                     from /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/boost/1.81.0/_/_/package/cfef62e446e1bb07894de4523f2649afdfa94524/include/boost/math/special_functions/fpclassify.hpp:17,
                     from /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/libavrocpp/1.11.3/_/_/build/ef80192dcc5cd52399c363f2ac06611691b74688/src/lang/c++/impl/json/JsonIO.hh:23,
                     from /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/libavrocpp/1.11.3/_/_/build/ef80192dcc5cd52399c363f2ac06611691b74688/src/lang/c++/impl/json/JsonIO.cc:19:
    /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/boost/1.81.0/_/_/package/cfef62e446e1bb07894de4523f2649afdfa94524/include/boost/math/tools/config.hpp:23:6: error: #warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)" [-Werror=cpp]
     #    warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)"
          ^~~~~~~
    cc1plus: all warnings being treated as errors
    make[2]: *** [CMakeFiles/avrocpp.dir/impl/json/JsonIO.cc.o] Error 1
    make[1]: *** [CMakeFiles/avrocpp.dir/all] Error 2
    make: *** [all] Error 2
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    libavrocpp/1.11.3: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    libavrocpp/1.11.3: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    libavrocpp/1.11.3: ERROR: Package 'ef80192dcc5cd52399c363f2ac06611691b74688' build failed
    libavrocpp/1.11.3: WARN: Build folder /home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/libavrocpp/1.11.3/_/_/build/ef80192dcc5cd52399c363f2ac06611691b74688/build/Release
    ERROR: libavrocpp/1.11.3: Error in build() method, line 87
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/61165/bdfbd/.conan/data/libavrocpp/1.11.3/_/_/build/ef80192dcc5cd52399c363f2ac06611691b74688/build/Release" '--' '-j3'
    

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 24 '24 14:06 conan-center-bot

Conan v1 pipeline :heavy_check_mark:

All green in build 5 (a7c394976632cde354cefcde956d5f292364646d):

  • libavrocpp/1.11.1: All packages built successfully! (All logs)

  • libavrocpp/1.11.0: All packages built successfully! (All logs)

  • libavrocpp/1.10.2: All packages built successfully! (All logs)

  • libavrocpp/1.10.1: All packages built successfully! (All logs)

  • libavrocpp/1.11.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 (a7c394976632cde354cefcde956d5f292364646d):

  • libavrocpp/1.11.1: All packages built successfully! (All logs)

  • libavrocpp/1.11.0: All packages built successfully! (All logs)

  • libavrocpp/1.10.2: All packages built successfully! (All logs)

  • libavrocpp/1.10.1: All packages built successfully! (All logs)

  • libavrocpp/1.11.3: All packages built successfully! (All logs)

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

Conan v1 pipeline :heavy_check_mark:

All green in build 6 (c6eaf5bccde4e5a7ecf828cdb1ecea361a90a1e3):

  • libavrocpp/1.11.1: All packages built successfully! (All logs)

  • libavrocpp/1.11.3: All packages built successfully! (All logs)

  • libavrocpp/1.10.2: All packages built successfully! (All logs)

  • libavrocpp/1.11.0: All packages built successfully! (All logs)

  • libavrocpp/1.10.1: 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 6 (c6eaf5bccde4e5a7ecf828cdb1ecea361a90a1e3):

  • libavrocpp/1.11.3: All packages built successfully! (All logs)

  • libavrocpp/1.11.1: All packages built successfully! (All logs)

  • libavrocpp/1.11.0: All packages built successfully! (All logs)

  • libavrocpp/1.10.2: All packages built successfully! (All logs)

  • libavrocpp/1.10.1: All packages built successfully! (All logs)

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

Hi, As requested, I have replace versions range by only one. Does it miss something else? Regards

glywk avatar Jun 26 '24 15:06 glywk

Hi, how to get another reviewer to allow to merge this pull request? @toge ? Regards

glywk avatar Jun 27 '24 14:06 glywk

Hi, I have been added to authorized user but I cannot approve this pull request. Can you help me? Regards

glywk avatar Jul 02 '24 12:07 glywk

Hi @glywk, this PR is just waiting for someone from the team to have the time to give an extra review, there's nothing extra you need to do :) Thanks a lot for your patience while we process it!

AbrilRBS avatar Jul 03 '24 15:07 AbrilRBS

Hi @glywk, this PR is just waiting for someone from the team to have the time to give an extra review, there's nothing extra you need to do :) Thanks a lot for your patience while we process it!

Thank you for your explanation and your validation. Regards

glywk avatar Jul 03 '24 18:07 glywk