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

fixed libvault recipe for 2.0 #21962

Closed
wants to merge 2 commits into from

Conversation

memsharded
Copy link
Member

Specify library name and version: libvault/all

The recipe is broken in 2.0 due to a wrong import to Version

@ghost
Copy link

ghost commented Dec 27, 2023

I detected other pull requests that are modifying libvault/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 2 (718c6b4a0b677987498b6169bac5a8e470153b1e):

  • libvault/0.52.0:
    All packages built successfully! (All logs)

  • libvault/0.51.0:
    All packages built successfully! (All logs)

  • libvault/0.48.0:
    All packages built successfully! (All logs)


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 2 (718c6b4a0b677987498b6169bac5a8e470153b1e):

  • libvault/0.52.0:
    CI failed to create some packages (All logs)

    Logs for packageID 970074cb93d2b7347c017930d48e315f68e0c612:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=msvc
    compiler.cppstd=17
    compiler.runtime=dynamic
    compiler.runtime_type=Release
    compiler.version=193
    os=Windows
    [options]
    */*:shared=False
    
    [...]
    libvault/0.52.0 (test package): Calling build()
    libvault/0.52.0 (test package): Running CMake.configure()
    libvault/0.52.0 (test package): RUN: cmake -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE="C:/J2/w/prod-v2/bsr/cci-365d4a8c/recipes/libvault/all/test_package/build/msvc-193-x86_64-17-release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J2/w/prod-v2/bsr/cci-365d4a8c/recipes/libvault/all/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J2\w\prod-v2\bsr\cci-365d4a8c\recipes\libvault\all\test_package"
    -- Using Conan toolchain: C:/J2/w/prod-v2/bsr/cci-365d4a8c/recipes/libvault/all/test_package/build/msvc-193-x86_64-17-release/generators/conan_toolchain.cmake
    -- Conan toolchain: C++ Standard 17 with extensions OFF
    -- The CXX compiler identification is MSVC 19.36.32532.0
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Conan: Target declared 'libvault::libvault'
    -- Conan: Component target declared 'CURL::libcurl'
    -- Conan: Component target declared 'OpenSSL::Crypto'
    -- Conan: Component target declared 'OpenSSL::SSL'
    -- Conan: Target declared 'openssl::openssl'
    -- Conan: Target declared 'ZLIB::ZLIB'
    -- Conan: Including build module from 'C:/J2/w/prod-v2/bsr/63176/dfcac/p/opensd90dd1a179ee9/p/lib/cmake/conan-official-openssl-variables.cmake'
    -- Conan: Component target declared 'Catch2::Catch2'
    -- Conan: Component target declared 'Catch2::Catch2WithMain'
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/J2/w/prod-v2/bsr/cci-365d4a8c/recipes/libvault/all/test_package/build/msvc-193-x86_64-17-release
    
    libvault/0.52.0 (test package): Running CMake.build()
    libvault/0.52.0 (test package): RUN: cmake --build "C:\J2\w\prod-v2\bsr\cci-365d4a8c\recipes\libvault\all\test_package\build\msvc-193-x86_64-17-release" --config Release
    MSBuild version 17.6.3+07e294721 for .NET Framework
    
      Checking Build System
      Building Custom Rule C:/J2/w/prod-v2/bsr/cci-365d4a8c/recipes/libvault/all/test_package/CMakeLists.txt
      test_package.cpp
    C:\J2\w\prod-v2\bsr\63176\dfcac\p\b\libva15753bb298835\p\include\libvault/VaultClient.h(1,9): warning C4068: unknown pragma 'GCC' [C:\J2\w\prod-v2\bsr\cci-365d4a8c\recipes\libvault\all\test_package\build\msvc-193-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr\63176\dfcac\p\b\libva15753bb298835\p\include\libvault/VaultClient.h(2,9): warning C4068: unknown pragma 'ide' [C:\J2\w\prod-v2\bsr\cci-365d4a8c\recipes\libvault\all\test_package\build\msvc-193-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr\63176\dfcac\p\b\libva15753bb298835\p\include\libvault/VaultClient.h(3,9): warning C4068: unknown pragma 'ide' [C:\J2\w\prod-v2\bsr\cci-365d4a8c\recipes\libvault\all\test_package\build\msvc-193-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr\63176\dfcac\p\b\libva15753bb298835\p\include\libvault/VaultClient.h(4,9): warning C4068: unknown pragma 'ide' [C:\J2\w\prod-v2\bsr\cci-365d4a8c\recipes\libvault\all\test_package\build\msvc-193-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr\63176\dfcac\p\b\libva15753bb298835\p\include\libvault/VaultClient.h(5,9): warning C4068: unknown pragma 'ide' [C:\J2\w\prod-v2\bsr\cci-365d4a8c\recipes\libvault\all\test_package\build\msvc-193-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr\63176\dfcac\p\b\libva15753bb298835\p\include\libvault/VaultClient.h(6,9): warning C4068: unknown pragma 'ide' [C:\J2\w\prod-v2\bsr\cci-365d4a8c\recipes\libvault\all\test_package\build\msvc-193-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr\63176\dfcac\p\b\libva15753bb298835\p\include\libvault/VaultClient.h(1891,9): warning C4068: unknown pragma 'GCC' [C:\J2\w\prod-v2\bsr\cci-365d4a8c\recipes\libvault\all\test_package\build\msvc-193-x86_64-17-release\test_package.vcxproj]
    LINK : fatal error LNK1181: cannot open input file 'm.lib' [C:\J2\w\prod-v2\bsr\cci-365d4a8c\recipes\libvault\all\test_package\build\msvc-193-x86_64-17-release\test_package.vcxproj]
    
    *********************************************************
    Recipe 'libvault/0.52.0 (test package)' cannot build its binary
    It is possible that this recipe is not Conan 2.0 ready
    If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues
    If it is your recipe, check if it is updated to 2.0
    *********************************************************
    
    ERROR: libvault/0.52.0 (test package): Error in build() method, line 21
    	cmake.build()
    	ConanException: Error 1 while executing
    
  • libvault/0.51.0:
    Didn't run or was cancelled before finishing

  • libvault/0.48.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.

@AbrilRBS
Copy link
Member

Closing as duplicate of #19488

@AbrilRBS AbrilRBS closed this Dec 27, 2023
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.

3 participants