Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/f30-build-42750-24694/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=432000uid=998gid=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': 'C.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 68: %define upstream_sublevel %(echo $((%{base_sublevel} + 1))) BUILDSTDERR: warning: Macro expanded in comment on line 167: %define kversion 5.%{base_sublevel} BUILDSTDERR: warning: Macro expanded in comment on line 440: %{kversion}.tar.xz BUILDSTDERR: warning: Macro expanded in comment on line 501: %{upstream_sublevel}-rc%{rcrev}.xz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/kernel-5.0.0-0.rc7.git0.1.0.riscv64.fc30.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/f30-build-42750-24694/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=432000uid=998gid=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': 'C.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 68: %define upstream_sublevel %(echo $((%{base_sublevel} + 1))) BUILDSTDERR: warning: Macro expanded in comment on line 167: %define kversion 5.%{base_sublevel} BUILDSTDERR: warning: Macro expanded in comment on line 440: %{kversion}.tar.xz BUILDSTDERR: warning: Macro expanded in comment on line 501: %{upstream_sublevel}-rc%{rcrev}.xz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eeeh2U + umask 022 + cd /builddir/build/BUILD + patch_command='patch -p1 -F1 -s' BUILDSTDERR: ++ find /builddir/build/BUILD -maxdepth 1 -type d -name 'kernel-5.*' BUILDSTDERR: ++ grep -x -v /builddir/build/BUILD/kernel-5.0-rc7.fc30 + sharedirs= + : + '[' -d kernel-5.0-rc7.fc30 ']' + '[' '!' -d kernel-5.0-rc7.fc30/vanilla-5.0-rc7 ']' + '[' -d kernel-5.0-rc7.fc30/vanilla-5.0-rc7 ']' + rm -f pax_global_header + [[ ! -z '' ]] + cd /builddir/build/BUILD + rm -rf kernel-5.0-rc7.fc30 + /usr/bin/mkdir -p kernel-5.0-rc7.fc30 + cd kernel-5.0-rc7.fc30 + /usr/bin/gzip -dc /builddir/build/SOURCES/linux-5.0-rc7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv linux-5.0-rc7 vanilla-5.0-rc7 + cp -al vanilla-5.0-rc7 linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64 + cd linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64 + '[' '!' -d .git ']' + git init Initialized empty Git repository in /builddir/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/.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 + 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/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/drm-enable-uncached-DMA-optimization-for-ARM-and-arm64.patch /builddir/build/SOURCES/bcm2837-dts-add-Raspberry-Pi-3-A.patch /builddir/build/SOURCES/ARM-dts-bcm283x-Several-DTS-improvements.patch /builddir/build/SOURCES/bcm2835-cpufreq-add-CPU-frequency-control-driver.patch /builddir/build/SOURCES/Allwinner-A64-timer-workaround.patch /builddir/build/SOURCES/input-rmi4-remove-the-need-for-artifical-IRQ.patch /builddir/build/SOURCES/efi-use-32-bit-alignment-for-efi_guid_t.patch /builddir/build/SOURCES/0001-s390-jump_label-Correct-asm-contraint.patch /builddir/build/SOURCES/0001-Drop-that-for-now.patch /builddir/build/SOURCES/i915-fixes-for-fastboot.patch /builddir/build/SOURCES/i915-enable-fastboot-on-skylake.patch /builddir/build/SOURCES/i915-enable-fastboot-on-vlv-chv.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: 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: debugfs: avoid EPERM when no open file operation defined Applying: KEYS: Allow unrestricted boot-time addition of keys to secondary keyring 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: drm: enable uncached DMA optimization for ARM and arm64 Applying: dt-bindings: bcm: Add Raspberry Pi 3 A+ Applying: ARM: dts: add Raspberry Pi 3 A+ Applying: arm64: dts: broadcom: Add reference to RPi 3 A+ Applying: ARM: dts: bcm283x: Fix DTC warning for memory node Applying: ARM: dts: bcm2835-rpi: Drop unnecessary #address-cells/#size-cells Applying: ARM: dts: bcm2835: Fix labels for GPIO 0,1 Applying: ARM: dts: bcm2837-rpi-3-b: Use consistent label for HDMI hotplug Applying: ARM: dts: bcm2837-rpi-3-b-plus: Clarify label for STATUS_LED Applying: ARM: dts: bcm283x: Add missing GPIO line names 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: arm64: arch_timer: Workaround for Allwinner A64 timer instability Applying: arm64: dts: allwinner: a64: Enable A64 timer workaround Applying: Input: rmi4 - remove the need for artificial IRQ in case of HID Applying: efi: use 32-bit alignment for efi_guid_t Applying: s390/jump_label: Correct asm contraint Applying: Drop that for now Applying: drm/i915: Add an update_pipe callback to intel_encoder and call this on fastsets (v2) Applying: drm/i915: Allow calling intel_edp_drrs_enable twice Applying: drm/i915: DDI: call intel_psr_ and _edp_drrs_enable() on pipe updates (v2) Applying: drm/i915/backlight: Restore backlight on resume, v3. Applying: drm/i915/backlight: Fix backlight takeover on LPT, v3. Applying: drm/i915: Enable fastset for non-boot modesets. Applying: drm/i915: Make HW readout mark CRTC scaler as in use. Applying: drm/i915: Enable fastboot by default on Skylake and newer Applying: drm/i915: Enable fastboot by default on VLV and CHV + chmod +x scripts/checkpatch.pl + chmod +x tools/objtool/sync-check.sh + mv COPYING COPYING-5.0.0 + touch .scmversion + mkdir configs + cd configs + cp /builddir/build/SOURCES/kernel-aarch64-debug.config /builddir/build/SOURCES/kernel-aarch64.config /builddir/build/SOURCES/kernel-armv7hl-debug.config /builddir/build/SOURCES/kernel-armv7hl-lpae-debug.config /builddir/build/SOURCES/kernel-armv7hl-lpae.config /builddir/build/SOURCES/kernel-armv7hl.config /builddir/build/SOURCES/kernel-i686-debug.config /builddir/build/SOURCES/kernel-i686.config /builddir/build/SOURCES/kernel-ppc64le-debug.config /builddir/build/SOURCES/kernel-ppc64le.config /builddir/build/SOURCES/kernel-riscv64-debug.config /builddir/build/SOURCES/kernel-riscv64.config /builddir/build/SOURCES/kernel-s390x-debug.config /builddir/build/SOURCES/kernel-s390x.config /builddir/build/SOURCES/kernel-x86_64-debug.config /builddir/build/SOURCES/kernel-x86_64.config . + cp /builddir/build/SOURCES/kernel-local . + cp /builddir/build/SOURCES/merge.pl . + cp /builddir/build/SOURCES/generate_all_configs.sh . + cp /builddir/build/SOURCES/generate_debug_configs.sh . + cp /builddir/build/SOURCES/generate_bls_conf.sh . + VERSION=5.0.0 + ./generate_all_configs.sh + for i in kernel-5.0.0-riscv64*.config + mv kernel-5.0.0-riscv64-debug.config kernel-5.0.0-riscv64-debug.config.tmp + ./merge.pl /builddir/build/SOURCES/kernel-local kernel-5.0.0-riscv64-debug.config.tmp + rm kernel-5.0.0-riscv64-debug.config.tmp + for i in kernel-5.0.0-riscv64*.config + mv kernel-5.0.0-riscv64.config kernel-5.0.0-riscv64.config.tmp + ./merge.pl /builddir/build/SOURCES/kernel-local kernel-5.0.0-riscv64.config.tmp + rm kernel-5.0.0-riscv64.config.tmp + cp /builddir/build/SOURCES/process_configs.sh . + OPTS= + OPTS=' -n' + OPTS=' -n -c' + ./process_configs.sh -n -c kernel 5.0.0 ~/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64 ~/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/configs Processing /builddir/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/configs/kernel-5.0.0-aarch64-debug.config ... done Processing /builddir/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/configs/kernel-5.0.0-aarch64.config ... done Processing /builddir/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/configs/kernel-5.0.0-armv7hl-debug.config ... done Processing /builddir/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/configs/kernel-5.0.0-armv7hl-lpae-debug.config ... done Processing /builddir/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/configs/kernel-5.0.0-armv7hl-lpae.config ... done Processing /builddir/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/configs/kernel-5.0.0-armv7hl.config ... done Processing /builddir/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/configs/kernel-5.0.0-i686-debug.config ... done Processing /builddir/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/configs/kernel-5.0.0-i686.config ... done Processing /builddir/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/configs/kernel-5.0.0-ppc64le-debug.config ... done Processing /builddir/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/configs/kernel-5.0.0-ppc64le.config ... done Processing /builddir/build/BUILD/kernel-5.0-rc7.fc30/linux-5.0.0-0.rc7.git0.1.0.riscv64.fc30.riscv64/configs/kernel-5.0.0-riscv64-debug.config ... Found unset config items, please set them to an appropriate value CONFIG_ARM_TIMER_SP804=n RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.eeeh2U (%prep) BUILDSTDERR: Macro expanded in comment on line 68: %define upstream_sublevel %(echo $((%{base_sublevel} + 1))) BUILDSTDERR: Macro expanded in comment on line 167: %define kversion 5.%{base_sublevel} BUILDSTDERR: Macro expanded in comment on line 440: %{kversion}.tar.xz BUILDSTDERR: Macro expanded in comment on line 501: %{upstream_sublevel}-rc%{rcrev}.xz BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.eeeh2U (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, 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