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-lpfc.spec'], chrootPath='/var/lib/mock/dist-an8.8-kernel-5.10.134-17-build-389507-71960/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-lpfc.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-lpfc-5.10.134~17-14.2.673.37~3.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-lpfc.spec'], chrootPath='/var/lib/mock/dist-an8.8-kernel-5.10.134-17-build-389507-71960/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-lpfc.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.O7cxNc + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILDROOT/kmod-lpfc-5.10.134~17-14.2.673.37~3.an8.x86_64 + cd /builddir/build/BUILD + rm -rf kmod-lpfc-14.2.673.37 + /usr/bin/gzip -dc /builddir/build/SOURCES/kmod-lpfc-14.2.673.37.tar.gz + /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2024-07-22 15:52 kmod-lpfc-14.2.673.37/ -rw-rw-r-- root/root 3131 2024-07-22 15:52 kmod-lpfc-14.2.673.37/kmod-lpfc.spec drwxrwxr-x root/root 0 2024-07-22 15:52 kmod-lpfc-14.2.673.37/licenses/ -rw-rw-r-- root/root 18011 2024-07-22 15:52 kmod-lpfc-14.2.673.37/licenses/COPYING -rw-rw-r-- root/root 85 2024-07-22 15:52 kmod-lpfc-14.2.673.37/lpfc.conf -rw-rw-r-- root/root 22 2024-07-22 15:52 kmod-lpfc-14.2.673.37/lpfc_dracut.conf drwxrwxr-x root/root 0 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/ -rw-rw-r-- root/root 63292 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/ChangeLog -rw-rw-r-- root/root 2486 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/GNUmakefile -rw-rw-r-- root/root 9257 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/Makefile -rw-rw-r-- root/root 63165 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc.h -rw-rw-r-- root/root 259050 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_attr.c -rw-rw-r-- root/root 5710 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_attr.h -rw-rw-r-- root/root 66825 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_auth.c -rw-rw-r-- root/root 6491 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_auth.h -rw-rw-r-- root/root 211771 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_bsg.c -rw-rw-r-- root/root 15219 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_bsg.h -rw-rw-r-- root/root 9078 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_compat.h -rw-rw-r-- root/root 39057 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_crtn.h -rw-rw-r-- root/root 110699 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_ct.c -rw-rw-r-- root/root 198885 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_debugfs.c -rw-rw-r-- root/root 19155 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_debugfs.h -rw-rw-r-- root/root 15513 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_disc.h -rw-rw-r-- root/root 391220 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_els.c -rw-rw-r-- root/root 222422 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_hbadisc.c -rw-rw-r-- root/root 127385 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_hw.h -rw-rw-r-- root/root 197661 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_hw4.h -rw-rw-r-- root/root 1849 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_ids.h -rw-rw-r-- root/root 481875 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_init.c -rw-rw-r-- root/root 5870 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_logmsg.h -rw-rw-r-- root/root 92741 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_mbox.c -rw-rw-r-- root/root 22341 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_mem.c -rw-rw-r-- root/root 5666 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_nl.h -rw-rw-r-- root/root 95578 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_nportdisc.c -rw-rw-r-- root/root 86878 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_nvme.c -rw-rw-r-- root/root 8890 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_nvme.h -rw-rw-r-- root/root 111791 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_nvmet.c -rw-rw-r-- root/root 253733 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_scsi.c -rw-rw-r-- root/root 7452 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_scsi.h -rw-rw-r-- root/root 724282 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_sli.c -rw-rw-r-- root/root 18157 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_sli.h -rw-rw-r-- root/root 37828 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_sli4.h -rw-rw-r-- root/root 2006 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_version.h -rw-rw-r-- root/root 10482 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_vmid.c -rw-rw-r-- root/root 23288 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_vport.c -rw-rw-r-- root/root 3890 2024-07-22 15:52 kmod-lpfc-14.2.673.37/src/lpfc_vport.h + STATUS=0 + '[' 0 -ne 0 ']' + cd kmod-lpfc-14.2.673.37 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jbTQ5w + umask 022 + cd /builddir/build/BUILD + cd kmod-lpfc-14.2.673.37 + make -C src KSRC=/usr/src/kernels/5.10.134-17.an8.x86_64/ KERNELVERSION=5.10.134-17.an8.x86_64 -j32 make: Entering directory '/builddir/build/BUILD/kmod-lpfc-14.2.673.37/src' grep: /lib/modules/5.10.134-17.an8.x86_64/build/.config: No such file or directory GNUmakefile setting EXTRA_CFLAGS to make -C /lib/modules/5.10.134-17.an8.x86_64/build M=/builddir/build/BUILD/kmod-lpfc-14.2.673.37/src CONFIG_SCSI_LPFC=m modules make[1]: Entering directory '/builddir/build/BUILD/kmod-lpfc-14.2.673.37/src' make[1]: Leaving directory '/builddir/build/BUILD/kmod-lpfc-14.2.673.37/src' make[1]: *** /lib/modules/5.10.134-17.an8.x86_64/build: No such file or directory. Stop. make: Leaving directory '/builddir/build/BUILD/kmod-lpfc-14.2.673.37/src' make: *** [GNUmakefile:46: default] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.jbTQ5w (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.jbTQ5w (%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-lpfc.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-lpfc.spec'