conan-center-index icon indicating copy to clipboard operation
conan-center-index copied to clipboard

confu_json - v2 linter + yml linter

Open jgsogo opened this issue 3 years ago • 3 comments

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!


  • [ ] 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.

jgsogo avatar Aug 12 '22 11:08 jgsogo

Failure in build 1 (5d7b3aee621d10e413d119e029819676d2c3136c):

  • confu_json/0.0.5@: CI failed to create some packages (All logs)

    Logs for packageID 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MT
    compiler.version=15
    os=Windows
    
    [...]
    -- Library libboost_wserialization found C:/J/w/prod/BuildSingleReference/s/5f0130/1/lib/libboost_wserialization.lib
    -- Library libboost_serialization found C:/J/w/prod/BuildSingleReference/s/5f0130/1/lib/libboost_serialization.lib
    -- Library zlib found C:/J/w/prod/BuildSingleReference/.conan/data/zlib/1.2.12/_/_/package/7bd6f2c3d5c4e48a75805376b58cde753392f711/lib/zlib.lib
    -- Library bz2 found C:/J/w/prod/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/f346bbbb687a20f72b88f02617b6b8f1300bad72/lib/bz2.lib
    -- Conan: Adjusting default RPATHs Conan policies
    -- Conan: Adjusting language standard
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/J/w/prod/BuildSingleReference/conan-center-index/recipes/confu_json/all/test_package/build/12cc9b982277429c7047b05d3602252f4c74a542
    
    ----Running------
    > cmake --build C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542 --config Release -- /m:8 /verbosity:minimal
    -----------------
    Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.
    
      Checking Build System
      Building Custom Rule C:/J/w/prod/BuildSingleReference/conan-center-index/recipes/confu_json/all/test_package/CMakeLists.txt
      example.cpp
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(16): error C2061: syntax error: identifier 'IsPrintable' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(16): error C2143: syntax error: missing ';' before '{' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(16): error C2447: '{': missing function header (old-style formal list?) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(18): error C2061: syntax error: identifier 'IsOptional' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(18): error C2143: syntax error: missing ';' before '{' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(18): error C2447: '{': missing function header (old-style formal list?) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(20): error C2061: syntax error: identifier 'IsPair' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(20): error C2143: syntax error: missing ';' before '{' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(20): error C2447: '{': missing function header (old-style formal list?) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(22): error C2061: syntax error: identifier 'IsArray' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(22): error C2143: syntax error: missing ';' before '{' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(22): error C2447: '{': missing function header (old-style formal list?) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(26): error C2061: syntax error: identifier 'IsFusionStruct' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(26): error C2143: syntax error: missing ';' before '{' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/concept.hxx(26): error C2447: '{': missing function header (old-style formal list?) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542\test_package.vcxproj]
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_EXPORT_NO_PACKAGE_REGISTRY
        CMAKE_INSTALL_BINDIR
        CMAKE_INSTALL_DATAROOTDIR
        CMAKE_INSTALL_INCLUDEDIR
        CMAKE_INSTALL_LIBDIR
        CMAKE_INSTALL_LIBEXECDIR
        CMAKE_INSTALL_OLDINCLUDEDIR
        CMAKE_INSTALL_SBINDIR
    
    
    ERROR: confu_json/0.0.5 (test package): Error in build() method, line 12
    	cmake.build()
    	ConanException: Error 1 while executing cmake --build C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\confu_json\all\test_package\build\12cc9b982277429c7047b05d3602252f4c74a542 --config Release -- /m:8 /verbosity:minimal
    

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-center-bot avatar Aug 12 '22 11:08 conan-center-bot

Failure in build 2 (8e0cdbd248b0ba759dd2906f4f20fca802c28b89):

  • confu_json/0.0.5@: CI failed to create some packages (All logs)

    Logs for packageID 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MT
    compiler.version=16
    os=Windows
    
    [...]
    -- Library libboost_timer found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_timer.lib
    -- Library libboost_type_erasure found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_type_erasure.lib
    -- Library libboost_thread found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_thread.lib
    -- Library libboost_chrono found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_chrono.lib
    -- Library libboost_container found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_container.lib
    -- Library libboost_date_time found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_date_time.lib
    -- Library libboost_unit_test_framework found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_unit_test_framework.lib
    -- Library libboost_prg_exec_monitor found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_prg_exec_monitor.lib
    -- Library libboost_test_exec_monitor found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_test_exec_monitor.lib
    -- Library libboost_exception found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_exception.lib
    -- Library libboost_wave found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_wave.lib
    -- Library libboost_filesystem found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_filesystem.lib
    -- Library libboost_atomic found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_atomic.lib
    -- Library libboost_wserialization found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_wserialization.lib
    -- Library libboost_serialization found C:/J/w/prod/BuildSingleReference@2/s/f686fb/1/lib/libboost_serialization.lib
    -- Library zlib found C:/J/w/prod/BuildSingleReference@2/.conan/data/zlib/1.2.12/_/_/package/a79a557254fabcb77849dd623fed97c9c5ab7651/lib/zlib.lib
    -- Library bz2 found C:/J/w/prod/BuildSingleReference@2/.conan/data/bzip2/1.0.8/_/_/package/8feb221a01dcb7f80d1d66f9676d4e44215f5e08/lib/bz2.lib
    -- Conan: Adjusting default RPATHs Conan policies
    -- Conan: Adjusting language standard
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/J/w/prod/BuildSingleReference@2/conan-center-index/recipes/confu_json/all/test_package/build/a74c8d06aa05d0d736cc741d1e679b3b5d4f713a
    
    ----Running------
    > cmake --build C:\J\w\prod\BuildSingleReference@2\conan-center-index\recipes\confu_json\all\test_package\build\a74c8d06aa05d0d736cc741d1e679b3b5d4f713a --config Release -- /m:8 /verbosity:minimal
    -----------------
    Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.
    
      Checking Build System
      Building Custom Rule C:/J/w/prod/BuildSingleReference@2/conan-center-index/recipes/confu_json/all/test_package/CMakeLists.txt
      example.cpp
    C:\J\w\prod\BuildSingleReference@2\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/util.hxx(24,3): error C3861: 'name': identifier not found [C:\J\w\prod\BuildSingleReference@2\conan-center-index\recipes\confu_json\all\test_package\build\a74c8d06aa05d0d736cc741d1e679b3b5d4f713a\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference@2\.conan\data\confu_json\0.0.5\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\confu_json/util.hxx(26,38): error C3861: 'name': identifier not found [C:\J\w\prod\BuildSingleReference@2\conan-center-index\recipes\confu_json\all\test_package\build\a74c8d06aa05d0d736cc741d1e679b3b5d4f713a\test_package.vcxproj]
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_EXPORT_NO_PACKAGE_REGISTRY
        CMAKE_INSTALL_BINDIR
        CMAKE_INSTALL_DATAROOTDIR
        CMAKE_INSTALL_INCLUDEDIR
        CMAKE_INSTALL_LIBDIR
        CMAKE_INSTALL_LIBEXECDIR
        CMAKE_INSTALL_OLDINCLUDEDIR
        CMAKE_INSTALL_SBINDIR
    
    
    ERROR: confu_json/0.0.5 (test package): Error in build() method, line 12
    	cmake.build()
    	ConanException: Error 1 while executing cmake --build C:\J\w\prod\BuildSingleReference@2\conan-center-index\recipes\confu_json\all\test_package\build\a74c8d06aa05d0d736cc741d1e679b3b5d4f713a --config Release -- /m:8 /verbosity:minimal
    

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-center-bot avatar Aug 12 '22 12:08 conan-center-bot

Hi, @werto87 , can you have a look here? I think you are missing a variable type here. I don't know why/how this package got merged 🤔

https://github.com/werto87/confu_json/blob/cd18bd58a704f94c8b647ab1f40c0b9ad8d54fd9/confu_json/util.hxx#L24

jgsogo avatar Aug 12 '22 12:08 jgsogo

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

  • #12294

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

ericLemanissierBot avatar Aug 17 '22 09:08 ericLemanissierBot

Closed in favor of https://github.com/conan-io/conan-center-index/pull/12294, opened by the author themself.

jgsogo avatar Aug 17 '22 10:08 jgsogo