uilddir/build/BUILD/kernel-5.18.4/linux-5.18.4-201.0.riscv64.fc33.riscv64/configs/kernel-5.18.4-s390x.config complete Processing /builddir/build/BUILD/kernel-5.18.4/linux-5.18.4-201.0.riscv64.fc33.riscv64/configs/kernel-5.18.4-s390x-debug.config complete Processing /builddir/build/BUILD/kernel-5.18.4/linux-5.18.4-201.0.riscv64.fc33.riscv64/configs/kernel-5.18.4-x86_64-debug.config complete Processing /builddir/build/BUILD/kernel-5.18.4/linux-5.18.4-201.0.riscv64.fc33.riscv64/configs/kernel-5.18.4-x86_64.config complete Processed config files are in /builddir/build/BUILD/kernel-5.18.4/linux-5.18.4-201.0.riscv64.fc33.riscv64/configs + cp /builddir/build/SOURCES/update_scripts.sh . + RPM_SOURCE_DIR=/builddir/build/SOURCES + ./update_scripts.sh fedora + '[' fedora == rhel ']' + cd .. + find . '(' -name '*.orig' -o -name '*~' ')' -delete + find . -name .gitignore -delete + cd .. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XwoOWq + umask 022 + cd /builddir/build/BUILD + cd kernel-5.18.4 + rm -rf /builddir/build/BUILDROOT/kernel-5.18.4-201.0.riscv64.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT/kernel-5.18.4-201.0.riscv64.fc33.riscv64/boot + mkdir -p /builddir/build/BUILDROOT/kernel-5.18.4-201.0.riscv64.fc33.riscv64/usr/libexec + cd linux-5.18.4-201.0.riscv64.fc33.riscv64 + BuildKernel Image.gz arch/riscv/boot/Image.gz 1 + MakeTarget=Image.gz + KernelImage=arch/riscv/boot/Image.gz + DoVDSO=1 + Variant= + InstallName=vmlinuz + DoModules=1 + '[' '' = zfcpdump ']' + '[' arch/riscv/boot/Image.gz = vmlinux ']' + CopyKernel=cp + InitBuildVars + Variant= + Config=kernel-5.18.4-riscv64.config + DevelDir=/usr/src/kernels/5.18.4-201.0.riscv64.fc33.riscv64 + KernelVer=5.18.4-201.0.riscv64.fc33.riscv64 ++ perl -e 'print "201.0.riscv64.fc33" =~ s/\.pr\.[0-9A-Fa-f]{32}//r' + ShortRel=201.0.riscv64.fc33 + perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -201.0.riscv64.fc33.riscv64/' Makefile + perl -p -i -e 's/^PATCHLEVEL.*/PATCHLEVEL = 18/' Makefile + /usr/bin/make -s 'HOSTCFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'HOSTLDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' -j4 mrproper + cp configs/kernel-5.18.4-riscv64.config .config + cp configs/x509.genkey certs/. ++ head -1 .config ++ cut -b 3- + Arch=riscv64 USING ARCH=riscv64 BUILDING A KERNEL FOR riscv64... + echo USING ARCH=riscv64 + KCFLAGS= + '[' '' == '' ']' + KCFLAGS=' ' + echo BUILDING A KERNEL FOR riscv64... + /usr/bin/make -s 'HOSTCFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'HOSTLDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' ARCH=riscv64 olddefconfig Makefile:625: arch/riscv64/Makefile: No such file or directory make: *** No rule to make target 'arch/riscv64/Makefile'. Stop. error: Bad exit status from /var/tmp/rpm-tmp.XwoOWq (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.XwoOWq (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 riscv64 --nodeps /builddir/build/SPECS/kernel.spec