Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/f29-build-33759-18379/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kernel.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/kernel-4.20.0-0.rc4.git0.1.1.riscv64.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/f29-build-33759-18379/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kernel.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d0R9rV + umask 022 + cd /builddir/build/BUILD + patch_command='patch -p1 -F1 -s' BUILDSTDERR: ++ find /builddir/build/BUILD -maxdepth 1 -type d -name 'kernel-4.*' BUILDSTDERR: ++ grep -x -v /builddir/build/BUILD/kernel-4.19.fc29 + sharedirs= + : + '[' -d kernel-4.19.fc29 ']' + '[' '!' -d kernel-4.19.fc29/vanilla-4.20-rc4 ']' + '[' -d kernel-4.19.fc29/vanilla-4.19 ']' + rm -f pax_global_header + [[ ! -z '' ]] + cd /builddir/build/BUILD + rm -rf kernel-4.19.fc29 + /usr/bin/mkdir -p kernel-4.19.fc29 + cd kernel-4.19.fc29 + /usr/bin/xz -dc /builddir/build/SOURCES/linux-4.19.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv linux-4.19 vanilla-4.19 + [[ ! -z '' ]] + cp -al vanilla-4.19 vanilla-4.20-rc4 + cd vanilla-4.20-rc4 + cp /builddir/build/SOURCES/remove-binary-diff.pl . + ./remove-binary-diff.pl + patch -p1 -F1 -s + xzcat /builddir/build/SOURCES/patch-4.20-rc4.xz + git init Initialized empty Git repository in /builddir/build/BUILD/kernel-4.19.fc29/vanilla-4.20-rc4/.git/ + git config user.email kernel-team@fedoraproject.org + git config user.name 'Fedora Kernel Team' + git config gc.auto 0 + git add . + git commit -a -q -m baseline + cd .. + cp -al vanilla-4.20-rc4 linux-4.20.0-0.rc4.git0.1.1.riscv64.fc29.riscv64 + cd linux-4.20.0-0.rc4.git0.1.1.riscv64.fc29.riscv64 + '[' '!' -d .git ']' + git am /builddir/build/SOURCES/0001-iio-Use-event-header-from-kernel-tree.patch /builddir/build/SOURCES/lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch /builddir/build/SOURCES/input-kill-stupid-messages.patch /builddir/build/SOURCES/die-floppy-die.patch /builddir/build/SOURCES/no-pcspkr-modalias.patch /builddir/build/SOURCES/silence-fbcon-logo.patch /builddir/build/SOURCES/Kbuild-Add-an-option-to-enable-GCC-VTA.patch /builddir/build/SOURCES/crash-driver.patch /builddir/build/SOURCES/lis3-improve-handling-of-null-rate.patch /builddir/build/SOURCES/scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch /builddir/build/SOURCES/namespaces-no-expert.patch /builddir/build/SOURCES/ath9k-rx-dma-stop-check.patch /builddir/build/SOURCES/xen-pciback-Don-t-disable-PCI_COMMAND-on-PCI-device-.patch /builddir/build/SOURCES/Input-synaptics-pin-3-touches-when-the-firmware-repo.patch /builddir/build/SOURCES/efi-lockdown.patch /builddir/build/SOURCES/KEYS-Allow-unrestricted-boot-time-addition-of-keys-t.patch /builddir/build/SOURCES/Add-EFI-signature-data-types.patch /builddir/build/SOURCES/Add-an-EFI-signature-blob-parser-and-key-loader.patch /builddir/build/SOURCES/MODSIGN-Import-certificates-from-UEFI-Secure-Boot.patch /builddir/build/SOURCES/MODSIGN-Support-not-importing-certs-from-db.patch /builddir/build/SOURCES/0001-Make-get_cert_list-not-complain-about-cert-lists-tha.patch /builddir/build/SOURCES/0002-Add-efi_status_to_str-and-rework-efi_status_to_err.patch /builddir/build/SOURCES/0003-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch /builddir/build/SOURCES/disable-i8042-check-on-apple-mac.patch /builddir/build/SOURCES/drm-i915-hush-check-crtc-state.patch /builddir/build/SOURCES/efi-secureboot.patch /builddir/build/SOURCES/arm64-Add-option-of-13-for-FORCE_MAX_ZONEORDER.patch /builddir/build/SOURCES/usb-phy-tegra-Add-38.4MHz-clock-table-entry.patch /builddir/build/SOURCES/ARM-tegra-usb-no-reset.patch /builddir/build/SOURCES/ACPI-scan-Fix-regression-related-to-X-Gene-UARTs.patch /builddir/build/SOURCES/ACPI-irq-Workaround-firmware-issue-on-X-Gene-based-m400.patch /builddir/build/SOURCES/qcom-msm89xx-fixes.patch /builddir/build/SOURCES/arm-sdhci-esdhc-imx-fixes.patch /builddir/build/SOURCES/arm64-96boards-Rock960-CE-board-support.patch /builddir/build/SOURCES/bcm2835-cpufreq-add-CPU-frequency-control-driver.patch /builddir/build/SOURCES/bcm283x-drm-vc4-set-is_yuv-to-false-when-num_planes-1.patch /builddir/build/SOURCES/raspberrypi-Fix-firmware-calls-with-large-buffers.patch /builddir/build/SOURCES/hwmon-rpi-Fix-initial-notify.patch /builddir/build/SOURCES/brcmfmac-Remove-firmware-loading-code-duplication.patch /builddir/build/SOURCES/arm64-arch_timer-Workaround-for-Allwinner-A64-timer-instability.patch /builddir/build/SOURCES/arm64-dts-allwinner-a64-Enable-A64-timer-workaround.patch /builddir/build/SOURCES/Fix-for-module-sig-verification.patch /builddir/build/SOURCES/input-rmi4-remove-the-need-for-artifical-IRQ.patch /builddir/build/SOURCES/iio-accel-kxcjk1013-Add-more-hardware-ids.patch /builddir/build/SOURCES/riscv64-fixes.patch Applying: iio: Use type header from kernel tree Applying: lib/cpumask: Make CPUMASK_OFFSTACK usable without debug dependency Applying: input: kill stupid messages Applying: die-floppy-die Applying: no pcspkr modalias Applying: silence fbcon logo Applying: Kbuild: Add an option to enable GCC VTA Applying: crash-driver Applying: Update of crash driver to handle CONFIG_HARDENED_USERCOPY and to restrict the supported architectures. Applying: lis3: improve handling of null rate Applying: scsi: sd_revalidate_disk prevent NULL ptr deref Applying: namespaces: no expert Applying: ath9k: rx dma stop check Applying: xen/pciback: Don't disable PCI_COMMAND on PCI device reset. Applying: Input - synaptics: pin 3 touches when the firmware reports 3 fingers Applying: Add the ability to lock down access to the running kernel image Applying: Add a SysRq option to lift kernel lockdown Applying: ima: require secure_boot rules in lockdown mode Applying: Enforce module signatures if the kernel is locked down Applying: Restrict /dev/{mem,kmem,port} when the kernel is locked down Applying: kexec_load: Disable at runtime if the kernel is locked down Applying: hibernate: Disable when the kernel is locked down Applying: uswsusp: Disable when the kernel is locked down Applying: PCI: Lock down BAR access when the kernel is locked down Applying: x86: Lock down IO port access when the kernel is locked down Applying: x86/msr: Restrict MSR access when the kernel is locked down Applying: ACPI: Limit access to custom_method when the kernel is locked down Applying: acpi: Ignore acpi_rsdp kernel param when the kernel has been locked down Applying: acpi: Disable ACPI table override if the kernel is locked down Applying: acpi: Disable APEI error injection if the kernel is locked down Applying: Prohibit PCMCIA CIS storage when the kernel is locked down Applying: Lock down TIOCSSERIAL Applying: Lock down module params that specify hardware parameters (eg. ioport) Applying: x86/mmiotrace: Lock down the testmmiotrace module Applying: Lock down /proc/kcore Applying: Lock down kprobes Applying: Lock down perf Applying: debugfs: Restrict debugfs when the kernel is locked down Applying: KEYS: Allow unrestricted boot-time addition of keys to secondary keyring Applying: efi: Add EFI signature data types Applying: efi: Add an EFI signature blob parser Applying: MODSIGN: Import certificates from UEFI Secure Boot Applying: MODSIGN: Allow the "db" UEFI variable to be suppressed Applying: Make get_cert_list() not complain about cert lists that aren't present. Applying: Add efi_status_to_str() and rework efi_status_to_err(). Applying: Make get_cert_list() use efi_status_to_str() to print error messages. Applying: disable i8042 check on apple mac Applying: drm/i915: hush check crtc state Applying: Copy secure_boot flag in boot params across kexec reboot Applying: efi: Add an EFI_SECURE_BOOT flag to indicate secure boot mode Applying: efi: Lock down the kernel if booted in secure boot mode Applying: Add option of 13 for FORCE_MAX_ZONEORDER Applying: usb: phy: tegra: Add 38.4MHz clock table entry Applying: ARM: tegra: usb no reset Applying: ACPI / scan: Fix regression related to X-Gene UARTs Applying: ACPI / irq: Workaround firmware issue on X-Gene based m400 Applying: thermal: qcom: tsens: fix crash due to incorrect __init Applying: mmc: sdhci: add quirk to prevent higher speed modes Applying: DT: rockchip: Fix stability issues with the 'performance' governor on rock960 Applying: bcm2835: cpufreq: add CPU frequency control driver Applying: add 1.4 ghz OPP for the 3B+ Applying: ARM: bcm2837: Use CPU0 as cooling device Applying: drm/vc4: Set ->is_yuv to false when num_planes == 1 Applying: firmware: raspberrypi: Fix firmware calls with large buffers Applying: hwmon: rpi: Fix initial notify Applying: brcmfmac: Remove firmware-loading code duplication Applying: brcmfmac: Remove recursion from firmware load error handling Applying: brcmfmac: Add support for first trying to get a board specific nvram file BUILDSTDERR: Applying: brcmfmac: Set board_type used for nvram file selection to machine-coerror: patch failed: arch/riscv/include/asm/module.h:8 BUILDSTDERR: error: arch/riscv/include/asm/module.h: patch does not apply mpatible Applying: brcmfmac: Cleanup brcmf_fw_request_done() Applying: arm64: arch_timer: Workaround for Allwinner A64 timer instability Applying: arm64: dts: allwinner: a64: Enable A64 timer workaround Applying: Fix for module sig verification Applying: Input: rmi4 - remove the need for artificial IRQ in case of HID Applying: iio: accel: kxcjk1013: Add KIOX0009 ACPI Hardware-ID Applying: iio: accel: kxcjk1013: Add KIOX010A ACPI Hardware-ID Applying: riscv64 fixes Patch failed at 0077 riscv64 fixes When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". BUILDSTDERR: hint: Use 'git am --show-current-patch' to see the failed patch RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.d0R9rV (%prep) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.d0R9rV (%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 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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 riscv64 --nodeps /builddir/build/SPECS/kernel.spec