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 ignition-cmake #3268

Merged
merged 15 commits into from
Nov 24, 2020
Merged

Conversation

joxoby
Copy link
Contributor

@joxoby joxoby commented Oct 19, 2020

Specify library name and version: ignition-cmake/2.5.0

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@joxoby joxoby mentioned this pull request Oct 19, 2020
4 tasks
@conan-center-bot
Copy link
Collaborator

Some configurations of 'ignition-cmake/2.5.0' failed in build 1 (a29b1e41f57206bac6d6d0c3351a68efce6a2277):

  • Linux x86_64, Release, clang 5.0, libstdc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'share' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Package for Linux does not contain artifacts with these extensions: ['a', 'so', 'sh', ''] (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Packaged artifacts does not match the settings used: os=Linux, compiler=clang (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./share/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./share/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./share/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./share/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./share/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs
  • Linux x86_64, Debug, clang 5.0, libc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'share' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Package for Linux does not contain artifacts with these extensions: ['a', 'so', 'sh', ''] (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Packaged artifacts does not match the settings used: os=Linux, compiler=clang (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./share/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./share/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./share/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./share/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./share/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs
  • Linux x86_64, Debug, clang 5.0, libstdc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'share' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Package for Linux does not contain artifacts with these extensions: ['a', 'so', 'sh', ''] (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Packaged artifacts does not match the settings used: os=Linux, compiler=clang (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./share/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./share/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./share/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./share/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./share/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs
  • Linux x86_64, Release, clang 5.0, libc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'share' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Package for Linux does not contain artifacts with these extensions: ['a', 'so', 'sh', ''] (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Packaged artifacts does not match the settings used: os=Linux, compiler=clang (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./share/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./share/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./share/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./share/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./share/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs
  • Macos x86_64, Release, apple-clang 10.0, libc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'share' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Package for Macos does not contain artifacts with these extensions: ['a', 'dylib', ''] (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Packaged artifacts does not match the settings used: os=Macos, compiler=apple-clang (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./share/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./share/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./share/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./share/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./share/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs
  • Macos x86_64, Debug, apple-clang 10.0, libc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'share' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Package for Macos does not contain artifacts with these extensions: ['a', 'dylib', ''] (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Packaged artifacts does not match the settings used: os=Macos, compiler=apple-clang (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./share/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./share/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./share/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./share/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./share/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs
  • Macos x86_64, Debug, apple-clang 11.0, libc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [DEFAULT PACKAGE LAYOUT (KB-H013)] Unknown folder 'share' in the package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H013)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Package for Macos does not contain artifacts with these extensions: ['a', 'dylib', ''] (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Packaged artifacts does not match the settings used: os=Macos, compiler=apple-clang (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./share/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./share/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./share/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./share/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./share/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./share/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./share/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./share/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./share/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./share/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./share/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

@joxoby
Copy link
Contributor Author

joxoby commented Oct 19, 2020

I'm not sure how to package ignition-cmake...

recipes/ignition-cmake/all/conanfile.py Outdated Show resolved Hide resolved
recipes/ignition-cmake/all/test_package/CMakeLists.txt Outdated Show resolved Hide resolved
recipes/ignition-cmake/all/test_package/conanfile.py Outdated Show resolved Hide resolved
recipes/ignition-cmake/all/conanfile.py Outdated Show resolved Hide resolved
joxoby and others added 4 commits October 19, 2020 15:36
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
@conan-center-bot
Copy link
Collaborator

Recipe syntax error in build 5:

WARN: Remotes registry file missing, creating default one in /home/conan/w/cci_PR-3268/5/1a72ec7f-5296-4937-84d5-d085cc3c4fa8/.conan/remotes.json
ERROR: Error loading conanfile at '/home/conan/w/cci_PR-3268/recipes/ignition-cmake/all/conanfile.py': Unable to load conanfile in /home/conan/w/cci_PR-3268/recipes/ignition-cmake/all/conanfile.py
  File "/opt/pyenv/versions/3.7.5/lib/python3.7/site-packages/conans/model/ref.py", line 197, in loads
    name, version, user, channel, revision = get_reference_fields(text)
  File "/opt/pyenv/versions/3.7.5/lib/python3.7/site-packages/conans/model/ref.py", line 66, in get_reference_fields
    el1, el2 = _split_pair(arg_reference, "/") or (arg_reference, None)
  File "/opt/pyenv/versions/3.7.5/lib/python3.7/site-packages/conans/model/ref.py", line 18, in _split_pair
    raise ConanException("The reference has too many '{}'".format(split_char))
conans.errors.ConanException: The reference has too many '/'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/pyenv/versions/3.7.5/lib/python3.7/site-packages/conans/client/loader.py", line 379, in _parse_conanfile
    loaded = imp.load_source(module_id, conan_file_path)
  File "/opt/pyenv/versions/3.7.5/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 724, in exec_module
  File "<frozen importlib._bootstrap_external>", line 860, in get_code
  File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/conan/w/cci_PR-3268/recipes/ignition-cmake/all/conanfile.py", line 64
    ```suggestion```suggestion
    ^
SyntaxError: invalid syntax


@madebr
Copy link
Contributor

madebr commented Oct 19, 2020

You might also want to add the cmake patch that I added to ignition-math.

@conan-center-bot
Copy link
Collaborator

Some configurations of 'ignition-cmake/2.5.0' failed in build 6 (cb6a3672a0da183a5d102378f689aed5676a5d97):

  • Linux x86_64, Release, gcc 4.9, libstdc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./lib/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./lib/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./lib/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

@conan-center-bot
Copy link
Collaborator

Some configurations of 'ignition-cmake/2.5.0' failed in build 7 (2fa671d2303ccdc58d50b68bed0668a049a77803):

  • Linux x86_64, Release, gcc 4.9, libstdc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./lib/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./lib/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./lib/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

@joxoby joxoby marked this pull request as ready for review October 19, 2020 22:54
@conan-center-bot
Copy link
Collaborator

Some configurations of 'ignition-cmake/2.5.0' failed in build 8 (07e0368ffd089e7ec3251dbd974399fc3304c707):

  • Linux x86_64, Release, gcc 4.9, libstdc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./lib/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./lib/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./lib/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

@madebr
Copy link
Contributor

madebr commented Oct 20, 2020

See joxoby#3

@conan-center-bot
Copy link
Collaborator

Failure in build 9 (2333c246428f3ac8d783f475f837a8834356702d):

  • ignition-cmake/2.5.0
    • Hooks errors detected:
      • [HOOK - conan-center.py] pre_export(): ERROR: [CMAKE MINIMUM VERSION (KB-H028)] The CMake file 'recipes/ignition-cmake/all/test_package/src/CMakeLists.txt' must contain a minimum version declared at the beginning (e.g. cmake_minimum_required(VERSION 3.1.2)) (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H028)

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
@conan-center-bot
Copy link
Collaborator

Some configurations of 'ignition-cmake/2.5.0' failed in build 10 (bf44e0eba46ed10aba95cd3e91faea650372e3cc):

  • Linux x86_64, Release, gcc 4.9, libstdc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./lib/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./lib/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./lib/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

@madebr
Copy link
Contributor

madebr commented Oct 20, 2020

To get rid of the hook error, you will need to open a pull request at the hooks repo, adding the name of this recipe here:
https://github.com/conan-io/hooks/blob/9d0fcc4d042099387e9603da7be96a2934309039/hooks/conan-center.py#L761

@joxoby
Copy link
Contributor Author

joxoby commented Oct 20, 2020

To get rid of the hook error, you will need to open a pull request at the hooks repo, adding the name of this recipe here:
https://github.com/conan-io/hooks/blob/9d0fcc4d042099387e9603da7be96a2934309039/hooks/conan-center.py#L761

conan-io/hooks#247

homepage = "https://github.com/ignitionrobotics/ign-cmake"
description = "A set of CMake modules that are used by the C++-based Ignition projects."
topics = ("ignition", "robotics", "cmake")
settings = "os", "compiler", "build_type", "arch"
Copy link
Contributor

Choose a reason for hiding this comment

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

Hard to see on mobile but I believe the settings are not used.. can they be removed in this case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think so. Will remove.

Copy link
Contributor

Choose a reason for hiding this comment

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

Well, the cmake script builds a test library.
I left it in to be certain it would select the correct toolchain.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removing settings results in error:

ignition-cmake/2.5.0: ERROR: Generator cmake_find_package_multi(file:None) failed
'settings.build_type' doesn't exist
'settings' possible configurations are none
ERROR: 'settings.build_type' doesn't exist
'settings' possible configurations are none

Copy link
Contributor

Choose a reason for hiding this comment

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

I think you can remove cmake_find_package from generators.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's currently not part of generators. You mean line:

self.cpp_info.names["cmake_find_package"] = "ignition-cmake{}".format(version_major)

?

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
@conan-center-bot
Copy link
Collaborator

Some configurations of 'ignition-cmake/2.5.0' failed in build 11 (1bd6188c2e394c11c44a10dc5ec1e433837580ba):

  • Linux x86_64, Release, gcc 4.9, libstdc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./lib/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./lib/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./lib/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

prince-chrismc
prince-chrismc previously approved these changes Oct 20, 2020
This was referenced Oct 20, 2020
self.cpp_info.builddirs = [
os.path.join("lib", "cmake", "ignition-cmake{}".format(version_major)),
os.path.join("lib", "cmake", "ignition-cmake{}".format(version_major), "cmake{}".format(version_major)),
]
Copy link
Member

Choose a reason for hiding this comment

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

You have to pass build_modules:

self.cpp_info.builddirs = [cmake_base_path]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried with:

    def package_info(self):
        version_major = tools.Version(self.version).major
        self.cpp_info.names["cmake_find_package"] = "ignition-cmake{}".format(version_major)
        self.cpp_info.names["cmake_find_package_multi"] = "ignition-cmake{}".format(version_major)

        cmake_base_path = os.path.join("lib", "cmake", "ignition-cmake{}".format(version_major), "cmake{}".format(version_major))

        self.cpp_info.builddirs = [
            os.path.join("lib", "cmake", "ignition-cmake{}".format(version_major)),
            cmake_base_path,
        ]

        for cmake_file in glob.glob("{}/*.cmake".format(cmake_base_path)):
            self.cpp_info.build_modules.append(cmake_file)

But adding the last for loop results in an error during the test_package:

CMake Error at /home/juan/.conan/data/ignition-cmake/2.5.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake:75 (_ign_cmake_parse_arguments):
  Unknown CMake command "_ign_cmake_parse_arguments".
Call Stack (most recent call first):
  /home/juan/.conan/data/ignition-cmake/2.5.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake:19 (ign_pkg_check_modules_quiet)
  build/8e7da137254ca61c29cfd61de2482b72ba0ff99c/conanbuildinfo.cmake:857 (include)
  build/8e7da137254ca61c29cfd61de2482b72ba0ff99c/conanbuildinfo.cmake:335 (conan_include_build_modules)
  CMakeLists.txt:5 (conan_basic_setup)


-- Configuring incomplete, errors occurred!

This reverts commit 96b2ed3.
@conan-center-bot
Copy link
Collaborator

Some configurations of 'ignition-cmake/2.5.0' failed in build 13 (016020e40d53d13e89d2963fd4bea85583bbe82b):

  • Linux x86_64, Release, gcc 4.9, libstdc++
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./lib/cmake/ignition-cmake2/cmake2/FindAVCODEC.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVDEVICE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVFORMAT.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindAVUTIL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindCPPZMQ.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindDL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindEIGEN3.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindFreeImage.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindGTS.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIFADDRS.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnBullet.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnCURL.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnOGRE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnOGRE2.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindIgnProtobuf.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindJSONCPP.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindODE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindOptiX.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindSQLite3.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindSWSCALE.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindTINYXML2.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindUUID.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindYAML.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindZIP.cmake; ./lib/cmake/ignition-cmake2/cmake2/FindZeroMQ.cmake; ./lib/cmake/ignition-cmake2/cmake2/IgnPkgConfig.cmake; ./lib/cmake/ignition-cmake2/ignition-cmake2-config.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

@madebr madebr mentioned this pull request Oct 21, 2020
4 tasks
@conan-center-bot
Copy link
Collaborator

All green in build 14 (ee638b8f466504966a185fd1f50a5a829a985e61)! 😊

@joxoby joxoby requested a review from uilianries October 21, 2020 18:32
@SSE4 SSE4 requested a review from danimtb October 22, 2020 09:52
@joxoby
Copy link
Contributor Author

joxoby commented Oct 26, 2020

Just checking if we are waiting for something in particular to move forward

@madebr
Copy link
Contributor

madebr commented Oct 26, 2020

I don't really like these files in the package:

package/
└── 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    ├── lib
    │   ├── cmake
    │   │   └── ignition-cmake2
    │   │       ├── cmake2
    │   │       │   ├── FindAVCODEC.cmake
    │   │       │   ├── FindAVDEVICE.cmake
    │   │       │   ├── FindAVFORMAT.cmake
    │   │       │   ├── FindAVUTIL.cmake
    │   │       │   ├── FindCPPZMQ.cmake
    │   │       │   ├── FindDL.cmake
    │   │       │   ├── FindEIGEN3.cmake
    │   │       │   ├── FindFreeImage.cmake
    │   │       │   ├── FindGTS.cmake
    │   │       │   ├── FindIFADDRS.cmake
    │   │       │   ├── FindIgnBullet.cmake
    │   │       │   ├── FindIgnCURL.cmake
    │   │       │   ├── FindIgnOGRE2.cmake
    │   │       │   ├── FindIgnOGRE.cmake
    │   │       │   ├── FindIgnProtobuf.cmake
    │   │       │   ├── FindJSONCPP.cmake
    │   │       │   ├── FindODE.cmake
    │   │       │   ├── FindOptiX.cmake
    │   │       │   ├── FindSQLite3.cmake
    │   │       │   ├── FindSWSCALE.cmake
    │   │       │   ├── FindTINYXML2.cmake
    │   │       │   ├── FindUUID.cmake
    │   │       │   ├── FindYAML.cmake
    │   │       │   ├── FindZeroMQ.cmake
    │   │       │   ├── FindZIP.cmake
...
    │   │       │   ├── ignition-all-config.cmake.in
    │   │       │   ├── ignition-component-config.cmake.in
    │   │       │   ├── ignition-config.cmake.in
...
    │   │       ├── ignition-cmake2-config.cmake
    │   │       ├── ignition-cmake2-config-version.cmake
    │   │       └── ignition-cmake2-utilities-targets.cmake

They are used to finding dependencies of ignition libraries.
If some FindXX script fails, then I don't know where to patch things.
Removing them will make packaging harder, keeping them will also make packaging other things harder.

But I checked, through grep, that the generated package contains no absolute path to the build machine.
So I guess it's ok'ish?

Copy link
Contributor

@prince-chrismc prince-chrismc left a comment

Choose a reason for hiding this comment

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

Given the size of this library I think revisiting the packaged FindXXX.cmake is reasonable. This PR is complete and getting stale!

@joxoby
Copy link
Contributor Author

joxoby commented Nov 16, 2020

Should we move forward?

@prince-chrismc
Copy link
Contributor

Should we move forward?

Tag some extra reviewers, see if we can get some action here...

@SpaceIm
@ericLemanissier
@Croydon
@intelligide
@theirix

@conan-center-bot conan-center-bot merged commit 814de3e into conan-io:master Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants