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

catch2/2.x: use self.info in package id method #14633

Merged
merged 1 commit into from
Dec 28, 2022

Conversation

prince-chrismc
Copy link
Contributor

Specify library name and version: lib/1.0

This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!


@prince-chrismc
Copy link
Contributor Author

#12888

@conan-center-bot

This comment has been minimized.

@prince-chrismc
Copy link
Contributor Author

This is ready for review

@prince-chrismc
Copy link
Contributor Author

Let's see some v2 results 🤞

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

All green in build 2 (211bd7c83b4628d85545f80fce7509cdb3e24862):

  • catch2/2.13.9@:
    All packages built successfully! (All logs)

  • catch2/2.13.7@:
    All packages built successfully! (All logs)

  • catch2/2.12.4@:
    All packages built successfully! (All logs)

  • catch2/2.13.8@:
    All packages built successfully! (All logs)

  • catch2/2.11.3@:
    All packages built successfully! (All logs)


Conan v2 pipeline (informative, not required for merge)

Failure in build 2 (211bd7c83b4628d85545f80fce7509cdb3e24862):

  • catch2/2.13.8@:
    Didn't run or was cancelled before finishing

  • catch2/2.12.4@:
    Didn't run or was cancelled before finishing

  • catch2/2.13.9@:
    Didn't run or was cancelled before finishing

  • catch2/2.13.7@:
    CI failed to create some packages (All logs)

    Logs for packageID da39a3ee5e6b4b0d3255bfef95601890afd80709:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    
    [...]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [conf]
    tools.system.package_manager:mode=install
    tools.system.package_manager:sudo=True
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [conf]
    tools.system.package_manager:mode=install
    tools.system.package_manager:sudo=True
    
    
    -------- test_package: Computing dependency graph --------
    Graph root
        catch2/2.13.7 (test package): /home/conan/w/prod-v2/BuildSingleReference/conan-center-index/recipes/catch2/2.x.x/test_package/conanfile.py
    Requirements
        catch2/2.13.7#cddc10d8d158dba6c49a617f1070e812 - Cache
    
    -------- test_package: Computing necessary packages --------
    Requirements
        catch2/2.13.7#cddc10d8d158dba6c49a617f1070e812:da39a3ee5e6b4b0d3255bfef95601890afd80709#82e31c1cc4c6863b1f84e32aa89f893d - Cache
    
    -------- test_package: Installing packages --------
    
    -------- Installing (downloading, building) binaries... --------
    catch2/2.13.7: Already installed!
    WARN: The use of 'cpp_info.names' is deprecated in Conan 2.0 and will be removed in Conan 2.X. Please, update your recipes unless you are maintaining compatibility with Conan 1.X
    WARN: The use of 'cpp_info.names' is deprecated in Conan 2.0 and will be removed in Conan 2.X. Please, update your recipes unless you are maintaining compatibility with Conan 1.X
    
    -------- Testing the package --------
    catch2/2.13.7 (test package): Writing generators to /home/conan/w/prod-v2/BuildSingleReference/conan-center-index/recipes/catch2/2.x.x/test_package/test_output/build/generators
    catch2/2.13.7 (test package): Generator 'CMakeDeps' calling 'generate()'
    catch2/2.13.7 (test package): Generator 'VirtualRunEnv' calling 'generate()'
    catch2/2.13.7 (test package): Calling generate()
    catch2/2.13.7 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release'
    catch2/2.13.7 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod-v2/BuildSingleReference/conan-center-index/recipes/catch2/2.x.x/test_package/test_output/build/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
    ERROR: catch2/2.13.7 (test package): Error in generate() method, line 37
    	with open(self._todos_filename, "w", encoding="utf-8") as file:
    	FileNotFoundError: [Errno 2] No such file or directory: '/home/conan/w/prod-v2/BuildSingleReference/conan-center-index/recipes/catch2/2.x.x/test_package/build/generators/catch2_test_to_do.yml'
    
  • catch2/2.11.3@:
    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.

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@conan-center-bot conan-center-bot merged commit cb368be into conan-io:master Dec 28, 2022
AbrilRBS pushed a commit to AbrilRBS/conan-center-index that referenced this pull request Jan 16, 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.

6 participants