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

antlr4-cppruntime: Upgrade to 4.11.0/4.11.1

Open 0xFireWolf opened this issue 2 years ago • 27 comments

Specify library name and version: antlr4-cppruntime/4.11.0, 4.11.1

This PR contains the following changes:

  • Upgrade the runtime library to 4.11.0 and 4.11.1.
  • Drop the dependency on libuuid as of 4.11.0.
    • Related PR: https://github.com/antlr/antlr4/pull/3787/
  • Support ARM architectures as of 4.11.0.
    • The previous receipt mentions that ARM is not supported due to the missing library libuuid.
  • ~~The minimum version of GCC is now 8 (previously 7) to target C++17.~~ (Will be reverted; See Below.)

Thank you.


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

0xFireWolf avatar Sep 12 '22 00:09 0xFireWolf

Failure in build 1 (4c5e97d456c2f30722b3ea340b75f96851ea3ac3):

  • antlr4-cppruntime/4.9.3@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.11@: CI failed to create some packages (All logs)

    Logs for packageID f1c7884383d435a52c65f6215b52c60f46287aa1:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    antlr4-cppruntime:shared=False
    
    [...]
    /usr/include/c++/7/bits/unordered_map.h:288:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
           operator=(initializer_list<value_type> __l)
           ^~~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:386:2: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
      emplace(_Args&&... __args)
      ^~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:469:9: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
             try_emplace(const key_type& __k, _Args&&... __args)
             ^~~~~~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:487:9: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
             try_emplace(key_type&& __k, _Args&&... __args)
             ^~~~~~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:578:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
           insert(const value_type& __x)
           ^~~~~~
    /usr/include/c++/7/bits/unordered_map.h:585:2: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
      insert(_Pair&& __x)
      ^~~~~~
    /usr/include/c++/7/bits/unordered_map.h:645:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
           insert(initializer_list<value_type> __l)
           ^~~~~~
    /usr/include/c++/7/bits/unordered_map.h:673:9: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
             insert_or_assign(const key_type& __k, _Obj&& __obj)
             ^~~~~~~~~~~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:691:9: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
             insert_or_assign(key_type&& __k, _Obj&& __obj)
             ^~~~~~~~~~~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:941:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
           equal_range(const key_type& __x)
           ^~~~~~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:945:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
           equal_range(const key_type& __x) const
           ^~~~~~~~~~~
    In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/f1c7884383d435a52c65f6215b52c60f46287aa1/source_subfolder/runtime/Cpp/runtime/src/atn/ParserATNSimulator.h:12:0,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/f1c7884383d435a52c65f6215b52c60f46287aa1/source_subfolder/runtime/Cpp/runtime/src/DefaultErrorStrategy.cpp:8:
    /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/f1c7884383d435a52c65f6215b52c60f46287aa1/source_subfolder/runtime/Cpp/runtime/src/atn/PredictionContextMergeCache.h:88:85: error: template argument 5 is invalid
                                       PredictionContextHasher, PredictionContextComparer>;
                                                                                         ^
    /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/f1c7884383d435a52c65f6215b52c60f46287aa1/source_subfolder/runtime/Cpp/runtime/src/atn/PredictionContextMergeCache.h:92:5: error: ‘Container’ does not name a type
         Container _entries;
         ^~~~~~~~~
    make[2]: *** [source_subfolder/runtime/Cpp/runtime/CMakeFiles/antlr4_shared.dir/src/DefaultErrorStrategy.cpp.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[1]: *** [source_subfolder/runtime/Cpp/runtime/CMakeFiles/antlr4_shared.dir/all] Error 2
    make: *** [all] Error 2
    antlr4-cppruntime/4.11: ERROR: Package 'f1c7884383d435a52c65f6215b52c60f46287aa1' build failed
    antlr4-cppruntime/4.11: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/f1c7884383d435a52c65f6215b52c60f46287aa1
    ERROR: antlr4-cppruntime/4.11: Error in build() method, line 127
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/f1c7884383d435a52c65f6215b52c60f46287aa1/build_subfolder' '--' '-j3'
    
  • antlr4-cppruntime/4.10.1@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.10@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.11.1@: 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.

conan-center-bot avatar Sep 12 '22 00:09 conan-center-bot

Failure in build 2 (b53e35bb9a407b1008e5ef717719f54131a998b9):

  • antlr4-cppruntime/4.10.1@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.9.3@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.10@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.11@: CI failed to create some packages (All logs)

    Logs for packageID e23ebf76f2c68d7474f1d606391343e4be1c8342:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=clang
    compiler.libcxx=libstdc++
    compiler.version=11
    os=Linux
    [options]
    antlr4-cppruntime:shared=False
    
    [...]
    /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342/source_subfolder/runtime/Cpp/runtime/src/atn/PredictionContextMergeCache.h:87:23: note: in instantiation of default argument for 'FlatHashMap<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>, antlr4::atn::PredictionContextMergeCache::PredictionContextHasher, antlr4::atn::PredictionContextMergeCache::PredictionContextComparer>' required here
        using Container = FlatHashMap<PredictionContextPair, std::unique_ptr<Entry>,
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342/source_subfolder/runtime/Cpp/runtime/src/DefaultErrorStrategy.cpp:6:
    In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342/source_subfolder/runtime/Cpp/runtime/src/NoViableAltException.h:8:
    In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342/source_subfolder/runtime/Cpp/runtime/src/RecognitionException.h:8:
    In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342/source_subfolder/runtime/Cpp/runtime/src/Exceptions.h:8:
    In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342/source_subfolder/runtime/Cpp/runtime/src/antlr4-common.h:31:
    In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/unordered_map:48:
    /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/unordered_map.h:584:7: error: functions that differ only in their return type cannot be overloaded
          insert(value_type&& __x)
          ^
    /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342/source_subfolder/runtime/Cpp/runtime/src/FlatHashMap.h:53:48: note: in instantiation of template class 'std::unordered_map<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>, std::hash<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>>, std::equal_to<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>>, std::allocator<std::pair<const std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>>>>' requested here
                typename Allocator = typename std::unordered_map<Key, Value>::allocator_type>
                                                   ^
    /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342/source_subfolder/runtime/Cpp/runtime/src/atn/PredictionContextMergeCache.h:87:23: note: in instantiation of default argument for 'FlatHashMap<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>, antlr4::atn::PredictionContextMergeCache::PredictionContextHasher, antlr4::atn::PredictionContextMergeCache::PredictionContextComparer>' required here
        using Container = FlatHashMap<PredictionContextPair, std::unique_ptr<Entry>,
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/unordered_map.h:436:7: note: previous declaration is here
          insert(node_type&& __nh)
          ^
    /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/unordered_map.h:623:7: error: multiple overloads of 'insert' instantiate to the same signature 'std::unordered_map<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>, std::hash<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>>, std::equal_to<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>>, std::allocator<std::pair<const std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>>>>::iterator (std::unordered_map<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>, std::hash<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>>, std::equal_to<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>>, std::allocator<std::pair<const std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>>>>::const_iterator, std::unordered_map<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>, std::hash<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>>, std::equal_to<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>>, std::allocator<std::pair<const std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>>>>::value_type &&)' (aka 'int (int, int &&)')
          insert(const_iterator __hint, value_type&& __x)
          ^
    /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/unordered_map.h:441:7: note: previous declaration is here
          insert(const_iterator, node_type&& __nh)
          ^
    /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/unordered_map.h:796:7: error: multiple overloads of 'erase' instantiate to the same signature 'std::unordered_map<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>, std::hash<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>>, std::equal_to<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>>, std::allocator<std::pair<const std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>>>>::iterator (std::unordered_map<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>, std::hash<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>>, std::equal_to<std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>>, std::allocator<std::pair<const std::pair<const antlr4::atn::PredictionContext *, const antlr4::atn::PredictionContext *>, std::unique_ptr<antlr4::atn::PredictionContextMergeCache::Entry, std::default_delete<antlr4::atn::PredictionContextMergeCache::Entry>>>>>::iterator)' (aka 'int (int)')
          erase(iterator __position)
          ^
    /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/unordered_map.h:791:7: note: previous declaration is here
          erase(const_iterator __position)
          ^
    In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342/source_subfolder/runtime/Cpp/runtime/src/DefaultErrorStrategy.cpp:8:
    In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342/source_subfolder/runtime/Cpp/runtime/src/atn/ParserATNSimulator.h:12:
    /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342/source_subfolder/runtime/Cpp/runtime/src/atn/PredictionContextMergeCache.h:92:5: error: unknown type name 'Container'
        Container _entries;
        ^
    5 errors generated.
    make[2]: *** [source_subfolder/runtime/Cpp/runtime/CMakeFiles/antlr4_static.dir/src/DefaultErrorStrategy.cpp.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[1]: *** [source_subfolder/runtime/Cpp/runtime/CMakeFiles/antlr4_shared.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make[1]: *** [source_subfolder/runtime/Cpp/runtime/CMakeFiles/antlr4_static.dir/all] Error 2
    make: *** [all] Error 2
    antlr4-cppruntime/4.11: ERROR: Package 'e23ebf76f2c68d7474f1d606391343e4be1c8342' build failed
    antlr4-cppruntime/4.11: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342
    ERROR: antlr4-cppruntime/4.11: Error in build() method, line 127
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/e23ebf76f2c68d7474f1d606391343e4be1c8342/build_subfolder' '--' '-j3'
    
  • antlr4-cppruntime/4.11.1@: 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.

conan-center-bot avatar Sep 12 '22 02:09 conan-center-bot

The compiler errors reported by GCC 7 has been fixed by the PR https://github.com/antlr/antlr4/pull/3885 which is pending review and approval. The minimum compiler requirement will be restored from GCC 8 to GCC 7. Depending upon when the next version of antlr4 will be released, I may choose to include a patch file that fixes the compiler errors to ship antlr4-cppruntime/4.11.1 as soon as possible.


  • [ ] Antlr4 Pull request has been merged
  • [x] The compiler requirement has been restored
  • [x] The patch file specified to 4.11.0/4.11.1 is now included

0xFireWolf avatar Sep 12 '22 03:09 0xFireWolf

Failure in build 3 (4aa3e2dc5fe40c57a99b77d29f5f46688f7f0d95):

  • antlr4-cppruntime/4.10.1@: Error running command conan export recipes/antlr4-cppruntime/all/conanfile.py antlr4-cppruntime/4.10.1@:

    [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK
    [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK
    [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK
    [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK
    [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 12.4609375 KB
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK
    [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK
    [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK
    [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK
    [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK
    [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK
    [HOOK - conan-center.py] pre_export(): [NOT ALLOWED ATTRIBUTES (KB-H039)] OK
    [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK
    [HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK
    [HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK
    [HOOK - conan-center.py] pre_export(): [CONFIG.YML HAS NEW VERSION (KB-H052)] OK
    [HOOK - conan-center.py] pre_export(): [PRIVATE IMPORTS (KB-H053)] OK
    [HOOK - conan-center.py] pre_export(): [SINGLE REQUIRES (KB-H055)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS RENAME (KB-H057)] OK
    [HOOK - conan-center.py] pre_export(): [ILLEGAL CHARACTERS (KB-H058)] OK
    [HOOK - conan-center.py] pre_export(): [CLASS NAME (KB-H059)] OK
    [HOOK - conan-center.py] pre_export(): [NO CRLF (KB-H060)] OK
    [HOOK - conan-center.py] pre_export(): [NO BUILD SYSTEM FUNCTIONS (KB-H061)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS CROSS BUILDING (KB-H062)] OK
    [HOOK - conan-center.py] pre_export(): [INVALID TOPICS (KB-H064)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRED_CONAN_VERSION (KB-H065)] OK
    [HOOK - conan-center.py] pre_export(): [TEST_TYPE MANAGEMENT (KB-H068)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO DEFAULT OPTIONS (KB-H069)] OK
    [HOOK - conan-center.py] pre_export(): [MANDATORY SETTINGS (KB-H070)] OK
    [HOOK - conan-center.py] pre_export(): ERROR: [NO FINAL ENDLINE (KB-H041)] File '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/patches/0002-update-FlatHashSet.patch' does not end with an endline (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H041) 
    [HOOK - conan-center.py] pre_export(): ERROR: [NO FINAL ENDLINE (KB-H041)] File '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/patches/0003-update-FlatHashMap.patch' does not end with an endline (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H041) 
    ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output
    
  • antlr4-cppruntime/4.9.3@: Error running command conan export recipes/antlr4-cppruntime/all/conanfile.py antlr4-cppruntime/4.9.3@:

    [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK
    [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK
    [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK
    [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK
    [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 12.4609375 KB
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK
    [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK
    [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK
    [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK
    [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK
    [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK
    [HOOK - conan-center.py] pre_export(): [NOT ALLOWED ATTRIBUTES (KB-H039)] OK
    [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK
    [HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK
    [HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK
    [HOOK - conan-center.py] pre_export(): [CONFIG.YML HAS NEW VERSION (KB-H052)] OK
    [HOOK - conan-center.py] pre_export(): [PRIVATE IMPORTS (KB-H053)] OK
    [HOOK - conan-center.py] pre_export(): [SINGLE REQUIRES (KB-H055)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS RENAME (KB-H057)] OK
    [HOOK - conan-center.py] pre_export(): [ILLEGAL CHARACTERS (KB-H058)] OK
    [HOOK - conan-center.py] pre_export(): [CLASS NAME (KB-H059)] OK
    [HOOK - conan-center.py] pre_export(): [NO CRLF (KB-H060)] OK
    [HOOK - conan-center.py] pre_export(): [NO BUILD SYSTEM FUNCTIONS (KB-H061)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS CROSS BUILDING (KB-H062)] OK
    [HOOK - conan-center.py] pre_export(): [INVALID TOPICS (KB-H064)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRED_CONAN_VERSION (KB-H065)] OK
    [HOOK - conan-center.py] pre_export(): [TEST_TYPE MANAGEMENT (KB-H068)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO DEFAULT OPTIONS (KB-H069)] OK
    [HOOK - conan-center.py] pre_export(): [MANDATORY SETTINGS (KB-H070)] OK
    [HOOK - conan-center.py] pre_export(): ERROR: [NO FINAL ENDLINE (KB-H041)] File '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/patches/0002-update-FlatHashSet.patch' does not end with an endline (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H041) 
    [HOOK - conan-center.py] pre_export(): ERROR: [NO FINAL ENDLINE (KB-H041)] File '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/patches/0003-update-FlatHashMap.patch' does not end with an endline (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H041) 
    ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output
    
  • antlr4-cppruntime/4.10@: Error running command conan export recipes/antlr4-cppruntime/all/conanfile.py antlr4-cppruntime/4.10@:

    [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK
    [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK
    [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK
    [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK
    [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 12.4609375 KB
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK
    [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK
    [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK
    [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK
    [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK
    [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK
    [HOOK - conan-center.py] pre_export(): [NOT ALLOWED ATTRIBUTES (KB-H039)] OK
    [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK
    [HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK
    [HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK
    [HOOK - conan-center.py] pre_export(): [CONFIG.YML HAS NEW VERSION (KB-H052)] OK
    [HOOK - conan-center.py] pre_export(): [PRIVATE IMPORTS (KB-H053)] OK
    [HOOK - conan-center.py] pre_export(): [SINGLE REQUIRES (KB-H055)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS RENAME (KB-H057)] OK
    [HOOK - conan-center.py] pre_export(): [ILLEGAL CHARACTERS (KB-H058)] OK
    [HOOK - conan-center.py] pre_export(): [CLASS NAME (KB-H059)] OK
    [HOOK - conan-center.py] pre_export(): [NO CRLF (KB-H060)] OK
    [HOOK - conan-center.py] pre_export(): [NO BUILD SYSTEM FUNCTIONS (KB-H061)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS CROSS BUILDING (KB-H062)] OK
    [HOOK - conan-center.py] pre_export(): [INVALID TOPICS (KB-H064)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRED_CONAN_VERSION (KB-H065)] OK
    [HOOK - conan-center.py] pre_export(): [TEST_TYPE MANAGEMENT (KB-H068)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO DEFAULT OPTIONS (KB-H069)] OK
    [HOOK - conan-center.py] pre_export(): [MANDATORY SETTINGS (KB-H070)] OK
    [HOOK - conan-center.py] pre_export(): ERROR: [NO FINAL ENDLINE (KB-H041)] File '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/patches/0002-update-FlatHashSet.patch' does not end with an endline (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H041) 
    [HOOK - conan-center.py] pre_export(): ERROR: [NO FINAL ENDLINE (KB-H041)] File '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/patches/0003-update-FlatHashMap.patch' does not end with an endline (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H041) 
    ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output
    
  • antlr4-cppruntime/4.11@: Error running command conan export recipes/antlr4-cppruntime/all/conanfile.py antlr4-cppruntime/4.11@:

    [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK
    [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK
    [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK
    [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK
    [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 12.4609375 KB
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK
    [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK
    [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK
    [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK
    [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK
    [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK
    [HOOK - conan-center.py] pre_export(): [NOT ALLOWED ATTRIBUTES (KB-H039)] OK
    [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK
    [HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK
    [HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK
    [HOOK - conan-center.py] pre_export(): [CONFIG.YML HAS NEW VERSION (KB-H052)] OK
    [HOOK - conan-center.py] pre_export(): [PRIVATE IMPORTS (KB-H053)] OK
    [HOOK - conan-center.py] pre_export(): [SINGLE REQUIRES (KB-H055)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS RENAME (KB-H057)] OK
    [HOOK - conan-center.py] pre_export(): [ILLEGAL CHARACTERS (KB-H058)] OK
    [HOOK - conan-center.py] pre_export(): [CLASS NAME (KB-H059)] OK
    [HOOK - conan-center.py] pre_export(): [NO CRLF (KB-H060)] OK
    [HOOK - conan-center.py] pre_export(): [NO BUILD SYSTEM FUNCTIONS (KB-H061)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS CROSS BUILDING (KB-H062)] OK
    [HOOK - conan-center.py] pre_export(): [INVALID TOPICS (KB-H064)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRED_CONAN_VERSION (KB-H065)] OK
    [HOOK - conan-center.py] pre_export(): [TEST_TYPE MANAGEMENT (KB-H068)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO DEFAULT OPTIONS (KB-H069)] OK
    [HOOK - conan-center.py] pre_export(): [MANDATORY SETTINGS (KB-H070)] OK
    [HOOK - conan-center.py] pre_export(): ERROR: [NO FINAL ENDLINE (KB-H041)] File '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/patches/0002-update-FlatHashSet.patch' does not end with an endline (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H041) 
    [HOOK - conan-center.py] pre_export(): ERROR: [NO FINAL ENDLINE (KB-H041)] File '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/patches/0003-update-FlatHashMap.patch' does not end with an endline (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H041) 
    ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output
    
  • antlr4-cppruntime/4.11.1@: Error running command conan export recipes/antlr4-cppruntime/all/conanfile.py antlr4-cppruntime/4.11.1@:

    [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK
    [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK
    [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK
    [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK
    [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 12.4609375 KB
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK
    [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK
    [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK
    [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK
    [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK
    [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK
    [HOOK - conan-center.py] pre_export(): [NOT ALLOWED ATTRIBUTES (KB-H039)] OK
    [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK
    [HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK
    [HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK
    [HOOK - conan-center.py] pre_export(): [CONFIG.YML HAS NEW VERSION (KB-H052)] OK
    [HOOK - conan-center.py] pre_export(): [PRIVATE IMPORTS (KB-H053)] OK
    [HOOK - conan-center.py] pre_export(): [SINGLE REQUIRES (KB-H055)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS RENAME (KB-H057)] OK
    [HOOK - conan-center.py] pre_export(): [ILLEGAL CHARACTERS (KB-H058)] OK
    [HOOK - conan-center.py] pre_export(): [CLASS NAME (KB-H059)] OK
    [HOOK - conan-center.py] pre_export(): [NO CRLF (KB-H060)] OK
    [HOOK - conan-center.py] pre_export(): [NO BUILD SYSTEM FUNCTIONS (KB-H061)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS CROSS BUILDING (KB-H062)] OK
    [HOOK - conan-center.py] pre_export(): [INVALID TOPICS (KB-H064)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRED_CONAN_VERSION (KB-H065)] OK
    [HOOK - conan-center.py] pre_export(): [TEST_TYPE MANAGEMENT (KB-H068)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO DEFAULT OPTIONS (KB-H069)] OK
    [HOOK - conan-center.py] pre_export(): [MANDATORY SETTINGS (KB-H070)] OK
    [HOOK - conan-center.py] pre_export(): ERROR: [NO FINAL ENDLINE (KB-H041)] File '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/patches/0002-update-FlatHashSet.patch' does not end with an endline (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H041) 
    [HOOK - conan-center.py] pre_export(): ERROR: [NO FINAL ENDLINE (KB-H041)] File '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/patches/0003-update-FlatHashMap.patch' does not end with an endline (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H041) 
    ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output
    

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 Sep 12 '22 06:09 conan-center-bot

Failure in build 4 (66985e4910a571ad8bad8725c183c66352949241):

  • antlr4-cppruntime/4.10.1@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.9.3@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.11@: CI failed to create some packages (All logs)

    Logs for packageID 958fe2db58718d97647e09aeb65065e995fc86e7:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    antlr4-cppruntime:shared=False
    
    [...]
    /usr/include/c++/7/bits/unordered_map.h:386:2: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
      emplace(_Args&&... __args)
      ^~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:469:9: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
             try_emplace(const key_type& __k, _Args&&... __args)
             ^~~~~~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:487:9: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
             try_emplace(key_type&& __k, _Args&&... __args)
             ^~~~~~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:578:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
           insert(const value_type& __x)
           ^~~~~~
    /usr/include/c++/7/bits/unordered_map.h:585:2: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
      insert(_Pair&& __x)
      ^~~~~~
    /usr/include/c++/7/bits/unordered_map.h:645:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
           insert(initializer_list<value_type> __l)
           ^~~~~~
    /usr/include/c++/7/bits/unordered_map.h:673:9: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
             insert_or_assign(const key_type& __k, _Obj&& __obj)
             ^~~~~~~~~~~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:691:9: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
             insert_or_assign(key_type&& __k, _Obj&& __obj)
             ^~~~~~~~~~~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:941:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
           equal_range(const key_type& __x)
           ^~~~~~~~~~~
    /usr/include/c++/7/bits/unordered_map.h:945:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > >, std::__detail::__is_noexcept_hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*>, std::hash<std::pair<const antlr4::atn::PredictionContext*, const antlr4::atn::PredictionContext*> > > > >’
           equal_range(const key_type& __x) const
           ^~~~~~~~~~~
    In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/958fe2db58718d97647e09aeb65065e995fc86e7/source_subfolder/runtime/Cpp/runtime/src/atn/ParserATNSimulator.h:12:0,
                     from /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/958fe2db58718d97647e09aeb65065e995fc86e7/source_subfolder/runtime/Cpp/runtime/src/DefaultErrorStrategy.cpp:8:
    /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/958fe2db58718d97647e09aeb65065e995fc86e7/source_subfolder/runtime/Cpp/runtime/src/atn/PredictionContextMergeCache.h:88:85: error: template argument 5 is invalid
                                       PredictionContextHasher, PredictionContextComparer>;
                                                                                         ^
    /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/958fe2db58718d97647e09aeb65065e995fc86e7/source_subfolder/runtime/Cpp/runtime/src/atn/PredictionContextMergeCache.h:92:5: error: ‘Container’ does not name a type
         Container _entries;
         ^~~~~~~~~
    make[2]: *** [source_subfolder/runtime/Cpp/runtime/CMakeFiles/antlr4_shared.dir/src/DefaultErrorStrategy.cpp.o] Error 1
    make[1]: *** [source_subfolder/runtime/Cpp/runtime/CMakeFiles/antlr4_shared.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make[2]: *** [source_subfolder/runtime/Cpp/runtime/CMakeFiles/antlr4_static.dir/src/DefaultErrorStrategy.cpp.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[1]: *** [source_subfolder/runtime/Cpp/runtime/CMakeFiles/antlr4_static.dir/all] Error 2
    make: *** [all] Error 2
    antlr4-cppruntime/4.11: ERROR: Package '958fe2db58718d97647e09aeb65065e995fc86e7' build failed
    antlr4-cppruntime/4.11: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/958fe2db58718d97647e09aeb65065e995fc86e7
    ERROR: antlr4-cppruntime/4.11: Error in build() method, line 127
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.11/_/_/build/958fe2db58718d97647e09aeb65065e995fc86e7/build_subfolder' '--' '-j3'
    
  • antlr4-cppruntime/4.10@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.11.1@: 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.

conan-center-bot avatar Sep 12 '22 06:09 conan-center-bot

All green in build 6 (a73153d1d80e42132db0aedbba3117c5e35af944):

  • antlr4-cppruntime/4.10@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py", line 2, in <module>
        from conans import ConanFile, CMake, tools
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • antlr4-cppruntime/4.9.3@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py", line 2, in <module>
        from conans import ConanFile, CMake, tools
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • antlr4-cppruntime/4.10.1@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py", line 2, in <module>
        from conans import ConanFile, CMake, tools
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • antlr4-cppruntime/4.11.1@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py", line 2, in <module>
        from conans import ConanFile, CMake, tools
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • antlr4-cppruntime/4.11@: All packages built successfully! (All logs)

    :small_orange_diamond: Informative: This recipe is not ready for Conan v2

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this conan export step will work. See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod_cci_PR-12902/recipes/antlr4-cppruntime/all/conanfile.py", line 2, in <module>
        from conans import ConanFile, CMake, tools
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    

conan-center-bot avatar Sep 14 '22 12:09 conan-center-bot

Hooks produced the following warnings for commit a73153d1d80e42132db0aedbba3117c5e35af944
antlr4-cppruntime/4.10
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.10.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
antlr4-cppruntime/4.9.3
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.9.3.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
antlr4-cppruntime/4.10.1
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.10.1.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
antlr4-cppruntime/4.11.1
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.11.1.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
antlr4-cppruntime/4.11
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.11.0.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.

github-actions[bot] avatar Sep 14 '22 12:09 github-actions[bot]

there are some annotations made by the linter to support conan v2. @0xFireWolf would you mind having a look at them? thank you!

danimtb avatar Sep 21 '22 07:09 danimtb

there are some annotations made by the linter to support conan v2. @0xFireWolf would you mind having a look at them? thank you!

It would be great if we can merge this PR as soon as possible. Unfortunately, I don't have time for making this recipe compatible with Conan v2 at this moment, as I am still not quite familiar with writing the recipe.

0xFireWolf avatar Sep 22 '22 06:09 0xFireWolf

@0xFireWolf no problem. Unfortunately we cannot disable the checks, but don't worry, I will be taking over this PR if you don't mind 😄

danimtb avatar Sep 22 '22 14:09 danimtb

@0xFireWolf please, consider https://github.com/0xFireWolf/conan-center-index/pull/1

uilianries avatar Sep 22 '22 14:09 uilianries

@0xFireWolf please, consider 0xFireWolf#1

Thanks for the PR. I really appreciate it.

0xFireWolf avatar Sep 22 '22 14:09 0xFireWolf

@0xFireWolf no problem. Unfortunately we cannot disable the checks, but don't worry, I will be taking over this PR if you don't mind 😄

Please feel free to do so. Thank you.

0xFireWolf avatar Sep 22 '22 14:09 0xFireWolf

Failure in build 7 (163445f313fa7287c55d7a0925e98e758e3d7950):

  • antlr4-cppruntime/4.9.3@: Error running command conan info antlr4-cppruntime/4.9.3@#1f94dd3c9de5db94358c3f1860bc2c71 --json {jsonName} -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MT
    compiler.version=15
    os=Windows
    [options]
    antlr4-cppruntime:shared=False
    
    ...
    ERROR: antlr4-cppruntime/4.9.3: Error in validate() method, line 78
    	if (self.info.settings.compiler == "Visual Studio" and self.info.settings.compiler.version < "16") or \
    	TypeError: '<' not supported between instances of 'Values' and 'str'
    
  • antlr4-cppruntime/4.11@: Error running command conan info antlr4-cppruntime/4.11@#e796c034239f899eababbfa38b0fb0e5 --json {jsonName} -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MT
    compiler.version=15
    os=Windows
    [options]
    antlr4-cppruntime:shared=False
    
    ...
    ERROR: antlr4-cppruntime/4.11: Error in validate() method, line 78
    	if (self.info.settings.compiler == "Visual Studio" and self.info.settings.compiler.version < "16") or \
    	TypeError: '<' not supported between instances of 'Values' and 'str'
    
  • antlr4-cppruntime/4.11.1@: Error running command conan info antlr4-cppruntime/4.11.1@#a21545f50e4bfab65c390869192f6bd2 --json {jsonName} -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MT
    compiler.version=15
    os=Windows
    [options]
    antlr4-cppruntime:shared=False
    
    ...
    ERROR: antlr4-cppruntime/4.11.1: Error in validate() method, line 78
    	if (self.info.settings.compiler == "Visual Studio" and self.info.settings.compiler.version < "16") or \
    	TypeError: '<' not supported between instances of 'Values' and 'str'
    
  • antlr4-cppruntime/4.10@: Error running command conan info antlr4-cppruntime/4.10@#fca73c34e42afe0a41924c332c8e00b0 --json {jsonName} -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MT
    compiler.version=15
    os=Windows
    [options]
    antlr4-cppruntime:shared=False
    
    ...
    ERROR: antlr4-cppruntime/4.10: Error in validate() method, line 78
    	if (self.info.settings.compiler == "Visual Studio" and self.info.settings.compiler.version < "16") or \
    	TypeError: '<' not supported between instances of 'Values' and 'str'
    
  • antlr4-cppruntime/4.10.1@: Error running command conan info antlr4-cppruntime/4.10.1@#de9c003be9e057e2e655c6c48120f2ab --json {jsonName} -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MT
    compiler.version=15
    os=Windows
    [options]
    antlr4-cppruntime:shared=False
    
    ...
    ERROR: antlr4-cppruntime/4.10.1: Error in validate() method, line 78
    	if (self.info.settings.compiler == "Visual Studio" and self.info.settings.compiler.version < "16") or \
    	TypeError: '<' not supported between instances of 'Values' and 'str'
    

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 Sep 22 '22 15:09 conan-center-bot

Failure in build 9 (b71ca7c0b5e63d8bfe5ed9be4cd05eda8e133245):

  • antlr4-cppruntime/4.11.1@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.11@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.9.3@: CI failed to create some packages (All logs)

    Logs for packageID 4d27e06017598e295f7b1604bc676563db9ef0f6:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    antlr4-cppruntime:shared=False
    
    [...]
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    
    
    CMake Deprecation Warning at CMakeLists.txt:33 (CMAKE_POLICY):
      The OLD behavior for policy CMP0042 will be removed from a future version
      of CMake.
    
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    
    
    CMake Deprecation Warning at CMakeLists.txt:38 (CMAKE_POLICY):
      The OLD behavior for policy CMP0059 will be removed from a future version
      of CMake.
    
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    
    
    CMake Deprecation Warning at CMakeLists.txt:39 (CMAKE_POLICY):
      The OLD behavior for policy CMP0054 will be removed from a future version
      of CMake.
    
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    
    
    CMake Error at /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
      A required package was not found
    Call Stack (most recent call first):
      /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
      CMakeLists.txt:44 (pkg_check_modules)
    
    
    antlr4-cppruntime/4.9.3: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    antlr4-cppruntime/4.9.3: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    antlr4-cppruntime/4.9.3: ERROR: Package '4d27e06017598e295f7b1604bc676563db9ef0f6' build failed
    antlr4-cppruntime/4.9.3: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.9.3/_/_/build/4d27e06017598e295f7b1604bc676563db9ef0f6/build/Release
    ERROR: antlr4-cppruntime/4.9.3: Error in build() method, line 124
    	cmake.configure(build_script_folder="runtime/Cpp")
    	ConanException: Error 1 while executing cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.9.3/_/_/build/4d27e06017598e295f7b1604bc676563db9ef0f6/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.9.3/_/_/package/4d27e06017598e295f7b1604bc676563db9ef0f6" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.9.3/_/_/build/4d27e06017598e295f7b1604bc676563db9ef0f6/src/runtime/Cpp"
    
  • antlr4-cppruntime/4.10.1@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.10@: 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.

conan-center-bot avatar Sep 22 '22 17:09 conan-center-bot

I detected other pull requests that are modifying antlr4-cppruntime/all recipe:

  • #13313

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

ghost avatar Sep 26 '22 07:09 ghost

I tried locally and I got:

-- Checking for module 'uuid'
--   Package 'uuid', required by 'virtual:world', not found
CMake Error at /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
 A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
  CMakeLists.txt:44 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/home/conan/.conan/data/antlr4-cppruntime/4.9.3/_/_/build/4d27e06017598e295f7b1604bc676563db9ef0f6/build/Release/CMakeFiles/CMakeOutput.log".

The point is, libuuid is not prepared to generate PkgConfigDeps: https://github.com/conan-io/conan-center-index/blob/master/recipes/libuuid/all/conanfile.py#L78

Even the legacy generator "pkg_config" is incompatible with new generators, so mixing them will not work. Will open a PR updating Libuuis asap.

uilianries avatar Sep 26 '22 09:09 uilianries

@0xFireWolf I just created the PR https://github.com/conan-io/conan-center-index/pull/13155

uilianries avatar Sep 26 '22 10:09 uilianries

Please rebase (#13130/#13155 has been merged) and try to rebuild.

michalwidera avatar Sep 30 '22 08:09 michalwidera

Do not to rebase anything, just start a new CI build. Any dependency is consumed as a Conan package, git status does not matter for conan commands (which is very good!)

uilianries avatar Sep 30 '22 14:09 uilianries

Just starter a new CI job now 🤞

uilianries avatar Sep 30 '22 14:09 uilianries

Thank you!

michalwidera avatar Sep 30 '22 14:09 michalwidera

Failure in build 10 (b71ca7c0b5e63d8bfe5ed9be4cd05eda8e133245):

  • antlr4-cppruntime/4.10.1@: CI failed to create some packages (All logs)

    Logs for packageID 826f6c3660ec248e9d3f56bde963b192f5884fba:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++
    compiler.version=9
    os=Linux
    [options]
    antlr4-cppruntime:shared=False
    
    [...]
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    
    
    CMake Deprecation Warning at CMakeLists.txt:35 (CMAKE_POLICY):
      The OLD behavior for policy CMP0042 will be removed from a future version
      of CMake.
    
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    
    
    CMake Deprecation Warning at CMakeLists.txt:40 (CMAKE_POLICY):
      The OLD behavior for policy CMP0059 will be removed from a future version
      of CMake.
    
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    
    
    CMake Deprecation Warning at CMakeLists.txt:41 (CMAKE_POLICY):
      The OLD behavior for policy CMP0054 will be removed from a future version
      of CMake.
    
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    
    
    CMake Error at /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
      A required package was not found
    Call Stack (most recent call first):
      /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
      CMakeLists.txt:46 (pkg_check_modules)
    
    
    antlr4-cppruntime/4.10.1: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    antlr4-cppruntime/4.10.1: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    antlr4-cppruntime/4.10.1: ERROR: Package '826f6c3660ec248e9d3f56bde963b192f5884fba' build failed
    antlr4-cppruntime/4.10.1: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.10.1/_/_/build/826f6c3660ec248e9d3f56bde963b192f5884fba/build/Release
    ERROR: antlr4-cppruntime/4.10.1: Error in build() method, line 124
    	cmake.configure(build_script_folder="runtime/Cpp")
    	ConanException: Error 1 while executing cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.10.1/_/_/build/826f6c3660ec248e9d3f56bde963b192f5884fba/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.10.1/_/_/package/826f6c3660ec248e9d3f56bde963b192f5884fba" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/antlr4-cppruntime/4.10.1/_/_/build/826f6c3660ec248e9d3f56bde963b192f5884fba/src/runtime/Cpp"
    
  • antlr4-cppruntime/4.10@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.9.3@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.11@: Didn't run or was cancelled before finishing

  • antlr4-cppruntime/4.11.1@: 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.

conan-center-bot avatar Sep 30 '22 14:09 conan-center-bot

It seems that libuuid with PkgConfigDeps is still problematic.

The PR (https://github.com/antlr/antlr4/pull/3787) I mentioned above indicates that libuuid is not used at least since 4.9, so I have created patches that drop it from 4.9.3, 4.10 and 4.10.1 and enable ARM builds on those versions. As such, the runtime library solely relies on utfcpp which is a header-only library.

I also remove the PkgConfigDeps generator from the Conan file, because I don't think it is needed any more. Let's see whether the CI build will succeed or not.

0xFireWolf avatar Sep 30 '22 20:09 0xFireWolf

Failure in build 11 (15015b3265983b6e4963f50ce89be6bc8864f27b):

  • antlr4-cppruntime/4.10@: All packages built successfully! (All logs)

  • antlr4-cppruntime/4.9.3@: CI failed to create some packages (All logs)

    Logs for packageID d4610f139a8d8e63467d5bf9bcec0a7072514e51:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=Visual Studio
    compiler.runtime=MDd
    compiler.version=16
    os=Windows
    [options]
    antlr4-cppruntime:shared=False
    
    [...]
    libcpmtd.lib(wlocale.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(wlocale.obj) : error LNK2005: "public: struct _Cvtvec __cdecl std::_Locinfo::_Getcvt(void)const " (?_Getcvt@_Locinfo@std@@QEBA?AU_Cvtvec@@XZ) already defined in msvcprtd.lib(MSVCP140D.dll) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(wlocale.obj) : error LNK2005: "public: char const * __cdecl std::_Locinfo::_Getdays(void)const " (?_Getdays@_Locinfo@std@@QEBAPEBDXZ) already defined in msvcprtd.lib(MSVCP140D.dll) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(wlocale.obj) : error LNK2005: "public: char const * __cdecl std::_Locinfo::_Getmonths(void)const " (?_Getmonths@_Locinfo@std@@QEBAPEBDXZ) already defined in msvcprtd.lib(MSVCP140D.dll) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(wlocale.obj) : error LNK2005: "public: unsigned short const * __cdecl std::_Locinfo::_W_Getdays(void)const " (?_W_Getdays@_Locinfo@std@@QEBAPEBGXZ) already defined in msvcprtd.lib(MSVCP140D.dll) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(wlocale.obj) : error LNK2005: "public: unsigned short const * __cdecl std::_Locinfo::_W_Getmonths(void)const " (?_W_Getmonths@_Locinfo@std@@QEBAPEBGXZ) already defined in msvcprtd.lib(MSVCP140D.dll) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xlocale.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xlocale.obj) : error LNK2005: "public: struct _Cvtvec __cdecl std::_Locinfo::_Getcvt(void)const " (?_Getcvt@_Locinfo@std@@QEBA?AU_Cvtvec@@XZ) already defined in msvcprtd.lib(MSVCP140D.dll) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xlocale.obj) : error LNK2005: "public: char const * __cdecl std::_Locinfo::_Getdays(void)const " (?_Getdays@_Locinfo@std@@QEBAPEBDXZ) already defined in msvcprtd.lib(MSVCP140D.dll) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xlocale.obj) : error LNK2005: "public: char const * __cdecl std::_Locinfo::_Getmonths(void)const " (?_Getmonths@_Locinfo@std@@QEBAPEBDXZ) already defined in msvcprtd.lib(MSVCP140D.dll) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xlocale.obj) : error LNK2005: "public: unsigned short const * __cdecl std::_Locinfo::_W_Getdays(void)const " (?_W_Getdays@_Locinfo@std@@QEBAPEBGXZ) already defined in msvcprtd.lib(MSVCP140D.dll) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xlocale.obj) : error LNK2005: "public: unsigned short const * __cdecl std::_Locinfo::_W_Getmonths(void)const " (?_W_Getmonths@_Locinfo@std@@QEBAPEBGXZ) already defined in msvcprtd.lib(MSVCP140D.dll) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xstol.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xstoul.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xstoll.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xstoull.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xlock.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xlock.obj) : error LNK2005: "public: __cdecl std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QEAA@H@Z) already defined in msvcprtd.lib(MSVCP140D.dll) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xlock.obj) : error LNK2005: "public: __cdecl std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QEAA@XZ) already defined in msvcprtd.lib(MSVCP140D.dll) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(StlLCMapStringA.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xstrcoll.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xdateord.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xwcscoll.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xwcsxfrm.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xgetwctype.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xtowlower.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xtowupper.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xstrxfrm.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(xmtx.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(StlCompareStringA.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(StlCompareStringW.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    libcpmtd.lib(StlLCMapStringW.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\bin\test_package.exe : fatal error LNK1169: one or more multiply defined symbols found [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124\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: antlr4-cppruntime/4.9.3 (test package): Error in build() method, line 12
    	cmake.build()
    	ConanException: Error 1 while executing cmake --build C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\antlr4-cppruntime\all\test_v1_package\build\d9a1e9ebc5baf8c58d7a4f170a25898d34448124 --config Debug -- /m:8 /verbosity:minimal
    
  • antlr4-cppruntime/4.11@: All packages built successfully! (All logs)

  • antlr4-cppruntime/4.11.1@: All packages built successfully! (All logs)

  • antlr4-cppruntime/4.10.1@: 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.

conan-center-bot avatar Sep 30 '22 22:09 conan-center-bot

Hooks produced the following warnings for commit 15015b3265983b6e4963f50ce89be6bc8864f27b
antlr4-cppruntime/4.10
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.10.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
antlr4-cppruntime/4.11
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.11.0.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
antlr4-cppruntime/4.11.1
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.11.1.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.

github-actions[bot] avatar Sep 30 '22 22:09 github-actions[bot]

If I understand the cause of build failure there is a problem with test code / validation. https://c3i.jfrog.io/c3i/misc/summary.html?json=https://c3i.jfrog.io/c3i/misc/logs/pr/12902/11-configs/windows-visual_studio/antlr4-cppruntime/4.9.3//summary.json Failed: BUILT + TEST_FAILED on msvc 16 with following core issue:

error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in test_package.obj

Therefore test artifact didn't appear and this stopped validation of this update.

michalwidera avatar Oct 01 '22 15:10 michalwidera

All green in build 12 (642447195e2d907d8b0daf918c7474eb3853288b):

  • antlr4-cppruntime/4.9.3@: All packages built successfully! (All logs)

  • antlr4-cppruntime/4.10.1@: All packages built successfully! (All logs)

  • antlr4-cppruntime/4.11@: All packages built successfully! (All logs)

  • antlr4-cppruntime/4.11.1@: All packages built successfully! (All logs)

  • antlr4-cppruntime/4.10@: All packages built successfully! (All logs)

conan-center-bot avatar Oct 07 '22 07:10 conan-center-bot

Hooks produced the following warnings for commit 642447195e2d907d8b0daf918c7474eb3853288b
antlr4-cppruntime/4.9.3
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.9.3.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
antlr4-cppruntime/4.10.1
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.10.1.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
antlr4-cppruntime/4.11
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.11.0.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
antlr4-cppruntime/4.11.1
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.11.1.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
antlr4-cppruntime/4.10
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libantlr4-runtime.4.10.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.

github-actions[bot] avatar Oct 07 '22 07:10 github-actions[bot]

All green. @danimtb @uilianries It would be great if we can merge this as soon as possible. Thank you.


Summary of this PR:

  • Migrated the recipe to Conan 2.0 (A huge thanks to @uilianries).
  • Removed the dependency on libuuid from 4.9.3 and 4.10.x.
  • Fixed the linker errors related to MSVC runtime revealed by the 2.0 recipe.
  • Added support for ARM builds for 4.9.3, 4.10.x and 4.11.x.
  • Fixed the compiler errors reported by GCC 7 due to the new FlatHashSet and FlatHashMap types introduced in 4.11.x.

0xFireWolf avatar Oct 07 '22 07:10 0xFireWolf