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

Add version 3.1.4 and fix conflicts #24871

Closed
wants to merge 2 commits into from

Conversation

perseoGI
Copy link
Contributor

@perseoGI perseoGI commented Aug 8, 2024

Summary

Changes to recipe: bear

Motivation

Added newest version v3.1.4 and fix several bugs

Details

Bugs fixed:

  • fmt and spdlog version conflict
  • Created a patch for removing C++ standards, etc
  • Created a patch for removing strict versions on find dependencies
  • Created a patch for v3.0.21 for enabling FMT_NEEDS_OSTREAM_FORMATTER, which fix compilation issue on v3.0.21

Changelog: rizsotto/Bear@3.0.21...3.1.4


@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 3 (a589c3e037abd10f81877a0282f9377cb0b8ae99):

  • bear/3.0.21:
    CI failed to create some packages (All logs)

    Logs for packageID 980863da6cbb03c3cb41f3154db9d25979ba9c58:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=9
    os=Linux
    
    [...]
      CXX_STANDARD is set to invalid value ''
    
    
    CMake Error at intercept/CMakeLists.txt:82 (add_library):
      CXX_STANDARD is set to invalid value ''
    
    
    CMake Error at intercept/CMakeLists.txt:58 (add_executable):
      CXX_STANDARD is set to invalid value ''
    
    
    CMake Error at intercept/CMakeLists.txt:151 (add_library):
      CXX_STANDARD is set to invalid value ''
    
    
    CMake Error at intercept/proto/CMakeLists.txt:54 (add_library):
      CXX_STANDARD is set to invalid value ''
    
    
    CMake Error at citnames/CMakeLists.txt:2 (add_library):
      CXX_STANDARD is set to invalid value ''
    
    
    CMake Error at citnames/CMakeLists.txt:20 (add_library):
      CXX_STANDARD is set to invalid value ''
    
    
    CMake Error at citnames/CMakeLists.txt:50 (add_executable):
      CXX_STANDARD is set to invalid value ''
    
    
    CMake Error at bear/CMakeLists.txt:2 (add_executable):
      CXX_STANDARD is set to invalid value ''
    
    
    CMake Generate step failed.  Build files cannot be regenerated correctly.
    make[2]: *** [CMakeFiles/BearSource.dir/build.make:128: subprojects/Stamp/BearSource/BearSource-configure] Error 1
    make[1]: *** [CMakeFiles/Makefile2:201: CMakeFiles/BearSource.dir/all] Error 2
    make: *** [Makefile:171: all] Error 2
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    WARN: protobuf/3.21.12: requirement zlib/[>=1.2.11 <2] overridden by grpc/1.50.1 to zlib/1.3.1 
    WARN: openssl/3.3.1: requirement zlib/[>=1.2.11 <2] overridden by grpc/1.50.1 to zlib/1.3.1 
    bear/3.0.21: 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
    bear/3.0.21: 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
    bear/3.0.21: ERROR: Package '980863da6cbb03c3cb41f3154db9d25979ba9c58' build failed
    bear/3.0.21: WARN: Build folder /home/conan/workspace/prod-v1/bsr/85003/bfafb/.conan/data/bear/3.0.21/_/_/build/980863da6cbb03c3cb41f3154db9d25979ba9c58/build/Release
    ERROR: bear/3.0.21: Error in build() method, line 90
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/85003/bfafb/.conan/data/bear/3.0.21/_/_/build/980863da6cbb03c3cb41f3154db9d25979ba9c58/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 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.

Failure in build 3 (a589c3e037abd10f81877a0282f9377cb0b8ae99):

  • bear/3.0.21:
    CI failed to create some packages (All logs)

    Logs for packageID 12f22f30723385fa6946ced7ce7dfbb3ffe1375c:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    
    [...]
    -- Looking for _CS_PATH - found
    -- Looking for _CS_GNU_LIBC_VERSION
    -- Looking for _CS_GNU_LIBC_VERSION - found
    -- Looking for _CS_GNU_LIBPTHREAD_VERSION
    -- Looking for _CS_GNU_LIBPTHREAD_VERSION - found
    -- Looking for protoc ... /home/conan/workspace/prod-v2/bsr/76521/fdeef/p/proto5794f10f7a310/p/bin/protoc
    -- Looking for grpc_cpp_plugin ... /home/conan/workspace/prod-v2/bsr/76521/fdeef/p/grpca177f643e61ee/p/bin/grpc_cpp_plugin
    -- Configuring done
    CMake Error at intercept/CMakeLists.txt:32 (add_library):
      Cannot find source file:
    
        /home/conan/workspace/prod-v2/bsr/76521/fdeef/p/b/beara216792b62b8b/b/build/Release/subprojects/Build/BearSource/libflags/CMakeFiles/flags_a.dir/source/Flags.cc.o
    
      Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
      .hpp .hxx .in .txx
    
    
    CMake Error at citnames/CMakeLists.txt:20 (add_library):
      Cannot find source file:
    
        /home/conan/workspace/prod-v2/bsr/76521/fdeef/p/b/beara216792b62b8b/b/build/Release/subprojects/Build/BearSource/libflags/CMakeFiles/flags_a.dir/source/Flags.cc.o
    
      Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
      .hpp .hxx .in .txx
    
    
    CMake Error at bear/CMakeLists.txt:2 (add_executable):
      Cannot find source file:
    
        /home/conan/workspace/prod-v2/bsr/76521/fdeef/p/b/beara216792b62b8b/b/build/Release/subprojects/Build/BearSource/libflags/CMakeFiles/flags_a.dir/source/Flags.cc.o
    
      Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
      .hpp .hxx .in .txx
    
    
    -- Generating done
    CMake Generate step failed.  Build files cannot be regenerated correctly.
    CMakeFiles/BearSource.dir/build.make:108: recipe for target 'subprojects/Stamp/BearSource/BearSource-configure' failed
    make[2]: *** [subprojects/Stamp/BearSource/BearSource-configure] Error 1
    CMakeFiles/Makefile2:80: recipe for target 'CMakeFiles/BearSource.dir/all' failed
    make[1]: *** [CMakeFiles/BearSource.dir/all] Error 2
    Makefile:151: recipe for target 'all' failed
    make: *** [all] Error 2
    
    bear/3.0.21: ERROR: 
    Package '12f22f30723385fa6946ced7ce7dfbb3ffe1375c' build failed
    bear/3.0.21: WARN: Build folder /home/conan/workspace/prod-v2/bsr/76521/fdeef/p/b/beara216792b62b8b/b/build/Release
    ERROR: bear/3.0.21: Error in build() method, line 90
    	cmake.build()
    	ConanException: Error 2 while executing
    

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.

@valgur
Copy link
Contributor

valgur commented Aug 14, 2024

Just FYI, maybe it helps: #22049

@ErniGH ErniGH self-requested a review August 14, 2024 11:26
@ErniGH ErniGH self-assigned this Aug 14, 2024
@perseoGI
Copy link
Contributor Author

I'm closing this PR in favor of #22049
I've migrate some changes to that PR.
Thank you @valgur and sorry, didn't see that opened PR.

@perseoGI perseoGI closed this Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants