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

confu_json: add version 1.0.0, support conan v2 #15407

Closed
wants to merge 1 commit into from

Conversation

toge
Copy link
Contributor

@toge toge commented Jan 22, 2023

Specify library name and version: confu_json/*

  • add version 1.0.0
  • support conan v2
  • add C++17 check because confu/1.0.0 supports C++17

@ghost
Copy link

ghost commented Jan 22, 2023

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

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

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 1 (928741c5f871209538c01c5009ae3d224fb66237):

  • confu_json/0.0.10@:
    Didn't run or was cancelled before finishing

  • confu_json/0.0.9@:
    Didn't run or was cancelled before finishing

  • confu_json/0.0.5@:
    Didn't run or was cancelled before finishing

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

    Logs for packageID 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=9
    os=Linux
    
    [...]
                     from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/confu_json/all/test_package/test_package.cpp:1:
    /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/util.hxx:46:32: note:   ‘std::stringstream’ {aka ‘std::__cxx11::basic_stringstream<char>’} is not derived from ‘std::basic_istream<_CharT, _Traits>’
       46 |   while (std::getline (is, line))
          |                                ^
    In file included from /usr/include/c++/9/string:55,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/boost/1.81.0/_/_/package/ca891ed5c8e67ebb3e46639c100abdbca6d8b11e/include/boost/algorithm/string/std/string_traits.hpp:15,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/boost/1.81.0/_/_/package/ca891ed5c8e67ebb3e46639c100abdbca6d8b11e/include/boost/algorithm/string/std_containers_traits.hpp:19,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/boost/1.81.0/_/_/package/ca891ed5c8e67ebb3e46639c100abdbca6d8b11e/include/boost/algorithm/string.hpp:18,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/concept.hxx:9,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/to_json.hxx:10,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/confu_json.hxx:12,
                     from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/confu_json/all/test_package/test_package.cpp:1:
    /usr/include/c++/9/bits/basic_string.h:6464:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&, _CharT)’
     6464 |     getline(basic_istream<_CharT, _Traits>&& __is,
          |     ^~~~~~~
    /usr/include/c++/9/bits/basic_string.h:6464:5: note:   template argument deduction/substitution failed:
    In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/to_json.hxx:11,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/confu_json.hxx:12,
                     from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/confu_json/all/test_package/test_package.cpp:1:
    /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/util.hxx:46:32: note:   ‘std::stringstream’ {aka ‘std::__cxx11::basic_stringstream<char>’} is not derived from ‘std::basic_istream<_CharT, _Traits>’
       46 |   while (std::getline (is, line))
          |                                ^
    In file included from /usr/include/c++/9/string:55,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/boost/1.81.0/_/_/package/ca891ed5c8e67ebb3e46639c100abdbca6d8b11e/include/boost/algorithm/string/std/string_traits.hpp:15,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/boost/1.81.0/_/_/package/ca891ed5c8e67ebb3e46639c100abdbca6d8b11e/include/boost/algorithm/string/std_containers_traits.hpp:19,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/boost/1.81.0/_/_/package/ca891ed5c8e67ebb3e46639c100abdbca6d8b11e/include/boost/algorithm/string.hpp:18,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/concept.hxx:9,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/to_json.hxx:10,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/confu_json.hxx:12,
                     from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/confu_json/all/test_package/test_package.cpp:1:
    /usr/include/c++/9/bits/basic_string.h:6471:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
     6471 |     getline(basic_istream<_CharT, _Traits>&& __is,
          |     ^~~~~~~
    /usr/include/c++/9/bits/basic_string.h:6471:5: note:   template argument deduction/substitution failed:
    In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/to_json.hxx:11,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/confu_json.hxx:12,
                     from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/confu_json/all/test_package/test_package.cpp:1:
    /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/util.hxx:46:32: note:   ‘std::stringstream’ {aka ‘std::__cxx11::basic_stringstream<char>’} is not derived from ‘std::basic_istream<_CharT, _Traits>’
       46 |   while (std::getline (is, line))
          |                                ^
    /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/util.hxx: In function ‘boost::json::value confu_json::read_json(const string&, boost::json::error_code&)’:
    /home/conan/w/prod/BuildSingleReference/.conan/data/confu_json/1.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/confu_json/util.hxx:59:21: error: variable ‘std::stringstream is’ has initializer but incomplete type
       59 |   std::stringstream is{};
          |                     ^~
    make[2]: *** [test_package/CMakeFiles/test_package.dir/build.make:82: test_package/CMakeFiles/test_package.dir/test_package.cpp.o] Error 1
    make[1]: *** [CMakeFiles/Makefile2:113: test_package/CMakeFiles/test_package.dir/all] Error 2
    make: *** [Makefile:103: all] Error 2
    ERROR: confu_json/1.0.0 (test package): Error in build() method, line 13
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/confu_json/all/test_v1_package/build/dd4f758f56da1cf19b4ccbf15cc7dfa8149e8b47' '--' '-j3'
    

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.

@toge
Copy link
Contributor Author

toge commented Jan 22, 2023

I missed other PR.
I will close it.

@toge toge closed this Jan 22, 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.

2 participants