Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-intel-QAT20.spec'], chrootPath='/var/lib/mock/dist-an8.8-kernel-5.10.134-18-build-411197-72748/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/kmod-intel-QAT20.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 Wrote: /builddir/build/SRPMS/kmod-intel-QAT20-5.10.134~18-L.1.2.30__00090~2.an8.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/kmod-intel-QAT20.spec'], chrootPath='/var/lib/mock/dist-an8.8-kernel-5.10.134-18-build-411197-72748/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/kmod-intel-QAT20.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.0CJ9oD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kmod-intel-QAT20-L.1.2.30-00090 + /usr/bin/gzip -dc /builddir/build/SOURCES/kmod-intel-QAT20-L.1.2.30-00090.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kmod-intel-QAT20-L.1.2.30-00090 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.USONwz + umask 022 ~/build/BUILD/kmod-intel-QAT20-L.1.2.30-00090/src ~/build/BUILD/kmod-intel-QAT20-L.1.2.30-00090 + cd /builddir/build/BUILD + cd kmod-intel-QAT20-L.1.2.30-00090 + pushd src + unset ICP_ROOT ICP_ARCH_USER ICP_BUILDSYSTEM_PATH ICP_BUILD_OUTPUT ICP_ENV_DIR ICP_TOOLS_TARGET + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gawk... (cached) gawk checking for x86_64-Anolis-linux-g++... no checking for x86_64-Anolis-linux-c++... no checking for x86_64-Anolis-linux-gpp... no checking for x86_64-Anolis-linux-aCC... no checking for x86_64-Anolis-linux-CC... no checking for x86_64-Anolis-linux-cxx... no checking for x86_64-Anolis-linux-cc++... no checking for x86_64-Anolis-linux-cl.exe... no checking for x86_64-Anolis-linux-FCC... no checking for x86_64-Anolis-linux-KCC... no checking for x86_64-Anolis-linux-RCC... no checking for x86_64-Anolis-linux-xlC_r... no checking for x86_64-Anolis-linux-xlC... no checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for x86_64-Anolis-linux-cc... no checking for x86_64-Anolis-linux-gcc... no checking for cc... cc checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for C compiler vendor... gnu checking for a sed that does not truncate output... /usr/bin/sed checking for C compiler version... 8.5.0 checking for C++ compiler vendor... gnu checking for C++ compiler version... 8.5.0 checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for deflate in -lz... yes checking zlib version... 1.2.11 checking boost/version.hpp usability... yes checking boost/version.hpp presence... yes checking for boost/version.hpp... yes checking boost/regex.hpp usability... yes checking boost/regex.hpp presence... yes checking for boost/regex.hpp... yes checking for main in -lboost_regex... yes checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking for boostlib >= 1.14... yes checking libudev.h usability... yes checking libudev.h presence... yes checking for libudev.h... yes checking for libudev... yes checking for nasm... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int8_t... yes checking for pid_t... yes checking for C/C++ restrict keyword... __restrict checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for alarm... yes checking for getpagesize... (cached) yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for rmdir... yes checking for select... yes checking for strerror... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes ./configure: line 9272: lspci: command not found checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands ============================================================================ Type make followed by make install to build QAT with the following options ============================================================================ ICP_ROOT [/builddir/build/BUILD/kmod-intel-QAT20-L.1.2.30-00090/src] ICP_ARCH_USER [x86_64] ICP_BUILDSYSTEM_PATH [/builddir/build/BUILD/kmod-intel-QAT20-L.1.2.30-00090/src/quickassist/build_system] ICP_BUILD_OUTPUT [/builddir/build/BUILD/kmod-intel-QAT20-L.1.2.30-00090/src/build] ICP_ENV_DIR [/builddir/build/BUILD/kmod-intel-QAT20-L.1.2.30-00090/src/quickassist/build_system/build_files/env_files] ICP_TOOLS_TARGET [accelcomp] MAX_MR [50] KERNEL_SOURCE_ROOT [/lib/modules/5.10.134-18.an8.x86_64/build] ICP_DEBUG [false] ICP_PARAM_CHECK [false] ICP_DC_DYN_NOT_SUPPORTED [false] DISABLE_STATS [false] ICP_LOG_SYSLOG [false] ICP_NONBLOCKING_PARTIALS_PERFORM [false] ICP_TRACE [false] ICP_ASYM_ONLY [false] ICP_SYM_ONLY [false] ICP_DC_ONLY [false] ICP_DC_RETURN_COUNTERS_ON_ERROR [false] ICP_DISABLE_INLINE [false] KPT_ENABLED [false] ICP_ENABLE_LEGACY_ALGO [false] ICP_THREAD_SPECIFIC_USDM [false] QAE_USE_128K_SLABS [false] ICP_WITHOUT_QP_SUBMISSION_LOCK [false] ============================================================================ + /usr/bin/make -O -j80 qat-driver-all quickassist-all make[1]: Entering directory '/builddir/build/BUILD/kmod-intel-QAT20-L.1.2.30-00090/src/quickassist/qat' "anolis" make[1]: Leaving directory '/builddir/build/BUILD/kmod-intel-QAT20-L.1.2.30-00090/src/quickassist/qat' Makefile:68: *** ERROR: Kernel header files not found. Install the appropriate kernel development package necessary for building external kernel modules or run 'make oldconfig && make modules_prepare' on kernel src to fix it. Stop. make: *** [Makefile:1566: qat-driver-all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.USONwz (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.USONwz (%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/kmod-intel-QAT20.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 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-intel-QAT20.spec'