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

ignition-math: migrate to Conan v2 #18992

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 31, 2023

Depends on #19073.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@perseoGI perseoGI self-assigned this Jun 13, 2024
@conan-center-bot conan-center-bot added the Missing dependencies Build failed due missing dependencies in Conan Center label Jul 15, 2024
@conan-center-bot

This comment has been minimized.

Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Aug 15, 2024
@valgur
Copy link
Contributor Author

valgur commented Sep 2, 2024

Don't close.

@perseoGI
Copy link
Contributor

perseoGI commented Sep 2, 2024

Building missing binaries...

@github-actions github-actions bot removed the stale label Sep 3, 2024
@conan-center-bot conan-center-bot removed the Missing dependencies Build failed due missing dependencies in Conan Center label Sep 3, 2024
@conan-center-bot

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Oct 4, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Oct 4, 2024
@valgur valgur marked this pull request as draft October 4, 2024 07:05
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Warning

Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement.

Failure in build 3 (a8f80dbb96715bd12aa37b0c0198d430565ce46f):

  • ignition-math/6.10.0:
    CI failed to create some packages (All logs)

    Logs for packageID 8c074beb26d3233e8515b50f9433856c957cfe6e:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MD
    compiler.version=16
    os=Windows
    [options]
    ignition-math:shared=False
    
    [...]
      'sed' is not recognized as an internal or external command,
      operable program or batch file.
      'sed' is not recognized as an internal or external command,
      operable program or batch file.
      'sed' is not recognized as an internal or external command,
      operable program or batch file.
      'sed' is not recognized as an internal or external command,
      operable program or batch file.
      'sed' is not recognized as an internal or external command,
      operable program or batch file.
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C:\J\workspace\prod-v1\bsr@4\106448\afdcc\.conan\data\ignition-math\6.10.0\_\_\build\8c074beb26d3233e8515b50f9433856c957cfe6e\build\CMakeFiles\4a75e0620baa95174ba28ff1fe3ad4e6\doc.rule;C:\J\workspace\prod-v1\bsr@4\106448\afdcc\.conan\data\ignition-math\6.10.0\_\_\build\8c074beb26d3233e8515b50f9433856c957cfe6e\src\CMakeLists.txt' exited with code 1. [C:\J\workspace\prod-v1\bsr@4\106448\afdcc\.conan\data\ignition-math\6.10.0\_\_\build\8c074beb26d3233e8515b50f9433856c957cfe6e\build\doc.vcxproj]
    ignition-math/6.10.0: 
    CMake Warning (dev) at C:/J/workspace/prod-v1/bsr@4/106448/afdcc/.conan/data/ignition-cmake/2.17.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib/cmake/ignition-cmake2/cmake2/IgnUtils.cmake:398 (message):
       -- THIS MESSAGE IS INTENDED FOR IGNITION-MATH AUTHORS --
          (IF YOU SEE THIS, PLEASE REPORT IT)
    
      Could not find pkg-config information for EIGEN3.  It was not provided by
      the find-module for the package, nor was it explicitly passed into the call
      to ign_find_package(~).  This is most likely an error in this project's use
      of ign-cmake.
    Call Stack (most recent call first):
      CMakeLists.txt:43 (ign_find_package)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning at C:/J/workspace/prod-v1/bsr@4/106448/afdcc/.conan/data/ignition-cmake/2.17.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib/cmake/ignition-cmake2/cmake2/IgnConfigureBuild.cmake:55 (message):
       CONFIGURATION WARNINGS:
       -- Swig is missing: Language interfaces are disabled.
       -- pybind11 is missing: Python interfaces are disabled.
    Call Stack (most recent call first):
      CMakeLists.txt:100 (ign_configure_build)
    
    
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        SKIP_SWIG
    
    
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: xapian-core/1.4.19: requirement zlib/[>=1.2.11 <2] overridden by doxygen/1.9.4 to zlib/1.3.1 
    ignition-math/6.10.0: 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
    ignition-math/6.10.0: 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
    ignition-math/6.10.0: ERROR: Package '8c074beb26d3233e8515b50f9433856c957cfe6e' build failed
    ignition-math/6.10.0: WARN: Build folder C:\J\workspace\prod-v1\bsr@4\106448\afdcc\.conan\data\ignition-math\6.10.0\_\_\build\8c074beb26d3233e8515b50f9433856c957cfe6e\build
    ERROR: ignition-math/6.10.0: Error in build() method, line 108
    	cmake.build()
    	ConanException: Error 1 while executing cmake --build "C:\J\workspace\prod-v1\bsr@4\106448\afdcc\.conan\data\ignition-math\6.10.0\_\_\build\8c074beb26d3233e8515b50f9433856c957cfe6e\build" --config Release
    

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 (a8f80dbb96715bd12aa37b0c0198d430565ce46f):

  • ignition-math/6.10.0:
    CI failed to create some packages (All logs)

    Logs for packageID b0cfe81b2f60aaec56d5303762ca23cb8bcc3bf9:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=False
    
    [...]
    Removing previously existing 'test_package' build folder: /Users/jenkins/workspace/prod-v2/bsr/cci-c448154a/recipes/ignition-math/all/test_package/build/apple-clang-13-x86_64-17-release
    ignition-math/6.10.0 (test package): Test package build: build/apple-clang-13-x86_64-17-release
    ignition-math/6.10.0 (test package): Test package build folder: /Users/jenkins/workspace/prod-v2/bsr/cci-c448154a/recipes/ignition-math/all/test_package/build/apple-clang-13-x86_64-17-release
    ignition-math/6.10.0 (test package): Writing generators to /Users/jenkins/workspace/prod-v2/bsr/cci-c448154a/recipes/ignition-math/all/test_package/build/apple-clang-13-x86_64-17-release/generators
    ignition-math/6.10.0 (test package): Generator 'CMakeDeps' calling 'generate()'
    ignition-math/6.10.0 (test package): CMakeDeps necessary find_package() and targets for your CMakeLists.txt
        find_package(ignition-math6)
        target_link_libraries(... ignition-math6::ignition-math6)
    ignition-math/6.10.0 (test package): Generator 'VirtualRunEnv' calling 'generate()'
    ignition-math/6.10.0 (test package): Calling generate()
    ignition-math/6.10.0 (test package): Generators folder: /Users/jenkins/workspace/prod-v2/bsr/cci-c448154a/recipes/ignition-math/all/test_package/build/apple-clang-13-x86_64-17-release/generators
    ignition-math/6.10.0 (test package): CMakeToolchain generated: conan_toolchain.cmake
    ignition-math/6.10.0 (test package): CMakeToolchain generated: /Users/jenkins/workspace/prod-v2/bsr/cci-c448154a/recipes/ignition-math/all/test_package/build/apple-clang-13-x86_64-17-release/generators/CMakePresets.json
    ignition-math/6.10.0 (test package): CMakeToolchain generated: /Users/jenkins/workspace/prod-v2/bsr/cci-c448154a/recipes/ignition-math/all/test_package/CMakeUserPresets.json
    ignition-math/6.10.0 (test package): Generating aggregated env files
    ignition-math/6.10.0 (test package): Generated aggregated env files: ['conanrun.sh', 'conanbuild.sh']
    
    ======== Testing the package: Building ========
    ignition-math/6.10.0 (test package): Calling build()
    ignition-math/6.10.0 (test package): Running CMake.configure()
    ignition-math/6.10.0 (test package): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/workspace/prod-v2/bsr/cci-c448154a/recipes/ignition-math/all/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/workspace/prod-v2/bsr/cci-c448154a/recipes/ignition-math/all/test_package"
    -- Using Conan toolchain: /Users/jenkins/workspace/prod-v2/bsr/cci-c448154a/recipes/ignition-math/all/test_package/build/apple-clang-13-x86_64-17-release/generators/conan_toolchain.cmake
    -- Conan toolchain: Defining architecture flag: -m64
    -- Conan toolchain: Defining libcxx as C++ flags: -stdlib=libc++
    -- Conan toolchain: C++ Standard 17 with extensions OFF
    -- The CXX compiler identification is AppleClang 13.0.0.13000029
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Conan: Component target declared 'ignition-math::ignition-math6'
    -- Conan: Component target declared 'ignition-math::eigen3'
    -- Conan: Target declared 'ignition-math6::ignition-math6'
    CMake Error at build/apple-clang-13-x86_64-17-release/generators/cmakedeps_macros.cmake:67 (message):
      Library 'ignition-math6' not found in package.  If 'ignition-math6' is a
      system library, declare it with 'cpp_info.system_libs' property
    Call Stack (most recent call first):
      build/apple-clang-13-x86_64-17-release/generators/ignition-math6-Target-release.cmake:23 (conan_package_library_targets)
      build/apple-clang-13-x86_64-17-release/generators/ignition-math6Targets.cmake:24 (include)
      build/apple-clang-13-x86_64-17-release/generators/ignition-math6-config.cmake:16 (include)
      CMakeLists.txt:10 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/Users/jenkins/workspace/prod-v2/bsr/cci-c448154a/recipes/ignition-math/all/test_package/build/apple-clang-13-x86_64-17-release/CMakeFiles/CMakeOutput.log".
    
    ERROR: ignition-math/6.10.0 (test package): Error in build() method, line 27
    	cmake.configure()
    	ConanException: Error 1 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.

Copy link
Contributor

github-actions bot commented Nov 4, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Nov 4, 2024
@github-actions github-actions bot removed the stale label Nov 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.

3 participants