.rej patching file src/arch-mips64n32-syscalls.c Hunk #1 FAILED at 172. Hunk #2 succeeded at 268 (offset 1 line). Hunk #3 succeeded at 279 (offset 1 line). Hunk #4 FAILED at 291. 2 out of 4 hunks FAILED -- saving rejects to file src/arch-mips64n32-syscalls.c.rej patching file src/arch-parisc-syscalls.c Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 4 out of 4 hunks ignored -- saving rejects to file src/arch-parisc-syscalls.c.rej patching file src/arch-ppc-syscalls.c Hunk #1 FAILED at 169. Hunk #2 succeeded at 265 (offset 1 line). Hunk #3 succeeded at 276 (offset 1 line). Hunk #4 FAILED at 288. 2 out of 4 hunks FAILED -- saving rejects to file src/arch-ppc-syscalls.c.rej patching file src/arch-ppc64-syscalls.c Hunk #1 FAILED at 169. Hunk #2 succeeded at 265 (offset 1 line). Hunk #3 succeeded at 276 (offset 1 line). Hunk #4 FAILED at 288. 2 out of 4 hunks FAILED -- saving rejects to file src/arch-ppc64-syscalls.c.rej patching file src/arch-riscv64-syscalls.c patching file src/arch-riscv64.c patching file src/arch-riscv64.h patching file src/arch-s390-syscalls.c Hunk #1 FAILED at 152. Hunk #2 succeeded at 248 (offset 1 line). Hunk #3 succeeded at 259 (offset 1 line). Hunk #4 FAILED at 271. 2 out of 4 hunks FAILED -- saving rejects to file src/arch-s390-syscalls.c.rej patching file src/arch-s390x-syscalls.c Hunk #1 FAILED at 152. Hunk #2 succeeded at 248 (offset 1 line). Hunk #3 succeeded at 259 (offset 1 line). Hunk #4 FAILED at 271. 2 out of 4 hunks FAILED -- saving rejects to file src/arch-s390x-syscalls.c.rej patching file src/arch-syscall-check.c patching file src/arch-syscall-validate Hunk #1 succeeded at 392 (offset 16 lines). Hunk #2 succeeded at 528 (offset 10 lines). Hunk #3 succeeded at 586 (offset 10 lines). Hunk #4 succeeded at 649 (offset 10 lines). patching file src/arch-x32-syscalls.c Hunk #1 FAILED at 168. Hunk #2 succeeded at 264 (offset 1 line). Hunk #3 succeeded at 275 (offset 1 line). Hunk #4 FAILED at 287. 2 out of 4 hunks FAILED -- saving rejects to file src/arch-x32-syscalls.c.rej patching file src/arch-x86-syscalls.c Hunk #1 FAILED at 168. Hunk #2 succeeded at 264 (offset 1 line). Hunk #3 succeeded at 275 (offset 1 line). Hunk #4 FAILED at 287. 2 out of 4 hunks FAILED -- saving rejects to file src/arch-x86-syscalls.c.rej patching file src/arch-x86_64-syscalls.c Hunk #1 FAILED at 168. Hunk #2 succeeded at 264 (offset 1 line). Hunk #3 succeeded at 275 (offset 1 line). Hunk #4 FAILED at 287. 2 out of 4 hunks FAILED -- saving rejects to file src/arch-x86_64-syscalls.c.rej patching file src/arch.c patching file src/gen_pfc.c patching file src/python/seccomp.pyx patching file src/system.c patching file tests/04-sim-multilevel_chains.tests patching file tests/06-sim-actions.tests Hunk #1 FAILED at 7. 1 out of 1 hunk FAILED -- saving rejects to file tests/06-sim-actions.tests.rej patching file tests/16-sim-arch_basic.c patching file tests/16-sim-arch_basic.py patching file tests/23-sim-arch_all_le_basic.c patching file tests/23-sim-arch_all_le_basic.py patching file tests/regression Hunk #2 succeeded at 777 (offset 36 lines). patching file tools/scmp_arch_detect.c patching file tools/scmp_bpf_disasm.c patching file tools/scmp_bpf_sim.c patching file tools/util.c patching file tools/util.h RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.XIRDq1 (%prep) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.XIRDq1 (%prep) 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/libseccomp.spec