'/usr/bin/python3 -s' scripts/diffconfig scripts/diffconfig: updating + pathfix.py -pni '/usr/bin/python3 -s' scripts/bloat-o-meter scripts/bloat-o-meter: updating + pathfix.py -pni '/usr/bin/python3 -s' scripts/show_delta scripts/show_delta: updating + cd .. + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FXyLLZ + umask 022 + cd /builddir/build/BUILD + cd kernel-5.1.fc31 + rm -rf /builddir/build/BUILDROOT/kernel-5.2.0-0.rc5.git2.1.2.riscv64.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT/kernel-5.2.0-0.rc5.git2.1.2.riscv64.fc31.riscv64/boot + mkdir -p /builddir/build/BUILDROOT/kernel-5.2.0-0.rc5.git2.1.2.riscv64.fc31.riscv64/usr/libexec + cd linux-5.2.0-0.rc5.git2.1.2.riscv64.fc31.riscv64 + BuildKernel Image.gz arch/riscv/boot/Image.gz 1 + MakeTarget=Image.gz + KernelImage=arch/riscv/boot/Image.gz + Flavour= + DoVDSO=1 + Flav= + InstallName=vmlinuz + Config=kernel-5.2.0-riscv64.config BUILDING A KERNEL FOR riscv64... + DevelDir=/usr/src/kernels/5.2.0-0.rc5.git2.1.2.riscv64.fc31.riscv64 + '[' arch/riscv/boot/Image.gz = vmlinux ']' + CopyKernel=cp + KernelVer=5.2.0-0.rc5.git2.1.2.riscv64.fc31.riscv64 + echo BUILDING A KERNEL FOR riscv64... BUILDSTDERR: ++ perl -e 'print "0.rc5.git2.1.2.riscv64.fc31" =~ s/\.pr\.[0-9A-Fa-f]{32}//r' + ShortRel=0.rc5.git2.1.2.riscv64.fc31 + perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -0.rc5.git2.1.2.riscv64.fc31.riscv64/' Makefile + make -s mrproper + cp configs/kernel-5.2.0-riscv64.config .config + cp /builddir/build/SOURCES/x509.genkey certs/. BUILDSTDERR: ++ head -1 .config BUILDSTDERR: ++ cut -b 3- USING ARCH=riscv + Arch=riscv + echo USING ARCH=riscv + make -s 'HOSTCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Wl,--build-id=uuid' ARCH=riscv olddefconfig + perl -p -i -e 's/^CONFIG_BUILD_SALT.*/CONFIG_BUILD_SALT="5.2.0-0.rc5.git2.1.2.riscv64.fc31.riscv64"/' .config + make -s 'HOSTCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Wl,--build-id=uuid' ARCH=riscv -j4 Image.gz BUILDSTDERR: arch/riscv/kernel/entry.S: Assembler messages: BUILDSTDERR: arch/riscv/kernel/entry.S:200: Error: found '(', expected: ')' BUILDSTDERR: arch/riscv/kernel/entry.S:200: Error: illegal operands `andi t0,t0,((1<<0)|(1<<6)|(1<<7)(1<<8))' BUILDSTDERR: arch/riscv/kernel/entry.S:243: Error: found '(', expected: ')' BUILDSTDERR: arch/riscv/kernel/entry.S:243: Error: illegal operands `andi t0,t0,((1<<0)|(1<<6)|(1<<7)(1<<8))' BUILDSTDERR: make[1]: *** [scripts/Makefile.build:369: arch/riscv/kernel/entry.o] Error 1 BUILDSTDERR: make: *** [Makefile:1075: arch/riscv/kernel] Error 2 BUILDSTDERR: make: *** Waiting for unfinished jobs.... RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.FXyLLZ (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.FXyLLZ (%build) 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