Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/grub2.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-loongarch64-371387-71492/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5i_0ynni:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5i_0ynni:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'da44c27e0a5e41acb863b7e44de1809c', '-D', '/var/lib/mock/dist-an23-build-python3.11-loongarch64-371387-71492/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5i_0ynni:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/grub2.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: /builddir/build/SPECS/grub2.spec: line 196: Macro %___pesign_client_cert defined but not used within scope warning: /builddir/build/SPECS/grub2.spec: line 196: Macro %__pesign_client_cert defined but not used within scope warning: /builddir/build/SPECS/grub2.spec: line 199: Macro %___pesign_client_cert defined but not used within scope warning: /builddir/build/SPECS/grub2.spec: line 199: Macro %__pesign_client_cert defined but not used within scope warning: Macro expanded in comment on line 346: %{_sbindir}/%{name}-switch-to-blscfg warning: Macro expanded in comment on line 347: %{_sbindir}/%{name}-rpm-sort warning: Macro expanded in comment on line 359: %{_libexecdir}/%{name} warning: Macro expanded in comment on line 362: %{_sysconfdir}/grub.d/01_fallback_counting warning: Macro expanded in comment on line 369: %{name}-systemd-integration.service warning: Macro expanded in comment on line 397: %{_sbindir}/%{name}-set-bootflag warning: Macro expanded in comment on line 398: %{_sbindir}/%{name}-get-kernel-settings Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1712016000 Wrote: /builddir/build/SRPMS/grub2-2.12-2.an23.src.rpm RPM build warnings: /builddir/build/SPECS/grub2.spec: line 196: Macro %___pesign_client_cert defined but not used within scope /builddir/build/SPECS/grub2.spec: line 196: Macro %__pesign_client_cert defined but not used within scope /builddir/build/SPECS/grub2.spec: line 199: Macro %___pesign_client_cert defined but not used within scope /builddir/build/SPECS/grub2.spec: line 199: Macro %__pesign_client_cert defined but not used within scope Macro expanded in comment on line 346: %{_sbindir}/%{name}-switch-to-blscfg Macro expanded in comment on line 347: %{_sbindir}/%{name}-rpm-sort Macro expanded in comment on line 359: %{_libexecdir}/%{name} Macro expanded in comment on line 362: %{_sysconfdir}/grub.d/01_fallback_counting Macro expanded in comment on line 369: %{name}-systemd-integration.service Macro expanded in comment on line 397: %{_sbindir}/%{name}-set-bootflag Macro expanded in comment on line 398: %{_sbindir}/%{name}-get-kernel-settings Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/grub2.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-loongarch64-371387-71492/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5i_0ynni:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5i_0ynni:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b075074877b84bca87388239746185d4', '-D', '/var/lib/mock/dist-an23-build-python3.11-loongarch64-371387-71492/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5i_0ynni:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/grub2.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 346: %{_sbindir}/%{name}-switch-to-blscfg warning: Macro expanded in comment on line 347: %{_sbindir}/%{name}-rpm-sort warning: Macro expanded in comment on line 359: %{_libexecdir}/%{name} warning: Macro expanded in comment on line 362: %{_sysconfdir}/grub.d/01_fallback_counting warning: Macro expanded in comment on line 366: %{_userunitdir}/* warning: Macro expanded in comment on line 367: %{_unitdir}/grub-boot-indeterminate.service warning: Macro expanded in comment on line 368: %{_unitdir}/system-update.target.wants warning: Macro expanded in comment on line 369: %{_unitdir}/%{name}-systemd-integration.service warning: Macro expanded in comment on line 370: %{_unitdir}/systemd-logind.service.d warning: Macro expanded in comment on line 371: %{_unitdir}/systemd-logind.service.d/* warning: Macro expanded in comment on line 397: %{_sbindir}/%{name}-set-bootflag warning: Macro expanded in comment on line 398: %{_sbindir}/%{name}-get-kernel-settings Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1712016000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jMYPUC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf grub-2.12 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grub-2.12.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd grub-2.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fv docs/grub-dev.info docs/grub.info removed 'docs/grub-dev.info' removed 'docs/grub.info' + cp /builddir/build/SOURCES/gitignore .gitignore + cp /builddir/build/SOURCES/99-grub-mkconfig.install bootstrap + cp /builddir/build/SOURCES/gnulib-fixes.tar.gz bootstrap.conf + cp /builddir/build/SOURCES/strtoull_test.c ./grub-core/tests/strtoull_test.c + cp /builddir/build/SOURCES/grub.patches gnulib-fixes.tar.gz + tar -zxf gnulib-fixes.tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now error: Bad exit status from /var/tmp/rpm-tmp.jMYPUC (%prep) RPM build warnings: RPM build errors: Macro expanded in comment on line 346: %{_sbindir}/%{name}-switch-to-blscfg Macro expanded in comment on line 347: %{_sbindir}/%{name}-rpm-sort Macro expanded in comment on line 359: %{_libexecdir}/%{name} Macro expanded in comment on line 362: %{_sysconfdir}/grub.d/01_fallback_counting Macro expanded in comment on line 366: %{_userunitdir}/* Macro expanded in comment on line 367: %{_unitdir}/grub-boot-indeterminate.service Macro expanded in comment on line 368: %{_unitdir}/system-update.target.wants Macro expanded in comment on line 369: %{_unitdir}/%{name}-systemd-integration.service Macro expanded in comment on line 370: %{_unitdir}/systemd-logind.service.d Macro expanded in comment on line 371: %{_unitdir}/systemd-logind.service.d/* Macro expanded in comment on line 397: %{_sbindir}/%{name}-set-bootflag Macro expanded in comment on line 398: %{_sbindir}/%{name}-get-kernel-settings Bad exit status from /var/tmp/rpm-tmp.jMYPUC (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b075074877b84bca87388239746185d4 -D /var/lib/mock/dist-an23-build-python3.11-loongarch64-371387-71492/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.5i_0ynni:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/grub2.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 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M b075074877b84bca87388239746185d4 -D /var/lib/mock/dist-an23-build-python3.11-loongarch64-371387-71492/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.5i_0ynni:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/grub2.spec