atch /builddir/build/SOURCES/arm64-usb-host-xhci-tegra-set-MODULE_FIRMWARE-for-tegra186.patch /builddir/build/SOURCES/input-rmi4-remove-the-need-for-artifical-IRQ.patch /builddir/build/SOURCES/0001-Drop-that-for-now.patch /builddir/build/SOURCES/KEYS-Make-use-of-platform-keyring-for-module-signature.patch /builddir/build/SOURCES/0001-mm-kmemleak-skip-late_init-if-not-skip-disable.patch /builddir/build/SOURCES/ARM-fix-__get_user_check-in-case-uaccess_-calls-are-not-inlined.patch /builddir/build/SOURCES/ksan-riscv.patch 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: security: lockdown: expose a hook to lock the kernel down 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 a SysRq option to lift kernel lockdown Applying: Add option of 13 for FORCE_MAX_ZONEORDER Applying: arm: make CONFIG_HIGHPTE optional without CONFIG_EXPERT Applying: ACPI / scan: Fix regression related to X-Gene UARTs Applying: ACPI / irq: Workaround firmware issue on X-Gene based m400 Applying: ARM: tegra: usb no reset Applying: arm64: tegra210: Jetson TX1: disable display panel and associated backlight Applying: arm64: tegra: Jetson TX2: Allow bootloader to configure Ethernet MAC Applying: mfd: max77620: Do not allocate IRQs upfront Applying: gpio: max77620: Do not allocate IRQs upfront Applying: gpio: max77620: Fix interrupt handling Applying: arm64: tegra186: enable USB on Jetson-TX2 Applying: usb: host: xhci-tegra: set MODULE_FIRMWARE for tegra186 Applying: Input: rmi4 - remove the need for artificial IRQ in case of HID Applying: Drop that for now Applying: KEYS: Make use of platform keyring for module signature verify Applying: mm/kmemleak: skip late_init if not skip disable Applying: ARM: fix __get_user_check() in case uaccess_* calls are not inlined Applying: kasan: No KASAN's memmove check if archs don't have it. Applying: riscv: Add KASAN support Patch failed at 0026 riscv: Add KASAN support 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: error: patch failed: arch/riscv/kernel/setup.c:23 BUILDSTDERR: error: arch/riscv/kernel/setup.c: patch does not apply BUILDSTDERR: hint: Use 'git am --show-current-patch' to see the failed patch BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Yg74fQ (%prep) BUILDSTDERR: Macro expanded in comment on line 149: %define with_kabichk %{?_without_kabichk: 0} %{?!_without_kabichk: 1} BUILDSTDERR: extra tokens at the end of %endif directive in line 837: %endif # with_selftests BUILDSTDERR: extra tokens at the end of %endif directive in line 1027: %endif # with_zfcpdump BUILDSTDERR: extra tokens at the end of %endif directive in line 1540: %endif # fedora BUILDSTDERR: extra tokens at the end of %endif directive in line 1541: %endif # arches BUILDSTDERR: extra tokens at the end of %endif directive in line 2083: %endif # with_doc BUILDSTDERR: extra tokens at the end of %endif directive in line 2128: %endif # with_kernel_abi_whitelists BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Yg74fQ (%prep) RPM build errors: 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