Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libomp.spec'], chrootPath='/var/lib/mock/dist-an23-build-210943-61907/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libomp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1675209600 Wrote: /builddir/build/SRPMS/libomp-15.0.7-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libomp.spec'], chrootPath='/var/lib/mock/dist-an23-build-210943-61907/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libomp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Qbt6My + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openmp-15.0.7.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openmp-15.0.7.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd openmp-15.0.7.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-libomp-Explicitly-include-string-header-NFC.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.J6nrQP + umask 022 + cd /builddir/build/BUILD + cd openmp-15.0.7.src + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + /usr/bin/cmake -S . -B anolis-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_FULL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_FULL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=/var/lib -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 -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -GNinja -DLIBOMP_INSTALL_ALIASES=OFF -DCMAKE_MODULE_PATH=/usr/lib64/cmake/llvm -DLLVM_DIR=/usr/lib64/cmake/llvm -DCMAKE_INSTALL_INCLUDEDIR=/usr/lib64/clang/15.0.7/include -DOPENMP_LIBDIR_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test OPENMP_HAVE_WALL_FLAG -- Performing Test OPENMP_HAVE_WALL_FLAG - Success -- Performing Test OPENMP_HAVE_WERROR_FLAG -- Performing Test OPENMP_HAVE_WERROR_FLAG - Success -- Performing Test OPENMP_HAVE_WCAST_QUAL_FLAG -- Performing Test OPENMP_HAVE_WCAST_QUAL_FLAG - Success -- Performing Test OPENMP_HAVE_WFORMAT_PEDANTIC_FLAG -- Performing Test OPENMP_HAVE_WFORMAT_PEDANTIC_FLAG - Failed -- Performing Test OPENMP_HAVE_WIMPLICIT_FALLTHROUGH_FLAG -- Performing Test OPENMP_HAVE_WIMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test OPENMP_HAVE_WSIGN_COMPARE_FLAG -- Performing Test OPENMP_HAVE_WSIGN_COMPARE_FLAG - Success -- Performing Test OPENMP_HAVE_WNO_EXTRA_FLAG -- Performing Test OPENMP_HAVE_WNO_EXTRA_FLAG - Success -- Performing Test OPENMP_HAVE_WNO_PEDANTIC_FLAG -- Performing Test OPENMP_HAVE_WNO_PEDANTIC_FLAG - Success -- Performing Test OPENMP_HAVE_WNO_MAYBE_UNINITIALIZED_FLAG -- Performing Test OPENMP_HAVE_WNO_MAYBE_UNINITIALIZED_FLAG - Success -- Performing Test OPENMP_HAVE_STD_CPP14_FLAG -- Performing Test OPENMP_HAVE_STD_CPP14_FLAG - Success -- Found PythonInterp: /usr/bin/python3.10 (found version "3.10.9") -- Cannot find llvm-lit. -- Please put llvm-lit in your PATH, set OPENMP_LLVM_LIT_EXECUTABLE to its full path, or point OPENMP_LLVM_TOOLS_DIR to its directory. CMake Warning at cmake/OpenMPTesting.cmake:22 (message): The check targets will not be available! Call Stack (most recent call first): cmake/OpenMPTesting.cmake:51 (find_standalone_test_dependencies) CMakeLists.txt:59 (include) -- Performing Test LIBOMP_HAVE_FNO_EXCEPTIONS_FLAG -- Performing Test LIBOMP_HAVE_FNO_EXCEPTIONS_FLAG - Success -- Performing Test LIBOMP_HAVE_FNO_RTTI_FLAG -- Performing Test LIBOMP_HAVE_FNO_RTTI_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_CLASS_MEMACCESS_FLAG -- Performing Test LIBOMP_HAVE_WNO_CLASS_MEMACCESS_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test LIBOMP_HAVE_WNO_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_FRAME_ADDRESS_FLAG -- Performing Test LIBOMP_HAVE_WNO_FRAME_ADDRESS_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_STRICT_ALIASING_FLAG -- Performing Test LIBOMP_HAVE_WNO_STRICT_ALIASING_FLAG - Success -- Performing Test LIBOMP_HAVE_WSTRINGOP_OVERFLOW_FLAG -- Performing Test LIBOMP_HAVE_WSTRINGOP_OVERFLOW_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_STRINGOP_TRUNCATION_FLAG -- Performing Test LIBOMP_HAVE_WNO_STRINGOP_TRUNCATION_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_SWITCH_FLAG -- Performing Test LIBOMP_HAVE_WNO_SWITCH_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_UNINITIALIZED_FLAG -- Performing Test LIBOMP_HAVE_WNO_UNINITIALIZED_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_UNUSED_BUT_SET_VARIABLE_FLAG -- Performing Test LIBOMP_HAVE_WNO_UNUSED_BUT_SET_VARIABLE_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_RETURN_TYPE_C_LINKAGE_FLAG -- Performing Test LIBOMP_HAVE_WNO_RETURN_TYPE_C_LINKAGE_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_CAST_QUAL_FLAG -- Performing Test LIBOMP_HAVE_WNO_CAST_QUAL_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_INT_TO_VOID_POINTER_CAST_FLAG -- Performing Test LIBOMP_HAVE_WNO_INT_TO_VOID_POINTER_CAST_FLAG - Success -- Performing Test LIBOMP_HAVE_MSSE2_FLAG -- Performing Test LIBOMP_HAVE_MSSE2_FLAG - Success -- Performing Test LIBOMP_HAVE_FTLS_MODEL_FLAG -- Performing Test LIBOMP_HAVE_FTLS_MODEL_FLAG - Success -- Performing Test LIBOMP_HAVE_MMIC_FLAG -- Performing Test LIBOMP_HAVE_MMIC_FLAG - Failed -- Performing Test LIBOMP_HAVE_M32_FLAG -- Performing Test LIBOMP_HAVE_M32_FLAG - Failed -- Looking for shm_open -- Looking for shm_open - found -- Looking for xmmintrin.h -- Looking for xmmintrin.h - found -- Performing Test LIBOMP_HAVE__MM_MALLOC -- Performing Test LIBOMP_HAVE__MM_MALLOC - Success -- Looking for aligned_alloc -- Looking for aligned_alloc - found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for _aligned_malloc -- Looking for _aligned_malloc - not found -- Performing Test LIBOMP_HAVE_X_FLAG -- Performing Test LIBOMP_HAVE_X_FLAG - Success -- Performing Test LIBOMP_HAVE_WARN_SHARED_TEXTREL_FLAG -- Performing Test LIBOMP_HAVE_WARN_SHARED_TEXTREL_FLAG - Success -- Performing Test LIBOMP_HAVE_AS_NEEDED_FLAG -- Performing Test LIBOMP_HAVE_AS_NEEDED_FLAG - Success -- Performing Test LIBOMP_HAVE_VERSION_SCRIPT_FLAG -- Performing Test LIBOMP_HAVE_VERSION_SCRIPT_FLAG - Success -- Performing Test LIBOMP_HAVE_STATIC_LIBGCC_FLAG -- Performing Test LIBOMP_HAVE_STATIC_LIBGCC_FLAG - Success -- Performing Test LIBOMP_HAVE_Z_NOEXECSTACK_FLAG -- Performing Test LIBOMP_HAVE_Z_NOEXECSTACK_FLAG - Success -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for immintrin.h -- Looking for immintrin.h - found -- Performing Test LIBOMP_HAVE_ATTRIBUTE_RTM -- Performing Test LIBOMP_HAVE_ATTRIBUTE_RTM - Success -- Performing Test LIBOMP_HAVE_ATTRIBUTE_WAITPKG -- Performing Test LIBOMP_HAVE_ATTRIBUTE_WAITPKG - Success -- Performing Test LIBOMP_HAVE_WAITPKG_INTRINSICS -- Performing Test LIBOMP_HAVE_WAITPKG_INTRINSICS - Success -- Performing Test LIBOMP_HAVE_RTM_INTRINSICS -- Performing Test LIBOMP_HAVE_RTM_INTRINSICS - Success -- Found Perl: /usr/bin/perl (found version "5.36.0") -- Performing Test LIBOMP_HAVE_VERSION_SYMBOLS -- Performing Test LIBOMP_HAVE_VERSION_SYMBOLS - Success -- Performing Test LIBOMP_HAVE___BUILTIN_FRAME_ADDRESS -- Performing Test LIBOMP_HAVE___BUILTIN_FRAME_ADDRESS - Success -- Performing Test LIBOMP_HAVE_WEAK_ATTRIBUTE -- Performing Test LIBOMP_HAVE_WEAK_ATTRIBUTE - Success -- Performing Test LIBOMP_HAVE_PSAPI -- Performing Test LIBOMP_HAVE_PSAPI - Failed -- LIBOMP: Operating System -- Linux -- LIBOMP: Target Architecture -- x86_64 -- LIBOMP: Build Type -- Release -- LIBOMP: Library Kind -- SHARED -- LIBOMP: Library Type -- normal -- LIBOMP: Fortran Modules -- FALSE -- LIBOMP: Build -- 20140926 -- LIBOMP: Use Stats-gathering -- FALSE -- LIBOMP: Use Debugger-support -- FALSE -- LIBOMP: Use ITT notify -- TRUE -- LIBOMP: Use OMPT-support -- TRUE -- LIBOMP: Use OMPT-optional -- TRUE -- LIBOMP: Use OMPD-support -- TRUE -- LIBOMP: Use Adaptive locks -- TRUE -- LIBOMP: Use quad precision -- TRUE -- LIBOMP: Use Hwloc library -- FALSE CMake Error at runtime/src/CMakeLists.txt:11 (include): include could not find requested file: ExtendPath -- Looking for sqrt in m -- Looking for sqrt in m - found -- Looking for __atomic_load_1 -- Looking for __atomic_load_1 - not found -- Looking for __atomic_load_1 in atomic -- Looking for __atomic_load_1 in atomic - found -- check-libomp does nothing. -- check-ompt does nothing. -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Found LLVM 13.0.1 -- Using LLVM in: /usr/lib64/cmake/llvm -- Linker detection: GNU ld -- Found LIBOMPTARGET_DEP_LIBELF: /usr/lib64/libelf.so -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Found LIBOMPTARGET_DEP_LIBFFI: /usr/lib64/libffi.so -- Could NOT find LIBOMPTARGET_DEP_CUDA_DRIVER (missing: LIBOMPTARGET_DEP_CUDA_DRIVER_LIBRARIES) -- Could NOT find LIBOMPTARGET_DEP_VEO (missing: LIBOMPTARGET_DEP_VEO_LIBRARIES LIBOMPTARGET_DEP_VEOSINFO_LIBRARIES LIBOMPTARGET_DEP_VEO_INCLUDE_DIRS) -- LIBOMPTARGET: Building offloading runtime library libomptarget. -- LIBOMPTARGET: Not building aarch64 offloading plugin: machine not found in the system. -- LIBOMPTARGET: Building AMDGPU plugin for dlopened libhsa -- LIBOMPTARGET: Not generating amdgcn test targets as amdgpu-arch is not found -- LIBOMPTARGET: Building CUDA offloading plugin. -- LIBOMPTARGET: Building CUDA plugin for dlopened libcuda -- LIBOMPTARGET: Disabling tests using CUDA plugin as cuda may not be available -- LIBOMPTARGET: Not building PPC64 offloading plugin: machine not found in the system. -- LIBOMPTARGET: Not building PPC64le offloading plugin: machine not found in the system. -- LIBOMPTARGET: Not building nec-aurora plugin: libveo or libveosinfo not found. -- LIBOMPTARGET: Building x86_64 offloading plugin. -- LIBOMPTARGET: Building DeviceRTL. Using clang: /usr/bin/clang, llvm-link: /usr/bin/llvm-link and opt: /usr/bin/opt -- LIBOMPTARGET: Building the llvm-omp-device-info tool CMake Error at libomptarget/tools/CMakeLists.txt:20 (llvm_add_tool): Unknown CMake command "llvm_add_tool". Call Stack (most recent call first): libomptarget/tools/deviceinfo/CMakeLists.txt:15 (add_openmp_tool) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/openmp-15.0.7.src/anolis-linux-build/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/openmp-15.0.7.src/anolis-linux-build/CMakeFiles/CMakeError.log". error: Bad exit status from /var/tmp/rpm-tmp.J6nrQP (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.J6nrQP (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libomp.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libomp.spec