******************************************************************************** conan install jsonnet/0.17.0@ --build=jsonnet --profile=/Users/jenkins/w/BuildSingleReference@10/20998/23d94d55-b4be-4b65-943a-dd131c752d32/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=10.0 os=Macos os_build=Macos [options] jsonnet:shared=True [build_requires] [env] jsonnet/0.17.0: Forced build from source Installing package: jsonnet/0.17.0 Requirements jsonnet/0.17.0 from local cache - Cache nlohmann_json/3.9.1 from 'conan-center' - Cache Packages jsonnet/0.17.0:a8106ea91e2f2c15b8ebdbccf70a4be9f4f56a8c - Build nlohmann_json/3.9.1:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... nlohmann_json/3.9.1: Already installed! [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 jsonnet/0.17.0: Copying sources to build folder jsonnet/0.17.0: Building your package in /Users/jenkins/w/BuildSingleReference@10/.conan/data/jsonnet/0.17.0/_/_/build/a8106ea91e2f2c15b8ebdbccf70a4be9f4f56a8c jsonnet/0.17.0: Generator cmake_find_package created Findnlohmann_json.cmake jsonnet/0.17.0: 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 jsonnet/0.17.0: Calling build() ----Running------ > cd '/Users/jenkins/w/BuildSingleReference@10/.conan/data/jsonnet/0.17.0/_/_/build/a8106ea91e2f2c15b8ebdbccf70a4be9f4f56a8c/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="10.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/BuildSingleReference@10/.conan/data/jsonnet/0.17.0/_/_/package/a8106ea91e2f2c15b8ebdbccf70a4be9f4f56a8c" -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_MODULE_PATH="/Users/jenkins/w/BuildSingleReference@10/.conan/data/jsonnet/0.17.0/_/_/build/a8106ea91e2f2c15b8ebdbccf70a4be9f4f56a8c" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_TESTS="False" -DBUILD_STATIC_LIBS="False" -DBUILD_JSONNET="False" -DBUILD_JSONNETFMT="False" -DUSE_SYSTEM_JSON="True" -Wno-dev '/Users/jenkins/w/BuildSingleReference@10/.conan/data/jsonnet/0.17.0/_/_/build/a8106ea91e2f2c15b8ebdbccf70a4be9f4f56a8c/source_subfolder' ----------------- -- The C compiler identification is AppleClang 10.0.1.10010046 -- The CXX compiler identification is AppleClang 10.0.1.10010046 -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- 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: 3.9.1 (found suitable version "3.9.1", minimum required is "3.6.1") -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference@10/.conan/data/jsonnet/0.17.0/_/_/build/a8106ea91e2f2c15b8ebdbccf70a4be9f4f56a8c/build_subfolder ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference@10/.conan/data/jsonnet/0.17.0/_/_/build/a8106ea91e2f2c15b8ebdbccf70a4be9f4f56a8c/build_subfolder' '--' '-j4' ----------------- Scanning dependencies of target md5 Scanning dependencies of target libjsonnet++ Scanning dependencies of target to_c_array [ 5%] Building CXX object stdlib/CMakeFiles/to_c_array.dir/to_c_array.cpp.o [ 11%] Building CXX object cpp/CMakeFiles/libjsonnet++.dir/libjsonnet++.cpp.o [ 16%] Building CXX object third_party/md5/CMakeFiles/md5.dir/md5.cpp.o [ 22%] Linking CXX shared library ../libjsonnet++.dylib [ 27%] Linking CXX executable ../to_c_array [ 33%] Linking CXX static library ../../libmd5.a [ 33%] Built target md5 [ 33%] Built target to_c_array jsonnet/0.17.0: Extracted Jsonnet version: 0.17.0 Testing with Jsonnet executable: CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CONAN_COMPILER CONAN_COMPILER_VERSION CONAN_CXX_FLAGS CONAN_C_FLAGS CONAN_EXPORTED CONAN_IN_LOCAL_CACHE CONAN_LIBCXX CONAN_SHARED_LINKER_FLAGS Undefined symbols for architecture x86_64: "_jsonnet_destroy", referenced from: jsonnet::Jsonnet::~Jsonnet() in libjsonnet++.cpp.o jsonnet::Jsonnet::~Jsonnet() in libjsonnet++.cpp.o "_jsonnet_evaluate_file", referenced from: jsonnet::Jsonnet::evaluateFile(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator >*) in libjsonnet++.cpp.o "_jsonnet_evaluate_file_multi", referenced from: jsonnet::Jsonnet::evaluateFileMulti(std::__1::basic_string, std::__1::allocator > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > >*) in libjsonnet++.cpp.o "_jsonnet_evaluate_snippet", referenced from: jsonnet::Jsonnet::evaluateSnippet(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator >*) in libjsonnet++.cpp.o "_jsonnet_evaluate_snippet_multi", referenced from: jsonnet::Jsonnet::evaluateSnippetMulti(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > >*) in libjsonnet++.cpp.o "_jsonnet_ext_code", referenced from: jsonnet::Jsonnet::bindExtCodeVar(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&) in libjsonnet++.cpp.o "_jsonnet_ext_var", referenced from: jsonnet::Jsonnet::bindExtVar(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&) in libjsonnet++.cpp.o "_jsonnet_gc_growth_trigger", referenced from: jsonnet::Jsonnet::setGcGrowthTrigger(double) in libjsonnet++.cpp.o "_jsonnet_gc_min_objects", referenced from: jsonnet::Jsonnet::setGcMinObjects(unsigned int) in libjsonnet++.cpp.o "_jsonnet_jpath_add", referenced from: jsonnet::Jsonnet::addImportPath(std::__1::basic_string, std::__1::allocator > const&) in libjsonnet++.cpp.o "_jsonnet_make", referenced from: jsonnet::Jsonnet::init() in libjsonnet++.cpp.o "_jsonnet_max_stack", referenced from: jsonnet::Jsonnet::setMaxStack(unsigned int) in libjsonnet++.cpp.o "_jsonnet_max_trace", referenced from: jsonnet::Jsonnet::setMaxTrace(unsigned int) in libjsonnet++.cpp.o "_jsonnet_string_output", referenced from: jsonnet::Jsonnet::setStringOutput(bool) in libjsonnet++.cpp.o "_jsonnet_tla_code", referenced from: jsonnet::Jsonnet::bindTlaCodeVar(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&) in libjsonnet++.cpp.o "_jsonnet_tla_var", referenced from: jsonnet::Jsonnet::bindTlaVar(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&) in libjsonnet++.cpp.o "_jsonnet_version", referenced from: jsonnet::Jsonnet::version() in libjsonnet++.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [libjsonnet++.0.17.0.dylib] Error 1 make[1]: *** [cpp/CMakeFiles/libjsonnet++.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 2 nlohmann_json/3.9.1: WARN: Lib folder doesn't exist, can't collect libraries: /Users/jenkins/w/BuildSingleReference@10/.conan/data/nlohmann_json/3.9.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib jsonnet/0.17.0: WARN: Build folder is dirty, removing it: /Users/jenkins/w/BuildSingleReference@10/.conan/data/jsonnet/0.17.0/_/_/build/a8106ea91e2f2c15b8ebdbccf70a4be9f4f56a8c jsonnet/0.17.0: ERROR: Package 'a8106ea91e2f2c15b8ebdbccf70a4be9f4f56a8c' build failed jsonnet/0.17.0: WARN: Build folder /Users/jenkins/w/BuildSingleReference@10/.conan/data/jsonnet/0.17.0/_/_/build/a8106ea91e2f2c15b8ebdbccf70a4be9f4f56a8c ERROR: jsonnet/0.17.0: Error in build() method, line 66 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/BuildSingleReference@10/.conan/data/jsonnet/0.17.0/_/_/build/a8106ea91e2f2c15b8ebdbccf70a4be9f4f56a8c/build_subfolder' '--' '-j4'