nfig + mv kernel-5.4.0-riscv64-debug.config kernel-5.4.0-riscv64-debug.config.tmp + ./merge.pl /builddir/build/SOURCES/kernel-local kernel-5.4.0-riscv64-debug.config.tmp + rm kernel-5.4.0-riscv64-debug.config.tmp + for i in kernel-5.4.0-riscv64*.config + mv kernel-5.4.0-riscv64.config kernel-5.4.0-riscv64.config.tmp + ./merge.pl /builddir/build/SOURCES/kernel-local kernel-5.4.0-riscv64.config.tmp + rm kernel-5.4.0-riscv64.config.tmp + cp /builddir/build/SOURCES/process_configs.sh . + OPTS= + OPTS=' -n -c' + ./process_configs.sh -n -c kernel 5.4.0 ~/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64 ~/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64/configs Processing /builddir/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64/configs/kernel-5.4.0-aarch64-debug.config ... done Processing /builddir/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64/configs/kernel-5.4.0-aarch64.config ... done Processing /builddir/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64/configs/kernel-5.4.0-armv7hl-debug.config ... done Processing /builddir/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64/configs/kernel-5.4.0-armv7hl-lpae-debug.config ... done Processing /builddir/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64/configs/kernel-5.4.0-armv7hl-lpae.config ... done Processing /builddir/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64/configs/kernel-5.4.0-armv7hl.config ... done Processing /builddir/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64/configs/kernel-5.4.0-i686-debug.config ... done Processing /builddir/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64/configs/kernel-5.4.0-i686.config ... done Processing /builddir/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64/configs/kernel-5.4.0-ppc64le-debug.config ... done Processing /builddir/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64/configs/kernel-5.4.0-ppc64le.config ... done Processing /builddir/build/BUILD/kernel-5.3.fc32/linux-5.4.0-0.rc7.git0.1.0.riscv64.fc32.riscv64/configs/kernel-5.4.0-riscv64-debug.config ... Found unset config items, please set them to an appropriate value CONFIG_MTD_CFI_ADV_OPTIONS=n CONFIG_MTD_PHYSMAP_COMPAT=n CONFIG_MTD_PHYSMAP_OF=n CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y CONFIG_GPIO_SYSCON=n CONFIG_REGULATOR_ANATOP=n CONFIG_DRM_PANEL_ARM_VERSATILE=n CONFIG_LEDS_SYSCON=n RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.GCWpgD (%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 834: %endif # with_selftests BUILDSTDERR: extra tokens at the end of %endif directive in line 1024: %endif # with_zfcpdump BUILDSTDERR: extra tokens at the end of %endif directive in line 1537: %endif # fedora BUILDSTDERR: extra tokens at the end of %endif directive in line 1538: %endif # arches BUILDSTDERR: extra tokens at the end of %endif directive in line 2080: %endif # with_doc BUILDSTDERR: extra tokens at the end of %endif directive in line 2125: %endif # with_kernel_abi_whitelists BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.GCWpgD (%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