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_dlb2.spec'], chrootPath='/var/lib/mock/dist-an8.8-kernel-5.10.134-18-build-410520-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_dlb2.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_dlb2-5.10.134~18-8.2.0~1.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_dlb2.spec'], chrootPath='/var/lib/mock/dist-an8.8-kernel-5.10.134-18-build-410520-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_dlb2.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.oNdSAo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kmod-intel_dlb2-8.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/kmod-intel_dlb2-8.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kmod-intel_dlb2-8.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zz0rHs + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/kmod-intel_dlb2-8.2.0/src ~/build/BUILD/kmod-intel_dlb2-8.2.0 + cd kmod-intel_dlb2-8.2.0 + pushd src + /usr/bin/make -C /usr/src/kernels/5.10.134-18.an8.x86_64 -j80 M=/builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src modules make: Entering directory '/usr/src/kernels/5.10.134-18.an8.x86_64' CC [M] /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_main.o CC [M] /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_file.o CC [M] /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_ioctl.o CC [M] /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/base/dlb2_resource.o CC [M] /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/base/dlb2_migration.o CC [M] /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_pf_ops.o CC [M] /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_intr.o CC [M] /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_dp.o CC [M] /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_sriov.o CC [M] /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_vf_ops.o CC [M] /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_vdcm.o CC [M] /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_perf.o /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_ioctl.c: In function 'dlb2_domain_ioctl_enable_cq_epoll': /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_ioctl.c:407:13: error: implicit declaration of function 'fcheck_files'; did you mean 'unshare_files'? [-Werror=implicit-function-declaration] efd_file = fcheck_files(tasks->files, arg->event_fd); ^~~~~~~~~~~~ unshare_files /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_ioctl.c:407:11: warning: assignment to 'struct file *' from 'int' makes pointer from integer without a cast [-Wint-conversion] efd_file = fcheck_files(tasks->files, arg->event_fd); ^ cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src/dlb2_ioctl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1834: /builddir/build/BUILD/kmod-intel_dlb2-8.2.0/src] Error 2 make: Leaving directory '/usr/src/kernels/5.10.134-18.an8.x86_64' error: Bad exit status from /var/tmp/rpm-tmp.zz0rHs (%build) Bad exit status from /var/tmp/rpm-tmp.zz0rHs (%build) RPM build errors: 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_dlb2.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_dlb2.spec'