Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/lorax-templates-anolis.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-194950-60874/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/lorax-templates-anolis.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/lorax-templates-anolis-8.3-4.13.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/lorax-templates-anolis.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-194950-60874/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/lorax-templates-anolis.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.27L1Gw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lorax-templates-anolis-8.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/lorax-templates-anolis-8.3-4.tar.gz + /usr/bin/tar -xvvof - drwxr-xr-x yungao.wjb/users 0 2020-12-26 00:12 lorax-templates-anolis-8.3/ drwxr-xr-x yungao.wjb/users 0 2020-12-26 00:17 lorax-templates-anolis-8.3/80-anolis/ -rw-r--r-- yungao.wjb/users 1721 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/arm.tmpl -rw-r--r-- yungao.wjb/users 2435 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/efi.tmpl -rw-r--r-- yungao.wjb/users 2721 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/aarch64.tmpl drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/ -rw-r--r-- yungao.wjb/users 1698 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/arm.tmpl -rw-r--r-- yungao.wjb/users 951 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/live-install.tmpl -rw-r--r-- yungao.wjb/users 2488 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/efi.tmpl -rw-r--r-- yungao.wjb/users 2793 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/aarch64.tmpl -rw-r--r-- yungao.wjb/users 3344 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/s390.tmpl -rw-r--r-- yungao.wjb/users 4837 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/ppc.tmpl drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/ drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/x86/ -rw-r--r-- yungao.wjb/users 2717 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/x86/isolinux.cfg -rw-r--r-- yungao.wjb/users 343 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/x86/grub.conf -rw-r--r-- yungao.wjb/users 84 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/x86/boot.msg -rw-r--r-- yungao.wjb/users 985 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/x86/grub2-efi.cfg drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/s390/ -rw-r--r-- yungao.wjb/users 163 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/s390/redhat.exec -rw-r--r-- yungao.wjb/users 60 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/s390/genericdvd.prm -rw-r--r-- yungao.wjb/users 160 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/s390/generic.ins -rw-r--r-- yungao.wjb/users 53 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/s390/generic.prm -rw-r--r-- yungao.wjb/users 32 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/s390/cdboot.prm drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/ppc/ -rw-r--r-- yungao.wjb/users 1286 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/ppc/mapping -rw-r--r-- yungao.wjb/users 2050 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/ppc/ofboot.b -rw-r--r-- yungao.wjb/users 12520 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/ppc/bootinfo.txt -rw-r--r-- yungao.wjb/users 261 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/ppc/yaboot.conf.in -rw-r--r-- yungao.wjb/users 803 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/ppc/grub.cfg.in -rw-r--r-- yungao.wjb/users 353 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/ppc/yaboot.conf.3264 drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/aarch64/ -rw-r--r-- yungao.wjb/users 1082 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/config_files/aarch64/grub2-efi.cfg -rw-r--r-- yungao.wjb/users 4690 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/x86.tmpl -rw-r--r-- yungao.wjb/users 3600 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/live/ppc64le.tmpl -rw-r--r-- yungao.wjb/users 4892 2020-12-26 00:17 lorax-templates-anolis-8.3/80-anolis/runtime-postinstall.tmpl drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/pxe-live/ -rw-r--r-- yungao.wjb/users 157 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/pxe-live/pxe-config.tmpl -rw-r--r-- yungao.wjb/users 2722 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/s390.tmpl -rw-r--r-- yungao.wjb/users 5177 2020-12-26 00:16 lorax-templates-anolis-8.3/80-anolis/runtime-install.tmpl -rw-r--r-- yungao.wjb/users 4309 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/ppc.tmpl drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/appliance/ -rw-r--r-- yungao.wjb/users 751 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/appliance/libvirt.tmpl drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/ drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/sparc/ -rw-r--r-- yungao.wjb/users 248 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/sparc/boot.msg -rw-r--r-- yungao.wjb/users 407 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/sparc/silo.conf drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/x86/ -rw-r--r-- yungao.wjb/users 2933 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/x86/isolinux.cfg -rw-r--r-- yungao.wjb/users 303 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/x86/grub.conf -rw-r--r-- yungao.wjb/users 84 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/x86/boot.msg -rw-r--r-- yungao.wjb/users 1094 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/x86/grub2-efi.cfg drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/s390/ -rw-r--r-- yungao.wjb/users 163 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/s390/redhat.exec -rw-r--r-- yungao.wjb/users 60 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/s390/genericdvd.prm -rw-r--r-- yungao.wjb/users 160 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/s390/generic.ins -rw-r--r-- yungao.wjb/users 45 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/s390/generic.prm -rw-r--r-- yungao.wjb/users 3 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/s390/cdboot.prm drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/ppc/ -rw-r--r-- yungao.wjb/users 1355 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/ppc/mapping -rw-r--r-- yungao.wjb/users 2050 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/ppc/ofboot.b -rw-r--r-- yungao.wjb/users 12520 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/ppc/bootinfo.txt -rw-r--r-- yungao.wjb/users 241 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/ppc/yaboot.conf.in -rw-r--r-- yungao.wjb/users 832 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/ppc/grub.cfg.in -rw-r--r-- yungao.wjb/users 353 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/ppc/yaboot.conf.3264 drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/aarch64/ -rw-r--r-- yungao.wjb/users 302 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/aarch64/grub.conf -rw-r--r-- yungao.wjb/users 84 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/aarch64/boot.msg -rw-r--r-- yungao.wjb/users 1159 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/aarch64/grub2-efi.cfg drwxr-xr-x yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/ -rw-r--r-- yungao.wjb/users 45 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/91-anaconda-autoconnect-slaves.conf -rw-r--r-- yungao.wjb/users 0 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/resolv.conf -rw-r--r-- yungao.wjb/users 16 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/sysctl.conf -rw-r--r-- yungao.wjb/users 3459 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/rsyslog.conf -rw-r--r-- yungao.wjb/users 59 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/org.gtk.Settings.Debug.gschema.override -rw-r--r-- yungao.wjb/users 24 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/vconsole.conf -rw-r--r-- yungao.wjb/users 361 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/pam.sshd -rw-r--r-- yungao.wjb/users 29 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/spice-vdagentd -rw-r--r-- yungao.wjb/users 231 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/libuser.conf -rw-r--r-- yungao.wjb/users 163 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/profile -rw-r--r-- yungao.wjb/users 25 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/90-anaconda-no-auto-default.conf -rw-r--r-- yungao.wjb/users 332 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/bash_history -rw-r--r-- yungao.wjb/users 22 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/92-anaconda-loglevel-debug.conf -rw-r--r-- yungao.wjb/users 19 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/i18n -rw-r--r-- yungao.wjb/users 276 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/sshd_config.anaconda -rw-r--r-- yungao.wjb/users 40 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/config_files/common/selinux.config -rw-r--r-- yungao.wjb/users 4825 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/x86.tmpl -rw-r--r-- yungao.wjb/users 18653 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/runtime-cleanup.tmpl -rw-r--r-- yungao.wjb/users 3670 2020-07-08 06:26 lorax-templates-anolis-8.3/80-anolis/ppc64le.tmpl + STATUS=0 + '[' 0 -ne 0 ']' + cd lorax-templates-anolis-8.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1000 (1000-lorax-templates-anolis-add-loongarch64-support.patch): + echo 'Patch #1000 (1000-lorax-templates-anolis-add-loongarch64-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file 80-anolis/config_files/loongarch64/boot.cfg patching file 80-anolis/config_files/loongarch64/grub2-efi.cfg patching file 80-anolis/loongarch64.tmpl patching file 80-anolis/runtime-install.tmpl Patch #1001 (1001-install-kernel-with-version-suffixed.patch): + echo 'Patch #1001 (1001-install-kernel-with-version-suffixed.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file 80-anolis/aarch64.tmpl patching file 80-anolis/config_files/x86/grub2-efi.cfg patching file 80-anolis/config_files/x86/grub.conf patching file 80-anolis/config_files/x86/isolinux.cfg patching file 80-anolis/efi.tmpl patching file 80-anolis/runtime-install.tmpl Hunk #1 succeeded at 18 (offset 3 lines). patching file 80-anolis/x86.tmpl + echo 'Patch #1002 (1002-correct-images_xen-tree-info.patch):' Patch #1002 (1002-correct-images_xen-tree-info.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file 80-anolis/x86.tmpl + echo 'Patch #1003 (1003-tmpl-update-kernels-for-aarch64-efi.patch):' Patch #1003 (1003-tmpl-update-kernels-for-aarch64-efi.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file 80-anolis/aarch64.tmpl patching file 80-anolis/config_files/aarch64/grub2-efi.cfg patching file 80-anolis/config_files/aarch64/grub.conf + echo 'Patch #1004 (1004-shift-default-boot-number.patch):' Patch #1004 (1004-shift-default-boot-number.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file 80-anolis/config_files/aarch64/grub2-efi.cfg patching file 80-anolis/config_files/aarch64/grub.conf patching file 80-anolis/config_files/x86/grub2-efi.cfg patching file 80-anolis/config_files/x86/grub.conf Patch #1005 (0001-add-BOOTLOONGARCH64.EFI-to-support-new-firmware.patch): + echo 'Patch #1005 (0001-add-BOOTLOONGARCH64.EFI-to-support-new-firmware.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file 80-anolis/loongarch64.tmpl Patch #1006 (0001-loongarch-install-different-kernel-for-loongarch.patch): + echo 'Patch #1006 (0001-loongarch-install-different-kernel-for-loongarch.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file 80-anolis/loongarch64.tmpl patching file 80-anolis/runtime-install.tmpl Patch #1007 (1005-Add-5.10-kmod-pack.patch): + echo 'Patch #1007 (1005-Add-5.10-kmod-pack.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file 80-anolis/runtime-install.tmpl Hunk #1 FAILED at 189. 1 out of 1 hunk FAILED -- saving rejects to file 80-anolis/runtime-install.tmpl.rej error: Bad exit status from /var/tmp/rpm-tmp.27L1Gw (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.27L1Gw (%prep) Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 noarch --nodeps /builddir/build/SPECS/lorax-templates-anolis.spec