******************************************************************************** conan install jsoncpp/1.9.1@ --profile=/home/conan/w/BuildSingleReference/2745/9d8d10dc-cac7-4524-9266-d6bfb2dd56a2/profile.txt --build=jsoncpp ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=clang compiler.libcxx=libstdc++ compiler.version=10 os=Linux os_build=Linux [options] jsoncpp:shared=False [build_requires] [env] jsoncpp/1.9.1: Forced build from source Installing package: jsoncpp/1.9.1 Requirements jsoncpp/1.9.1 from 'conan-upstream' - Cache Packages jsoncpp/1.9.1:c504c67933d514fc146c38d6f062b33cd27ad91d - Build Installing (downloading, building) binaries... jsoncpp/1.9.1: Copying sources to build folder jsoncpp/1.9.1: Building your package in /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d jsoncpp/1.9.1: Generator cmake created conanbuildinfo.cmake [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK jsoncpp/1.9.1: Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="10" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/package/c504c67933d514fc146c38d6f062b33cd27ad91d" -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" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DJSONCPP_WITH_TESTS="False" -DJSONCPP_WITH_CMAKE_PACKAGE="False" -DJSONCPP_WITH_STRICT_ISO="False" -DJSONCPP_WITH_PKGCONFIG_SUPPORT="False" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d' ----------------- -- The C compiler identification is Clang 10.0.1 -- The CXX compiler identification is Clang 10.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - 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/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Conan: Compiler Clang>=8, checking major version 10 -- Conan: Checking correct version: 10 -- Conan: C++ stdlib: libstdc++ -- JsonCpp Version: 1.9.0 -- Looking for C++ include clocale -- Looking for C++ include clocale - found -- Looking for localeconv -- Looking for localeconv - found -- Looking for C++ include sys/types.h -- Looking for C++ include sys/types.h - found -- Looking for C++ include stdint.h -- Looking for C++ include stdint.h - found -- Looking for C++ include stddef.h -- Looking for C++ include stddef.h - found -- Check size of lconv -- Check size of lconv - done -- Performing Test HAVE_DECIMAL_POINT -- Performing Test HAVE_DECIMAL_POINT - Success -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d' '--' '-j3' ----------------- Scanning dependencies of target jsoncpp_lib [ 25%] Building CXX object source_subfolder/src/lib_json/CMakeFiles/jsoncpp_lib.dir/json_value.cpp.o [ 50%] Building CXX object source_subfolder/src/lib_json/CMakeFiles/jsoncpp_lib.dir/json_reader.cpp.o [ 75%] Building CXX object source_subfolder/src/lib_json/CMakeFiles/jsoncpp_lib.dir/json_writer.cpp.o source_subfolder/src/lib_json/CMakeFiles/jsoncpp_lib.dir/build.make:94: recipe for target 'source_subfolder/src/lib_json/CMakeFiles/jsoncpp_lib.dir/json_value.cpp.o' failed CMakeFiles/Makefile2:169: recipe for target 'source_subfolder/src/lib_json/CMakeFiles/jsoncpp_lib.dir/all' failed Makefile:148: recipe for target 'all' failed jsoncpp/1.9.1: CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/src/lib_json/json_value.cpp:115:15: error: implicit conversion from 'long' to 'double' may lose precision [-Werror,-Wimplicit-int-float-conversion] return d >= min && d <= max; ~~ ^~~ /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/src/lib_json/json_value.cpp:749:25: note: in instantiation of function template specialization 'Json::InRange' requested here JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), ^ /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/src/lib_json/json_value.cpp:115:27: error: implicit conversion from 'long' to 'double' may lose precision [-Werror,-Wimplicit-int-float-conversion] return d >= min && d <= max; ~~ ^~~ /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/src/lib_json/json_value.cpp:115:27: error: implicit conversion from 'unsigned long' to 'double' may lose precision [-Werror,-Wimplicit-int-float-conversion] return d >= min && d <= max; ~~ ^~~ /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d/source_subfolder/src/lib_json/json_value.cpp:770:25: note: in instantiation of function template specialization 'Json::InRange' requested here JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt64), ^ 3 errors generated. make[2]: *** [source_subfolder/src/lib_json/CMakeFiles/jsoncpp_lib.dir/json_value.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [source_subfolder/src/lib_json/CMakeFiles/jsoncpp_lib.dir/all] Error 2 make: *** [all] Error 2 jsoncpp/1.9.1: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d jsoncpp/1.9.1: ERROR: Package 'c504c67933d514fc146c38d6f062b33cd27ad91d' build failed jsoncpp/1.9.1: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d ERROR: jsoncpp/1.9.1: Error in build() method, line 75 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.9.1/_/_/build/c504c67933d514fc146c38d6f062b33cd27ad91d' '--' '-j3'