******************************************************************************** conan test cci-6e41821a/recipes/jsoncons/all/test_package/conanfile.py jsoncons/0.172.0@#54271ecaa88e24dae047fa25be02e344 -pr /home/conan/w/prod-v1/bsr/60440/febbb/profile_linux_5_libstdcpp11_gcc_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True jsoncons/0.172.0 (test package): Installing package Requirements jsoncons/0.172.0 from local cache - Cache Packages jsoncons/0.172.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... jsoncons/0.172.0: Already installed! jsoncons/0.172.0 (test package): Generator 'CMakeToolchain' calling 'generate()' jsoncons/0.172.0 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' jsoncons/0.172.0 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' jsoncons/0.172.0 (test package): Generator 'VirtualRunEnv' calling 'generate()' jsoncons/0.172.0 (test package): Generator txt created conanbuildinfo.txt jsoncons/0.172.0 (test package): Generator 'CMakeDeps' calling 'generate()' jsoncons/0.172.0 (test package): Aggregating env generators jsoncons/0.172.0 (test package): Generated conaninfo.txt jsoncons/0.172.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/build/Release/generators/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 jsoncons/0.172.0 (test package): Calling build() jsoncons/0.172.0 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/build/Release/generators/conan_toolchain.cmake -- The CXX compiler identification is GNU 5.4.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'jsoncons' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/build/Release jsoncons/0.172.0 (test package): CMake command: cmake --build "/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/build/Release" '--' '-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 In file included from /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/json_query.hpp:12:0, from /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/jsonpath.hpp:10, from /home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/test_package.cpp:2: /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/jsonpath_expression.hpp:178:187: error: ‘make_expression’ function uses ‘auto’ type specifier without trailing return type const jsoncons::jsonpath::custom_functions::value_type>& funcs = jsoncons::jsonpath::custom_functions::value_type>()) ^ /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/jsonpath_expression.hpp:178:187: note: deduced return type only available with -std=c++14 or -std=gnu++14 /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/jsonpath_expression.hpp:224:123: error: ‘make_expression’ function uses ‘auto’ type specifier without trailing return type const jsoncons::jsonpath::custom_functions::value_type>& funcs, std::error_code& ec) ^ /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/jsonpath_expression.hpp:224:123: note: deduced return type only available with -std=c++14 or -std=gnu++14 In file included from /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/jsonpath.hpp:10:0, from /home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/test_package.cpp:2: /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/json_query.hpp: In instantiation of ‘Json jsoncons::jsonpath::json_query(const Json&, const typename Json::string_view_type&, jsoncons::jsonpath::result_options, const jsoncons::jsonpath::custom_functions&) [with Json = jsoncons::basic_json >; typename Json::string_view_type = jsoncons::detail::basic_string_view]’: /home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/test_package.cpp:44:52: required from here /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/json_query.hpp:41:42: error: invalid use of ‘auto’ auto expr = make_expression(path, functions); ^ 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 jsoncons/0.172.0 (test package): 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 jsoncons/0.172.0 (test package): 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 ERROR: jsoncons/0.172.0 (test package): Error in build() method, line 22 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/build/Release" '--' '-j3' ******************************************************************************** conan test cci-6e41821a/recipes/jsoncons/all/test_v1_package/conanfile.py jsoncons/0.172.0@#54271ecaa88e24dae047fa25be02e344 -pr /home/conan/w/prod-v1/bsr/60440/febbb/profile_linux_5_libstdcpp11_gcc_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True jsoncons/0.172.0 (test package): Installing package Requirements jsoncons/0.172.0 from local cache - Cache Packages jsoncons/0.172.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... jsoncons/0.172.0: Already installed! jsoncons/0.172.0 (test package): Generator cmake_find_package_multi created jsoncons-config-version.cmake jsoncons/0.172.0 (test package): Generator cmake_find_package_multi created jsoncons-config.cmake jsoncons/0.172.0 (test package): Generator cmake_find_package_multi created jsonconsTargets.cmake jsoncons/0.172.0 (test package): Generator cmake_find_package_multi created jsonconsTarget-release.cmake jsoncons/0.172.0 (test package): Generator cmake created conanbuildinfo.cmake jsoncons/0.172.0 (test package): Generator txt created conanbuildinfo.txt jsoncons/0.172.0 (test package): Aggregating env generators jsoncons/0.172.0 (test package): Generated conaninfo.txt jsoncons/0.172.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8/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 jsoncons/0.172.0 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="5" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8/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/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8" -DCMAKE_MODULE_PATH="/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_v1_package' ----------------- -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - 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 GCC>=5, checking major version 5 -- Conan: Checking correct version: 5 -- Conan: C++ stdlib: libstdc++11 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8 ----Running------ > cmake --build '/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/test_package.cpp.o CMakeFiles/test_package.dir/build.make:81: recipe for target 'CMakeFiles/test_package.dir/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/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/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/json_query.hpp:12:0, from /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/jsonpath.hpp:10, from /home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/test_package.cpp:2: /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/jsonpath_expression.hpp:178:187: error: ‘make_expression’ function uses ‘auto’ type specifier without trailing return type const jsoncons::jsonpath::custom_functions::value_type>& funcs = jsoncons::jsonpath::custom_functions::value_type>()) ^ /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/jsonpath_expression.hpp:178:187: note: deduced return type only available with -std=c++14 or -std=gnu++14 /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/jsonpath_expression.hpp:224:123: error: ‘make_expression’ function uses ‘auto’ type specifier without trailing return type const jsoncons::jsonpath::custom_functions::value_type>& funcs, std::error_code& ec) ^ /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/jsonpath_expression.hpp:224:123: note: deduced return type only available with -std=c++14 or -std=gnu++14 In file included from /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/jsonpath.hpp:10:0, from /home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/test_package.cpp:2: /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/json_query.hpp: In instantiation of ‘Json jsoncons::jsonpath::json_query(const Json&, const typename Json::string_view_type&, jsoncons::jsonpath::result_options, const jsoncons::jsonpath::custom_functions&) [with Json = jsoncons::basic_json >; typename Json::string_view_type = jsoncons::detail::basic_string_view]’: /home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/test_package.cpp:44:52: required from here /home/conan/w/prod-v1/bsr/60440/defad/.conan/data/jsoncons/0.172.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/jsoncons_ext/jsonpath/json_query.hpp:41:42: error: invalid use of ‘auto’ auto expr = make_expression(path, functions); ^ make[2]: *** [CMakeFiles/test_package.dir/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_package/test_package.cpp.o] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 jsoncons/0.172.0 (test package): WARN: ************************************************ The 'cmake_find_package_multi' generator is deprecated. Please update your code and remove it. ************************************************* jsoncons/0.172.0 (test package): WARN: ************************************************ The 'cmake' generator is deprecated. Please update your code and remove it. ************************************************* jsoncons/0.172.0 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. **** ERROR: jsoncons/0.172.0 (test package): Error in build() method, line 13 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod-v1/bsr/cci-6e41821a/recipes/jsoncons/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8' '--' '-j3'