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

matplotlib-cpp: new recipe #22256

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jan 11, 2024

Adds matplotlib-cpp: https://github.com/lava/matplotlib-cpp

Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib.

Somewhat unmaintained, but still useful.

Packaging status

@conan-center-bot

This comment has been minimized.

@valgur valgur marked this pull request as draft January 20, 2024 15:55
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 2 (78df8eb084b3b4184c142a762e2ec773ab422547):

  • matplotlib-cpp/cci.20210423:
    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 (78df8eb084b3b4184c142a762e2ec773ab422547):

  • matplotlib-cpp/cci.20210423:
    CI failed to create some packages (All logs)

    Logs for packageID da39a3ee5e6b4b0d3255bfef95601890afd80709:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    
    [...]
    ======== Testing the package ========
    Removing previously existing 'test_package' build folder: /Users/jenkins/w/prod-v2/bsr@2/cci-eca46306/recipes/matplotlib-cpp/all/test_package/build/apple-clang-13-x86_64-17-release
    matplotlib-cpp/cci.20210423 (test package): Test package build: build/apple-clang-13-x86_64-17-release
    matplotlib-cpp/cci.20210423 (test package): Test package build folder: /Users/jenkins/w/prod-v2/bsr@2/cci-eca46306/recipes/matplotlib-cpp/all/test_package/build/apple-clang-13-x86_64-17-release
    matplotlib-cpp/cci.20210423 (test package): Writing generators to /Users/jenkins/w/prod-v2/bsr@2/cci-eca46306/recipes/matplotlib-cpp/all/test_package/build/apple-clang-13-x86_64-17-release/generators
    matplotlib-cpp/cci.20210423 (test package): Generator 'VirtualRunEnv' calling 'generate()'
    matplotlib-cpp/cci.20210423 (test package): Generator 'CMakeDeps' calling 'generate()'
    matplotlib-cpp/cci.20210423 (test package): Generator 'CMakeToolchain' calling 'generate()'
    matplotlib-cpp/cci.20210423 (test package): CMakeToolchain generated: conan_toolchain.cmake
    matplotlib-cpp/cci.20210423 (test package): CMakeToolchain generated: CMakePresets.json
    matplotlib-cpp/cci.20210423 (test package): CMakeToolchain generated: ../../../CMakeUserPresets.json
    matplotlib-cpp/cci.20210423 (test package): Generating aggregated env files
    matplotlib-cpp/cci.20210423 (test package): Generated aggregated env files: ['conanrun.sh', 'conanbuild.sh']
    
    ======== Testing the package: Building ========
    matplotlib-cpp/cci.20210423 (test package): Calling build()
    matplotlib-cpp/cci.20210423 (test package): Running CMake.configure()
    matplotlib-cpp/cci.20210423 (test package): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod-v2/bsr@2/cci-eca46306/recipes/matplotlib-cpp/all/test_package/build/apple-clang-13-x86_64-17-release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod-v2/bsr@2/cci-eca46306/recipes/matplotlib-cpp/all/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/w/prod-v2/bsr@2/cci-eca46306/recipes/matplotlib-cpp/all/test_package"
    -- Using Conan toolchain: /Users/jenkins/w/prod-v2/bsr@2/cci-eca46306/recipes/matplotlib-cpp/all/test_package/build/apple-clang-13-x86_64-17-release/generators/conan_toolchain.cmake
    -- 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: Target declared 'matplotlib_cpp::matplotlib_cpp'
    CMake Error at /Users/jenkins/cmake/cmake-3.20.1/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
      Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES
      Development Development.Module Development.Embed) (found version "3.8.9")
    Call Stack (most recent call first):
      /Users/jenkins/cmake/cmake-3.20.1/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
      /Users/jenkins/cmake/cmake-3.20.1/share/cmake-3.20/Modules/FindPython/Support.cmake:3165 (find_package_handle_standard_args)
      /Users/jenkins/cmake/cmake-3.20.1/share/cmake-3.20/Modules/FindPython3.cmake:485 (include)
      CMakeLists.txt:5 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/Users/jenkins/w/prod-v2/bsr@2/cci-eca46306/recipes/matplotlib-cpp/all/test_package/build/apple-clang-13-x86_64-17-release/CMakeFiles/CMakeOutput.log".
    
    *********************************************************
    Recipe 'matplotlib-cpp/cci.20210423 (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: matplotlib-cpp/cci.20210423 (test package): Error in build() method, line 20
    	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.

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.

[request] matplotlib-cpp/master
2 participants