Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/libguestfs.spec'], chrootPath='/var/lib/mock/dist-circle9-build-89463-35775/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/libguestfs.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 warning: line 647: Possible unexpanded macro in: Requires: php(zend-abi) = %{php_zend_api} warning: line 648: Possible unexpanded macro in: Requires: php(api) = %{php_core_api} Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1669420800 Wrote: /builddir/build/SRPMS/libguestfs-1.48.4-2.el9.circle.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps --nocheck /builddir/build/SPECS/libguestfs.spec'], chrootPath='/var/lib/mock/dist-circle9-build-89463-35775/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps --nocheck /builddir/build/SPECS/libguestfs.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1669420800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MiMhws + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/libguestfs.keyring --signature=/builddir/build/SOURCES/libguestfs-1.48.4.tar.gz.sig --data=/builddir/build/SOURCES/libguestfs-1.48.4.tar.gz gpgv: Signature made Wed Jul 6 11:29:35 2022 EDT gpgv: using RSA key F7774FB1AD074A7E8C8767EA91738F73E1B768A0 gpgv: issuer "rich@annexia.org" gpgv: Good signature from "Richard W.M. Jones " gpgv: aka "Richard W.M. Jones " + cd /builddir/build/BUILD + rm -rf libguestfs-1.48.4 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/libguestfs-1.48.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libguestfs-1.48.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-New-API-guestfs_device_name-returning-the-drive-name.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-guestfs_readdir-rewrite-with-FileOut-transfer-to-lif.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-guestfs_readdir-minimize-the-number-of-send_file_wri.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-lib-launch-direct-ignore-drive-iface-parameter.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-lib-drive_create_data-drive-remove-field-iface.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0006-lib-rename-VALID_FORMAT_IFACE-to-VALID_FORMAT.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0007-tests-regressions-remove-iface-based-restrictions.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0008-generator-customize-invert-SELinux-relabeling-defaul.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0009-generator-customize-reintroduce-selinux-relabel-as-a.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0010-RHEL-Disable-unsupported-remote-drive-protocols-RHBZ.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0011-RHEL-Reject-use-of-libguestfs-winsupport-features-ex.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0012-RHEL-Create-etc-crypto-policies-back-ends-opensslcnf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0013-php-add-arginfo-to-php-bindings.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0014-introduce-the-clevis_luks_unlock-API.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0015-guestfish-guestmount-enable-networking-for-key-ID-cl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0016-daemon-Add-zstd-support-to-guestfs_file_architecture.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Add-CircleLinux-to-RHEL-distro-list.patch 1 out of 1 hunk FAILED -- saving rejects to file m4/guestfs-appliance.m4.rej error: Bad exit status from /var/tmp/rpm-tmp.MiMhws (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.MiMhws (%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 598, 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 s390x --nodeps --nocheck /builddir/build/SPECS/libguestfs.spec