Mock Version: 2.17 Mock Version: 2.17 Mock Version: 2.17 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/qemu.spec'], chrootPath='/var/lib/mock/v8.2-incoming-4810-5408/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/qemu.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/qemu-4.2.1-4.6.3.1.xcpng8.2.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/qemu.spec'], chrootPath='/var/lib/mock/v8.2-incoming-4810-5408/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/qemu.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.WWdYwC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf qemu-4.2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/qemu-4.2.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd qemu-4.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-usb-fix-setup_len-init-CVE-2020-14364.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-scripts-qmp-Fix-shebang-and-imports.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-xen-rework-pci_piix3_xen_ide_unplug.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-hw-ehci-destroy-sglist-in-error-path.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-hw-ehci-check-return-value-of-usb_packet_map.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-usb-hcd-ehci-Fix-error-handling-on-missing-device-fo.patch + /usr/bin/patch -p1 -s + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-pci-assert-configuration-access-is-within-bounds.patch + /usr/bin/cat /builddir/build/SOURCES/0006-block-Avoid-stale-pointer-dereference-in-blk_get_aio.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-ide-atapi-assert-that-the-buffer-pointer-is-in-range.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-xen-bus-reduce-scope-of-backend-watch.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-ide-atapi-check-logical-block-address-and-read-size-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-ui-update-keycodemapdb-submodule-commit.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-e1000-fail-early-for-evil-descriptor.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-net-introduce-qemu_receive_packet.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-e1000-switch-to-use-qemu_receive_packet-for-loopback.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-rtl8139-switch-to-use-qemu_receive_packet-for-loopba.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-input-Add-lang1-and-lang2-to-QKeyCode.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-aio-posix-fix-use-after-leaving-scope-in-aio_poll.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-xen-mapcache-avoid-a-race-on-memory-map-while-using-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-xen-mapcache-Avoid-entry-lock-overflow.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/hw-ide__check_null_block_before__cancel_dma_sync.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xen-platform-add-device-id-property.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xen-platform-add-class-id-property.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xen-platform-add-revision-property.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-xen-platform-Handle-write-of-four-byte-build-number-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-xen-platform-Provide-QMP-query-commands-for-XEN-PV-d.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-xen-platform-Emit-XEN_PLATFORM_PV_DRIVER_INFO-after-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/dont-set-a20-on-xen.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/dont-init-cpus-on-xen.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-xen-Emit-RTC_CHANGE-upon-TIMEOFFSET-ioreq.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/remove-ioapic.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ignore-rtc-century-changes.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-CP-33348-Allow-media-replace-qmp-command-to-take-a-n.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-pc-Do-not-expect-to-have-a-fw_cfg-device.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-xen-apic-Implement-unrealize.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0004-hotplug-Implement-legacy-CPU-hot-unplug.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/igd-upt.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/check-unmigratable-devices-when-saving.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/query-migratable.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-nvme-simplify-namespace-code.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-nvme-move-device-parameters-to-separate-struct.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-nvme-fix-lpa-field.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0004-nvme-add-missing-fields-in-identify-controller.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0005-nvme-populate-the-mandatory-subnqn-and-ver-fields.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0006-nvme-support-completion-queue-in-cmb.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0007-nvme-support-Abort-command.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0008-nvme-refactor-device-realization.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0009-nvme-support-Asynchronous-Event-Request-command.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0010-nvme-support-Get-Log-Page-command.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0011-nvme-add-missing-mandatory-Features.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0012-nvme-bump-supported-NVMe-revision-to-1.3d.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0013-nvme-simplify-dma-cmb-mappings.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0014-nvme-support-multiple-block-requests-per-request.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0015-nvme-support-scatter-gather-lists.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0016-nvme-support-multiple-namespaces.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/nvme-ns-fix-null.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/nvme-ns-allow-inactive.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/nvme-close-backend.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-Add-qemu-qcode-support-for-keys-F13-to-F24.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-ps2-Don-t-send-key-release-event-for-Lang1-Lang2-key.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-CP-20436-Introduce-a-config-option-for-machines-comp.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/pci-add-subsystem-id-properties.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/pci-add-revision_id-property.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/force-lba-geometry.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-CP-21767-Don-t-accidently-unplug-ourselves-if-PCI_CL.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-CP-21434-Implement-VBE-LFB-physical-address-register.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-CA-256542-Workaround-unassigned-accesses-caused-by-b.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/match-xen-pvdevice-location.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-CA-289906-Use-legacy-HID-descriptors-for-USB-Tablet-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/revert_hw-i386__remove_deprecated_machines_pc-0.10_and_pc-0.11.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-CP-17697-Initial-port-of-NVIDIA-VGPU-support-from-QEMU-trad.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/usb-batch-frames.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-CP-23753-Talk-to-new-clipboard-daemon.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/rtc-no-ratelimit.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/gvt-g.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-Update-fd-handlers-to-support-sysfs_notify.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-Fix-up-PCI-command-register-for-AMD-ATI-GPU-VFs.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-Add-interception-layer-for-BAR-ops.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0004-Add-AMD-code.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/allocate-vram-reserved.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/unplug-nvme-devices.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/do_not_register_xen_backend_for_qdisk.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/add-an-ide-read-cache.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/disable-dirty-vram-tracking.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/build-configuration.patch + /usr/bin/patch -p1 -s + tar xzf /builddir/build/SOURCES/keycodemapdb-22b8996dba9041874845c7446ce89ec4ae2b713d.tar.gz + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ERq5yH + umask 022 + cd /builddir/build/BUILD + cd qemu-4.2.1 + extra_configure_argument+=('--enable-jemalloc') + ./configure --cc=gcc --cxx=/dev/null --enable-xen --target-list=i386-softmmu --prefix=/usr --bindir=/usr/lib64/xen/bin --datadir=/usr/share --localstatedir=/var --libexecdir=/usr/libexec --sysconfdir=/etc --enable-werror --enable-libusb --enable-trace-backend=log --disable-kvm --disable-docs --disable-guest-agent --disable-sdl --disable-curses --disable-curl --disable-gtk --disable-bzip2 --disable-strip --disable-gnutls --disable-nettle --disable-gcrypt --disable-vhost-net --disable-vhost-scsi --disable-vhost-vsock --disable-vhost-user --disable-lzo --disable-tpm --disable-virtfs --disable-tcg --disable-tcg-interpreter --disable-replication --disable-qom-cast-debug --disable-slirp --audio-drv-list= --disable-coroutine-pool --disable-live-block-migration --disable-bochs --disable-cloop --disable-dmg --disable-vvfat --disable-qed --disable-parallels --disable-sheepdog --without-default-devices --enable-seccomp --enable-jemalloc ERROR: "gcc" either does not exist or does not work error: Bad exit status from /var/tmp/rpm-tmp.ERq5yH (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ERq5yH (%build) 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 x86_64 --nodeps /builddir/build/SPECS/qemu.spec