Auto detecting your dev setup to initialize the default profile (/tmp/c3ipr/pr_1398_2_0_0/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 5.4 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/tmp/c3ipr/pr_1398_2_0_0/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=5 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /tmp/c3ipr/pr_1398_2_0_0/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** [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: 6.6787109375 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(): [NO TARGET NAME (KB-H040)] OK Exporting package recipe json-schema-validator/20190409 exports: File 'conandata.yml' found. Exporting it... json-schema-validator/20190409 exports: Copied 1 '.yml' file: conandata.yml [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'20190409': {'url': 'https://github.com/pboettch/json-schema-validator/archive/b28c15adea57bc9556cb00a7611536b5899dc67c.zip', 'sha256': 'd98a9a163d42294becb0137b046446995c74dfe6720446d0fcf598694aa040c0'}}} [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: sources: '20190409': sha256: d98a9a163d42294becb0137b046446995c74dfe6720446d0fcf598694aa040c0 url: https://github.com/pboettch/json-schema-validator/archive/b28c15adea57bc9556cb00a7611536b5899dc67c.zip [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK json-schema-validator/20190409: A new conanfile.py version was exported json-schema-validator/20190409: Folder: /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/export json-schema-validator/20190409: Using the exported files summary hash as the recipe revision: 3028ef734eb93eafddb6bba8e5a0ed27 json-schema-validator/20190409: Exported revision: 3028ef734eb93eafddb6bba8e5a0ed27 Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=5 os=Linux os_build=Linux [options] json-schema-validator:shared=True [build_requires] [env] nlohmann_json/3.7.3: Not found in local cache, looking in remotes... nlohmann_json/3.7.3: Trying with 'c3i_PR-1398_54a1637b2d83d07d2e22ecf0d079c20725fa01d5'... nlohmann_json/3.7.3: Trying with 'central'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz nlohmann_json/3.7.3: Downloaded recipe revision 728793a4b072ea5a734ac344fc86f2b6 json-schema-validator/20190409: Forced build from source json-schema-validator/20190409 (test package): Installing package Requirements json-schema-validator/20190409 from local cache - Cache nlohmann_json/3.7.3 from 'central' - Downloaded Packages json-schema-validator/20190409:c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7 - Build nlohmann_json/3.7.3:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download Installing (downloading, building) binaries... nlohmann_json/3.7.3: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'central' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz nlohmann_json/3.7.3: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 nlohmann_json/3.7.3: Downloaded package revision b19511b543fe7580727aceec2a323e7b [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK json-schema-validator/20190409: Configuring sources in /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/source Unzipping 297.4KB, this can take a while [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK json-schema-validator/20190409: Copying sources to build folder json-schema-validator/20190409: Building your package in /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/build/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7 json-schema-validator/20190409: Generator cmake_find_package created Findnlohmann_json.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 json-schema-validator/20190409: Calling build() ----Running------ > cd '/tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/build/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="5" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DBUILD_SHARED_LIBS="True" -DCMAKE_INSTALL_PREFIX="/tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/package/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7" -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_MODULE_PATH="/tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/build/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_TESTS="False" -DBUILD_EXAMPLES="False" -Wno-dev '/tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/build/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/source_subfolder' ----------------- -- The CXX compiler identification is GNU 5.4.0 -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Using autogenerated Findnlohmann_json.cmake -- Found nlohmann_json-cmake-package - linking with it -- Configuring done -- Generating done 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 CONAN_CMAKE_POSITION_INDEPENDENT_CODE CONAN_COMPILER CONAN_COMPILER_VERSION CONAN_CXX_FLAGS CONAN_C_FLAGS CONAN_EXPORTED CONAN_IN_LOCAL_CACHE CONAN_LIBCXX CONAN_SHARED_LINKER_FLAGS -- Build files have been written to: /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/build/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/build_subfolder ----Running------ > cmake --build '/tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/build/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/build_subfolder' '--' '-j3' ----------------- Scanning dependencies of target nlohmann_json_schema_validator [ 33%] Building CXX object CMakeFiles/nlohmann_json_schema_validator.dir/src/json-schema-draft7.json.cpp.o [ 33%] Building CXX object CMakeFiles/nlohmann_json_schema_validator.dir/src/json-uri.cpp.o [ 50%] Building CXX object CMakeFiles/nlohmann_json_schema_validator.dir/src/json-validator.cpp.o [ 66%] Building CXX object CMakeFiles/nlohmann_json_schema_validator.dir/src/json-patch.cpp.o /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/build/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/source_subfolder/src/json-patch.cpp: In static member function ‘static void nlohmann::json_patch::validateJsonPatch(const json&)’: /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/build/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/source_subfolder/src/json-patch.cpp:62:32: warning: ‘maybe_unused’ attribute directive ignored [-Wattributes] [[maybe_unused]] const auto p = json::json_pointer{op["path"].get()}; ^ [ 83%] Building CXX object CMakeFiles/nlohmann_json_schema_validator.dir/src/string-format-check.cpp.o [100%] Linking CXX shared library libnlohmann_json_schema_validator.so [100%] Built target nlohmann_json_schema_validator json-schema-validator/20190409: Package 'c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7' built json-schema-validator/20190409: Build folder /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/build/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7 json-schema-validator/20190409: Generated conaninfo.txt json-schema-validator/20190409: Generated conanbuildinfo.txt json-schema-validator/20190409: Generating the package json-schema-validator/20190409: Package folder /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/package/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7 json-schema-validator/20190409: Calling package() ----Running------ > cmake --build '/tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/build/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/build_subfolder' '--target' 'install' '--' '-j3' ----------------- [100%] Built target nlohmann_json_schema_validator Install the project... -- Install configuration: "Release" -- Installing: /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/package/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/lib/libnlohmann_json_schema_validator.so.2.1.0 -- Installing: /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/package/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/lib/libnlohmann_json_schema_validator.so.1 -- Installing: /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/package/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/lib/libnlohmann_json_schema_validator.so -- Installing: /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/package/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/include/nlohmann/json-schema.hpp -- Installing: /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/package/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorConfig.cmake -- Installing: /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/package/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorConfigVersion.cmake -- Installing: /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/package/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorTargets.cmake -- Installing: /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/package/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorTargets-release.cmake [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK [HOOK - conan-center.py] post_package(): [MATCHING CONFIGURATION (KB-H014)] OK [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK json-schema-validator/20190409 package(): Packaged 1 '.1' file: libnlohmann_json_schema_validator.so.1 json-schema-validator/20190409 package(): Packaged 1 '.0' file: libnlohmann_json_schema_validator.so.2.1.0 json-schema-validator/20190409 package(): Packaged 1 '.so' file: libnlohmann_json_schema_validator.so json-schema-validator/20190409 package(): Packaged 1 '.hpp' file: json-schema.hpp json-schema-validator/20190409 package(): Packaged 1 file: LICENSE json-schema-validator/20190409: Package 'c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7' created json-schema-validator/20190409: Created package revision 910673e4340b28325ffde229f5b9faba [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK json-schema-validator/20190409 (test package): Generator cmake created conanbuildinfo.cmake json-schema-validator/20190409 (test package): Generator cmake_find_package created Findnlohmann_json_schema_validator.cmake json-schema-validator/20190409 (test package): Generator cmake_find_package created Findnlohmann_json.cmake json-schema-validator/20190409 (test package): Generator txt created conanbuildinfo.txt json-schema-validator/20190409 (test package): Generated conaninfo.txt json-schema-validator/20190409 (test package): Generated graphinfo Using lockfile: '/tmp/c3ipr/pr_1398_2_0_0/test_package/build/52b956454a4fa4c2e1c3d1a8ae8dea1d0fa6bcb4/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 json-schema-validator/20190409 (test package): Calling build() ----Running------ > cd '/tmp/c3ipr/pr_1398_2_0_0/test_package/build/52b956454a4fa4c2e1c3d1a8ae8dea1d0fa6bcb4' && 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++" -DCMAKE_MODULE_PATH="/tmp/c3ipr/pr_1398_2_0_0/test_package/build/52b956454a4fa4c2e1c3d1a8ae8dea1d0fa6bcb4" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/tmp/c3ipr/pr_1398_2_0_0/test_package' ----------------- -- The CXX compiler identification is GNU 5.4.0 -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global 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++ -- Conan: Using autogenerated Findnlohmann_json_schema_validator.cmake -- Found nlohmann_json_schema_validator: 20190409 (found version "20190409") -- Library nlohmann_json_schema_validator found /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/package/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/lib/libnlohmann_json_schema_validator.so -- Found: /tmp/c3ipr/pr_1398_2_0_0/.conan/data/json-schema-validator/20190409/_/_/package/c84c2311ef8acdea3ab8ddc7cd9f4e60fe3865e7/lib/libnlohmann_json_schema_validator.so -- Conan: Using autogenerated Findnlohmann_json.cmake -- Found nlohmann_json: 3.7.3 (found version "3.7.3") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /tmp/c3ipr/pr_1398_2_0_0/test_package/build/52b956454a4fa4c2e1c3d1a8ae8dea1d0fa6bcb4 ----Running------ > cmake --build '/tmp/c3ipr/pr_1398_2_0_0/test_package/build/52b956454a4fa4c2e1c3d1a8ae8dea1d0fa6bcb4' '--' '-j3' ----------------- Scanning dependencies of target example [ 50%] Building CXX object CMakeFiles/example.dir/example.cpp.o [100%] Linking CXX executable bin/example CMakeFiles/example.dir/example.cpp.o: In function `main': example.cpp:(.text.startup+0x4c): undefined reference to `nlohmann::json_schema::json_validator::json_validator(std::function&)>, std::function)' example.cpp:(.text.startup+0x8e): undefined reference to `nlohmann::json_schema::json_validator::set_root_schema(nlohmann::basic_json const&)' example.cpp:(.text.startup+0x2fa): undefined reference to `nlohmann::json_schema::json_validator::validate(nlohmann::basic_json const&) const' collect2: error: ld returned 1 exit status CMakeFiles/example.dir/build.make:84: recipe for target 'bin/example' failed make[2]: *** [bin/example] Error 1 CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/example.dir/all' failed make[1]: *** [CMakeFiles/example.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 JSON file created at '/tmp/c3ipr/pr_1398_2_0_0/_create.json'