Cook: clang 5.0.0 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): cmake-common-3.17.3-any Installing (pkg/local): jsoncpp-1.8.4-i486 Installing (pkg/local): liblz4-1.8.3-i486 Installing (pkg/local): libxml2-2.9.9-i486 Installing (pkg/local): libzstd-1.3.8-i486 Installing (pkg/local): libarchive-3.3.3-i486 Installing (pkg/local): libunistring-0.9.10-i486 Installing (pkg/local): libidn2-2.1.0-i486 Installing (pkg/local): libcurl-7.63.0-i486 Installing (pkg/local): libnsl-1.2.0-i486 Installing (pkg/local): libuv-1.25.0-i486 Installing (pkg/local): cmake-3.17.3-i486 Installing (pkg/local): libllvm-7.0.0-i486 Installing (pkg/local): llvm-7.0.0-i486 Installing (pkg/local): llvm-dev-7.0.0-i486 Installing (pkg/local): z3-4.7.1-i486 Installing (pkg/local): z3-dev-4.7.1-any Extracting source archive "cfe-5.0.0.src.tar.xz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed -- The C compiler identification is GNU 8.2.0 -- The CXX compiler identification is GNU 8.2.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /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: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found LLVM_CONFIG as /usr/bin/llvm-config -- Linker detection: GNU ld -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_CXX11 -- Performing Test CXX_SUPPORTS_CXX11 - Success -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.15") -- Found Z3: /usr/lib/libz3.so (found suitable version "4.7.1 - 32 bit", minimum required is "4.5") -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Clang version: 7.0.0 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed CMake Error at tools/diagtool/CMakeLists.txt:15 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "diagtool". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) CMake Error at tools/driver/CMakeLists.txt:40 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "clang". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) CMake Error at tools/clang-format/CMakeLists.txt:14 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "clang-format". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) CMake Error at tools/clang-import-test/CMakeLists.txt:25 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "clang-import-test". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) CMake Error at tools/clang-offload-bundler/CMakeLists.txt:20 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "clang-offload-bundler". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) CMake Error at tools/c-index-test/CMakeLists.txt:24 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "c-index-test". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) CMake Error at tools/clang-rename/CMakeLists.txt:8 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "clang-rename". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) CMake Error at tools/arcmt-test/CMakeLists.txt:9 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "arcmt-test". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) CMake Error at tools/c-arcmt-test/CMakeLists.txt:10 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "c-arcmt-test". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) CMake Error at tools/clang-check/CMakeLists.txt:11 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "clang-check". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) CMake Error at examples/clang-interpreter/CMakeLists.txt:19 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "clang-interpreter". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) CMake Error at unittests/Basic/CMakeLists.txt:14 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "BasicTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/Lex/CMakeLists.txt:12 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "LexTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/Driver/CMakeLists.txt:12 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "ClangDriverTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/Analysis/CMakeLists.txt:10 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "ClangAnalysisTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/StaticAnalyzer/CMakeLists.txt:9 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "StaticAnalysisTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/Frontend/CMakeLists.txt:9 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "FrontendTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/ASTMatchers/CMakeLists.txt:20 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "ASTMatchersTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/ASTMatchers/Dynamic/CMakeLists.txt:10 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "DynamicASTMatchersTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/AST/CMakeLists.txt:22 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "ASTTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/Tooling/CMakeLists.txt:33 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "ToolingTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/Format/CMakeLists.txt:21 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "FormatTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/Rewrite/CMakeLists.txt:8 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "RewriteTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/Sema/CMakeLists.txt:9 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "SemaTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/CodeGen/CMakeLists.txt:10 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "ClangCodeGenTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/libclang/CMakeLists.txt:5 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "libclangTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) CMake Error at unittests/Rename/CMakeLists.txt:12 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "ClangRenameTests". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /usr/lib/cmake/llvm/LLVM-Config.cmake:90 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:786 (target_link_libraries) * /usr/lib/cmake/llvm/AddLLVM.cmake:1114 (target_link_libraries) -- Configuring incomplete, errors occurred! See also "/home/slitaz/wok/clang/source/clang-5.0.0/build/CMakeFiles/CMakeOutput.log". See also "/home/slitaz/wok/clang/source/clang-5.0.0/build/CMakeFiles/CMakeError.log". Build dependencies to remove: 17 Removing: cmake cmake-common jsoncpp libarchive libcurl libidn2 libllvm liblz4 libnsl libunistring libuv libxml2 libzstd llvm llvm-dev z3 z3-dev Debug information ret1. ================================================================================ Cook date: 2020-09-12 03:52 Wasted time : 34s 54:-- Performing Test C_SUPPORTS_WERROR_DATE_TIME 55:-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success 56:-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME 57:-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success 58:-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW 59:-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed 60:-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW 61:-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed 99:CMake Error at tools/diagtool/CMakeLists.txt:15 (target_link_libraries): 111:CMake Error at tools/driver/CMakeLists.txt:40 (target_link_libraries): 123:CMake Error at tools/clang-format/CMakeLists.txt:14 (target_link_libraries): 135:CMake Error at tools/clang-import-test/CMakeLists.txt:25 (target_link_libraries): 147:CMake Error at tools/clang-offload-bundler/CMakeLists.txt:20 (target_link_libraries): 159:CMake Error at tools/c-index-test/CMakeLists.txt:24 (target_link_libraries): 171:CMake Error at tools/clang-rename/CMakeLists.txt:8 (target_link_libraries): 183:CMake Error at tools/arcmt-test/CMakeLists.txt:9 (target_link_libraries): 195:CMake Error at tools/c-arcmt-test/CMakeLists.txt:10 (target_link_libraries): 207:CMake Error at tools/clang-check/CMakeLists.txt:11 (target_link_libraries): 219:CMake Error at examples/clang-interpreter/CMakeLists.txt:19 (target_link_libraries): 231:CMake Error at unittests/Basic/CMakeLists.txt:14 (target_link_libraries): 244:CMake Error at unittests/Lex/CMakeLists.txt:12 (target_link_libraries): 257:CMake Error at unittests/Driver/CMakeLists.txt:12 (target_link_libraries): 270:CMake Error at unittests/Analysis/CMakeLists.txt:10 (target_link_libraries): 283:CMake Error at unittests/StaticAnalyzer/CMakeLists.txt:9 (target_link_libraries): 296:CMake Error at unittests/Frontend/CMakeLists.txt:9 (target_link_libraries): 309:CMake Error at unittests/ASTMatchers/CMakeLists.txt:20 (target_link_libraries): 322:CMake Error at unittests/ASTMatchers/Dynamic/CMakeLists.txt:10 (target_link_libraries): 335:CMake Error at unittests/AST/CMakeLists.txt:22 (target_link_libraries): 348:CMake Error at unittests/Tooling/CMakeLists.txt:33 (target_link_libraries): 361:CMake Error at unittests/Format/CMakeLists.txt:21 (target_link_libraries): 374:CMake Error at unittests/Rewrite/CMakeLists.txt:8 (target_link_libraries): 387:CMake Error at unittests/Sema/CMakeLists.txt:9 (target_link_libraries): 400:CMake Error at unittests/CodeGen/CMakeLists.txt:10 (target_link_libraries): 413:CMake Error at unittests/libclang/CMakeLists.txt:5 (target_link_libraries): 426:CMake Error at unittests/Rename/CMakeLists.txt:12 (target_link_libraries): ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================