D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/lld-9.0.0-1.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.hM8wzs + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf lld-9.0.0.src + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/lld-9.0.0.src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lld-9.0.0.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0001-CMake-Check-for-gtest-headers-even-if-lit.py-is-not-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Dl98Oq + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd lld-9.0.0.src + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ln -sf build aarch64-mageia-linux-gnu + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + /usr/bin/cmake -S . -B build -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DLLVM_DYLIB_COMPONENTS=all -DPYTHON_EXECUTABLE=/usr/bin/python3 -DLLVM_INCLUDE_TESTS=ON -DLLVM_MAIN_SRC_DIR=/usr/share/llvm/src -DLLVM_EXTERNAL_LIT=/usr/bin/lit '-DLLVM_LIT_ARGS=-sv --path /usr/lib64/llvm' -DLLVM_LIBDIR_SUFFIX=64 -- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.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 -- 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_CXX_STD -- Performing Test CXX_SUPPORTS_CXX_STD - Success -- 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 CMake Warning (dev) at /usr/lib64/cmake/llvm/HandleLLVMOptions.cmake:802 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'LLVM_ENABLE_EH'. Call Stack (most recent call first): CMakeLists.txt:56 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/cmake/llvm/HandleLLVMOptions.cmake:803 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'LLVM_ENABLE_RTTI'. Call Stack (most recent call first): CMakeLists.txt:56 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/cmake/llvm/HandleLLVMOptions.cmake:906 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'LLVM_EXPORT_SYMBOLS_FOR_PLUGINS'. Call Stack (most recent call first): CMakeLists.txt:56 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Found PythonInterp: /usr/bin/python3 (found version "3.8.2") -- LLD version: 9.0.0 -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_RUNSTATEDIR CMAKE_INSTALL_SYSCONFDIR INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/iurt/rpmbuild/BUILD/lld-9.0.0.src/build + pwd /home/iurt/rpmbuild/BUILD/lld-9.0.0.src + export L=lib64 + L=lib64 + pushd tools/lld ~/rpmbuild/BUILD/lld-9.0.0.src/tools/lld ~/rpmbuild/BUILD/lld-9.0.0.src + perl -pi -e 's@$@ ../../lib64/liblldCommon.so.9 ../../lib64/liblldCore.so.9 ../../lib64/liblldMachO.so.9 ../../lib64/liblldReaderWriter.so.9 ../../lib64/liblldYAML.so.9@ if /Wasm/' CMakeFiles/lld.dir/link.txt Can't open CMakeFiles/lld.dir/link.txt: No such file or directory. + popd ~/rpmbuild/BUILD/lld-9.0.0.src + pushd unittests/DriverTests ~/rpmbuild/BUILD/lld-9.0.0.src/unittests/DriverTests ~/rpmbuild/BUILD/lld-9.0.0.src + perl -pi -e 's@$@ ../../lib64/liblldCommon.so.9 ../../lib64/liblldCore.so.9 ../../lib64/liblldMachO.so.9 ../../lib64/liblldReaderWriter.so.9 ../../lib64/liblldYAML.so.9@ if /Driver/' CMakeFiles/DriverTests.dir/link.txt Can't open CMakeFiles/DriverTests.dir/link.txt: No such file or directory. + popd ~/rpmbuild/BUILD/lld-9.0.0.src + pushd unittests/MachOTests ~/rpmbuild/BUILD/lld-9.0.0.src/unittests/MachOTests ~/rpmbuild/BUILD/lld-9.0.0.src + perl -pi -e 's@$@ ../../lib64/liblldCommon.so.9 ../../lib64/liblldCore.so.9 ../../lib64/liblldMachO.so.9 ../../lib64/liblldReaderWriter.so.9 ../../lib64/liblldYAML.so.9@ if /LLVM/' CMakeFiles/lldMachOTests.dir/link.txt Can't open CMakeFiles/lldMachOTests.dir/link.txt: No such file or directory. + popd ~/rpmbuild/BUILD/lld-9.0.0.src + /usr/bin/make -O -j8 V=1 VERBOSE=1 make: *** No targets specified and no makefile found. Stop. error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Dl98Oq (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Dl98Oq (%build) I: [iurt_root_command] ERROR: chroot