******************************************************************************** conan test conan-center-index/recipes/ctpg/all/test_package/conanfile.py ctpg/1.3.2@ --profile=/home/conan/w/BuildSingleReference/60612/7ed20e2d-e4a3-4314-b654-a722e034e0ab/profile.txt ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/BuildSingleReference/.conan/profiles/default) CC and CXX: clang, clang++ Found clang 10.0 clang>=8, using the major as version Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=clang compiler.version=10 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=10 os=Linux [options] [build_requires] [env] ctpg/1.3.2 (test package): Installing package Requirements ctpg/1.3.2 from local cache - Cache Packages ctpg/1.3.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download Installing (downloading, building) binaries... ctpg/1.3.2: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'c3i_PR-8417' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz ctpg/1.3.2: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 ctpg/1.3.2: Downloaded package revision dbfb0153169b596276624f012564fcdc [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK ctpg/1.3.2 (test package): Generator txt created conanbuildinfo.txt ctpg/1.3.2 (test package): Generator cmake created conanbuildinfo.cmake ctpg/1.3.2 (test package): Generator cmake_find_package_multi created ctpg-config-version.cmake ctpg/1.3.2 (test package): Generator cmake_find_package_multi created ctpg-config.cmake ctpg/1.3.2 (test package): Generator cmake_find_package_multi created ctpgTargets.cmake ctpg/1.3.2 (test package): Generator cmake_find_package_multi created ctpgTarget-release.cmake ctpg/1.3.2 (test package): Aggregating env generators ctpg/1.3.2 (test package): Generated conaninfo.txt ctpg/1.3.2 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/build/1dd1761c1e2948d56b55443f1683af533b2c533d/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK ctpg/1.3.2 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/build/1dd1761c1e2948d56b55443f1683af533b2c533d' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="10" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/build/1dd1761c1e2948d56b55443f1683af533b2c533d/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_PREFIX_PATH="/home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/build/1dd1761c1e2948d56b55443f1683af533b2c533d" -DCMAKE_MODULE_PATH="/home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/build/1dd1761c1e2948d56b55443f1683af533b2c533d" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package' ----------------- -- The CXX compiler identification is Clang 10.0.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler Clang>=8, checking major version 10 -- Conan: Checking correct version: 10 -- Conan: C++ stdlib: libstdc++ -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/build/1dd1761c1e2948d56b55443f1683af533b2c533d ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/build/1dd1761c1e2948d56b55443f1683af533b2c533d' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o CMakeFiles/test_package.dir/build.make:81: recipe for target 'CMakeFiles/test_package.dir/test_package.cpp.o' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/test_package.dir/all' failed Makefile:102: recipe for target 'all' failed 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 In file included from /home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/test_package.cpp:1: /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:1466:18: error: function 'create_regex_parser' with deduced return type cannot be used before it is defined auto p = create_regex_parser(a); ^ /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:1460:20: note: 'create_regex_parser' declared here constexpr auto create_regex_parser(Builder& b); ^ /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:1463:24: error: no return statement in constexpr function constexpr size32_t analyze_dfa_size(const char (&pattern)[N]) ^ /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:1612:25: error: function 'create_regex_parser' with deduced return type cannot be used before it is defined auto p = regex::create_regex_parser(a); ^ /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:1460:20: note: 'create_regex_parser' declared here constexpr auto create_regex_parser(Builder& b); ^ /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:1641:29: error: function 'create_regex_parser' with deduced return type cannot be used before it is defined auto p = regex::create_regex_parser(a); ^ /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:1460:20: note: 'create_regex_parser' declared here constexpr auto create_regex_parser(Builder& b); ^ /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:831:36: error: in-class initializer for static data member is not a constant expression static const size_t dfa_size = regex::analyze_dfa_size(Pattern); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/test_package.cpp:6:44: note: in instantiation of template class 'ctpg::regex_term<&number_pattern>' requested here constexpr ctpg::regex_term number("number"); ^ /home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/test_package.cpp:6:44: error: constexpr variable 'number' must be initialized by a constant expression constexpr ctpg::regex_term number("number"); ^~~~~~~~~~~~~~~~ In file included from /home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/test_package.cpp:1: In file included from /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:10: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/tuple:972:4: error: type 'std::tuple >::_Inherited' (aka '_Tuple_impl<0, ctpg::char_term, ctpg::regex_term<&number_pattern> >') is not a direct or virtual base of 'std::tuple >' : _Inherited(std::forward<_U1>(__a1), std::forward<_U2>(__a2)) { } ^~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/tuple:1452:14: note: in instantiation of function template specialization 'std::tuple >::tuple &, true>' requested here return __result_type(std::forward<_Elements>(__args)...); ^ /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:2946:17: note: in instantiation of function template specialization 'std::make_tuple &>' requested here return std::make_tuple(detail::make_term(terms)...); ^ /home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/test_package.cpp:18:5: note: in instantiation of function template specialization 'ctpg::terms >' requested here terms(',', number), ^ In file included from /home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/test_package.cpp:1: In file included from /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:10: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/tuple:647:11: error: type 'std::tuple >::_Inherited' (aka '_Tuple_impl<0, ctpg::regex_term<&number_pattern> >') is not a direct or virtual base of 'std::tuple >' : _Inherited(std::forward<_UElements>(__elements)...) { } ^~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/tuple:1452:14: note: in instantiation of function template specialization 'std::tuple >::tuple , true>' requested here return __result_type(std::forward<_Elements>(__args)...); ^ /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:1801:14: note: in instantiation of function template specialization 'std::make_tuple >' requested here std::make_tuple(detail::make_rule_item(args)...) ^ /home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/test_package.cpp:21:13: note: in instantiation of function template specialization 'ctpg::nterm::operator() &>' requested here list(number) >= to_int, ^ In file included from /home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/test_package.cpp:1: In file included from /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:10: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/tuple:647:11: error: type 'std::tuple, ctpg::char_term, ctpg::regex_term<&number_pattern> >::_Inherited' (aka '_Tuple_impl<0, ctpg::nterm, ctpg::char_term, ctpg::regex_term<&number_pattern> >') is not a direct or virtual base of 'std::tuple, ctpg::char_term, ctpg::regex_term<&number_pattern> >' : _Inherited(std::forward<_UElements>(__elements)...) { } ^~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/tuple:1452:14: note: in instantiation of function template specialization 'std::tuple, ctpg::char_term, ctpg::regex_term<&number_pattern> >::tuple, ctpg::char_term, ctpg::regex_term<&number_pattern> , true>' requested here return __result_type(std::forward<_Elements>(__args)...); ^ /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg.hpp:1801:14: note: in instantiation of function template specialization 'std::make_tuple, ctpg::char_term, ctpg::regex_term<&number_pattern> >' requested here std::make_tuple(detail::make_rule_item(args)...) ^ /home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/test_package.cpp:22:13: note: in instantiation of function template specialization 'ctpg::nterm::operator() &, char, const ctpg::regex_term<&number_pattern> &>' requested here list(list, ',', number) >= [](int sum, char, const auto& n){ return sum + to_int(n); } ^ 9 errors generated. make[2]: *** [CMakeFiles/test_package.dir/test_package.cpp.o] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ctpg/1.3.2: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/ctpg/1.3.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib ERROR: ctpg/1.3.2 (test package): Error in build() method, line 11 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/ctpg/all/test_package/build/1dd1761c1e2948d56b55443f1683af533b2c533d' '--' '-j3'