Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pocl.spec'], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=0uid=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pocl.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 warning: Macro expanded in comment on line 4: (c=%{commit}; echo ${c:0:7}) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1626998400 Wrote: /builddir/build/SRPMS/pocl-1.7-2.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/pocl.spec"], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=0uid=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/pocl.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 warning: Macro expanded in comment on line 4: (c=%{commit}; echo ${c:0:7}) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1626998400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oBFAcC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pocl-1.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/pocl-1.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pocl-1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -depth -name 'utlist*' -print -delete ./include/utlist.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9lEnwG + umask 022 + cd /builddir/build/BUILD + cd pocl-1.7 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-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 -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 .. -DENABLE_ICD=1 -DPOCL_INSTALL_ICD_VENDORDIR=/etc/OpenCL/vendors '-DEXTRA_KERNEL_CXX_FLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' -DKERNELLIB_HOST_CPU_VARIANTS=distro -DPOCL_ICD_ABSOLUTE_PATH=OFF -- The C compiler identification is GNU 11.2.1 -- The CXX compiler identification is GNU 11.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - 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/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES -- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES - Success -- Setting build type to 'RelWithDebInfo' as none was specified. -- No git and/or not a prerelease -> not adding git commit to version. -- Host CPU cores: 6 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") -- Checking for module 'hwloc' -- Found hwloc, version 2.4.1 -- Found Hwloc: hwloc -- Found hwloc 2.4.1 in :hwloc -- Hwloc_VERSION 2.4.1 -- Hwloc_LDFLAGS -lhwloc -- Hwloc_CFLAGS -- L1D Cacheline size detected: 64 -- Using llvm-config: /usr/bin/llvm-config -- LLVM binaries suffix : -- llvm-config's LLVM_PREFIX is: /usr -- llvm-config's LLVM_VERSION_FULL is: 13.0.1 -- LLVM_VERSION: 13.0 -- llvm-config's LLVM_CFLAGS is: -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_CXXFLAGS is: -I/usr/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_CPPFLAGS is: -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_LDFLAGS is: -L/usr/lib64 -- llvm-config's LLVM_BINDIR is: /usr/bin -- llvm-config's LLVM_LIBDIR is: /usr/lib64 -- llvm-config's LLVM_INCLUDEDIR is: /usr/include -- llvm-config's LLVM_SRC_ROOT is: /builddir/build/BUILD/llvm-13.0.1.src -- llvm-config's LLVM_OBJ_ROOT is: /usr -- llvm-config's LLVM_ALL_TARGETS is: X86 AMDGPU PowerPC NVPTX SystemZ AArch64 ARM Mips BPF WebAssembly -- llvm-config's LLVM_HOST_TARGET is: x86_64-unknown-linux-gnu -- llvm-config's LLVM_BUILD_MODE is: RelWithDebInfo -- llvm-config's LLVM_ASSERTS_BUILD is: OFF -- llvm-config's LLVM_SYSLIBS is: CMake Error at cmake/LLVM.cmake:203 (message): LLVM version between 6.0 and 12.0 required, found: 13.0 Call Stack (most recent call first): CMakeLists.txt:467 (include) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/pocl-1.7/redhat-linux-build/CMakeFiles/CMakeOutput.log". error: Bad exit status from /var/tmp/rpm-tmp.9lEnwG (%build) Macro expanded in comment on line 4: (c=%{commit}; echo ${c:0:7}) Bad exit status from /var/tmp/rpm-tmp.9lEnwG (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/pocl.spec