******************************************************************************** conan install jsoncpp/1.8.3@ --profile=/home/conan/w/BuildSingleReference/5039/b7b4282a-5d34-4001-ad76-c3e304c29702/profile.txt --build=jsoncpp ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=clang compiler.libcxx=libc++ compiler.version=11 os=Linux os_build=Linux [options] jsoncpp:shared=True [build_requires] [env] jsoncpp/1.8.3: Forced build from source Installing package: jsoncpp/1.8.3 Requirements jsoncpp/1.8.3 from 'conan-upstream' - Cache Packages jsoncpp/1.8.3:0e71bdb5ca512e4d54ff592784bdaead9275958d - Build Installing (downloading, building) binaries... jsoncpp/1.8.3: Copying sources to build folder jsoncpp/1.8.3: Building your package in /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d jsoncpp/1.8.3: Generator cmake created conanbuildinfo.cmake [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 jsoncpp/1.8.3: Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="11" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/package/0e71bdb5ca512e4d54ff592784bdaead9275958d" -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_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" -DBUILD_STATIC_LIBS="False" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d' ----------------- -- The C compiler identification is Clang 11.0.1 -- The CXX compiler identification is Clang 11.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: Compiler Clang>=8, checking major version 11 -- Conan: Checking correct version: 11 -- Conan: C++ stdlib: libc++ -- JsonCpp Version: 1.8.3 -- 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.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d' '--' '-j3' ----------------- Scanning dependencies of target jsoncpp_lib [ 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_value.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.8.3: CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d/source_subfolder/src/lib_json/json_value.cpp:73: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.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d/source_subfolder/src/lib_json/json_value.cpp:786: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.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d/source_subfolder/src/lib_json/json_value.cpp:73: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.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d/source_subfolder/src/lib_json/json_value.cpp:73: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.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d/source_subfolder/src/lib_json/json_value.cpp:807: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.8.3: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d jsoncpp/1.8.3: ERROR: Package '0e71bdb5ca512e4d54ff592784bdaead9275958d' build failed jsoncpp/1.8.3: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d ERROR: jsoncpp/1.8.3: Error in build() method, line 75 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/build/0e71bdb5ca512e4d54ff592784bdaead9275958d' '--' '-j3'