Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/opensbi-unstable.spec'], chrootPath='/var/lib/mock/f32-build-117582-35100/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/opensbi-unstable.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1571702400 Wrote: /builddir/build/SRPMS/opensbi-unstable-v0.5.0.2019.10.09.be92da2-3.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/opensbi-unstable.spec'], chrootPath='/var/lib/mock/f32-build-117582-35100/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/opensbi-unstable.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1571702400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ykiltV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09 + /usr/bin/gzip -dc /builddir/build/SOURCES/be92da280d87c38a2e0adc5d3f43bab7b5468f09.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kIdbrS + umask 022 + cd /builddir/build/BUILD + cd opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09 + mkdir -p fedora-builds/kernel fedora-builds/uboot-qemu-virt fedora-builds/uboot-sifive-fu540 + for build in kernel uboot-qemu-virt uboot-sifive-fu540 BUILDSTDERR: ++ ls -1 BUILDSTDERR: ++ grep -v fedora-builds + cp -r CONTRIBUTORS.md COPYING.BSD Makefile README.md ThirdPartyNotices.md docs firmware include lib platform scripts fedora-builds/kernel + for build in kernel uboot-qemu-virt uboot-sifive-fu540 BUILDSTDERR: ++ ls -1 BUILDSTDERR: ++ grep -v fedora-builds + cp -r CONTRIBUTORS.md COPYING.BSD Makefile README.md ThirdPartyNotices.md docs firmware include lib platform scripts fedora-builds/uboot-qemu-virt + for build in kernel uboot-qemu-virt uboot-sifive-fu540 BUILDSTDERR: ++ ls -1 BUILDSTDERR: ++ grep -v fedora-builds + cp -r CONTRIBUTORS.md COPYING.BSD Makefile README.md ThirdPartyNotices.md docs firmware include lib platform scripts fedora-builds/uboot-sifive-fu540 ~/build/BUILD/opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09/fedora-builds/kernel ~/build/BUILD/opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09 + pushd fedora-builds/kernel BUILDSTDERR: ++ ls -1t /lib/modules/5.4.0-0.rc3.git2.300.1.riscv64.fc32.riscv64/vmlinuz BUILDSTDERR: ++ head -n1 + latestKernel=/lib/modules/5.4.0-0.rc3.git2.300.1.riscv64.fc32.riscv64/vmlinuz + file /lib/modules/5.4.0-0.rc3.git2.300.1.riscv64.fc32.riscv64/vmlinuz /lib/modules/5.4.0-0.rc3.git2.300.1.riscv64.fc32.riscv64/vmlinuz: data Payload: /lib/modules/5.4.0-0.rc3.git2.300.1.riscv64.fc32.riscv64/vmlinuz + echo 'Payload: /lib/modules/5.4.0-0.rc3.git2.300.1.riscv64.fc32.riscv64/vmlinuz' + make PLATFORM=qemu/virt FW_PAYLOAD_PATH=/lib/modules/5.4.0-0.rc3.git2.300.1.riscv64.fc32.riscv64/vmlinuz AS-DEP platform/qemu/virt/firmware/fw_payload.dep AS-DEP platform/qemu/virt/firmware/fw_jump.dep AS-DEP platform/qemu/virt/firmware/fw_dynamic.dep AS-DEP platform/qemu/virt/firmware/payloads/test_head.dep CC-DEP platform/qemu/virt/firmware/payloads/test_main.dep MERGE-DEP platform/qemu/virt/firmware/payloads/test.dep CC-DEP lib/utils/irqchip/plic.dep CC-DEP lib/utils/libfdt/fdt_empty_tree.dep CC-DEP lib/utils/libfdt/fdt_strerror.dep CC-DEP lib/utils/libfdt/fdt_sw.dep CC-DEP lib/utils/libfdt/fdt_rw.dep CC-DEP lib/utils/libfdt/fdt_wip.dep CC-DEP lib/utils/libfdt/fdt_ro.dep CC-DEP lib/utils/libfdt/fdt.dep CC-DEP lib/utils/serial/sifive-uart.dep CC-DEP lib/utils/serial/uart8250.dep CC-DEP lib/utils/sys/clint.dep CC-DEP lib/sbi/sbi_string.dep CC-DEP lib/sbi/sbi_trap.dep CC-DEP lib/sbi/sbi_tlb.dep CC-DEP lib/sbi/sbi_timer.dep CC-DEP lib/sbi/sbi_system.dep CC-DEP lib/sbi/sbi_scratch.dep CC-DEP lib/sbi/sbi_misaligned_ldst.dep CC-DEP lib/sbi/sbi_ipi.dep CC-DEP lib/sbi/sbi_init.dep CC-DEP lib/sbi/sbi_illegal_insn.dep CC-DEP lib/sbi/sbi_hart.dep CC-DEP lib/sbi/sbi_fifo.dep CC-DEP lib/sbi/sbi_emulate_csr.dep CC-DEP lib/sbi/sbi_ecall.dep CC-DEP lib/sbi/sbi_console.dep CC-DEP lib/sbi/riscv_unpriv.dep CC-DEP lib/sbi/riscv_locks.dep AS-DEP lib/sbi/riscv_hardfp.dep CC-DEP lib/sbi/riscv_atomic.dep CC-DEP lib/sbi/riscv_asm.dep CC-DEP platform/qemu/virt/platform.dep CC lib/sbi/riscv_asm.o CC lib/sbi/riscv_atomic.o AS lib/sbi/riscv_hardfp.o CC lib/sbi/riscv_locks.o CC lib/sbi/riscv_unpriv.o CC lib/sbi/sbi_console.o CC lib/sbi/sbi_ecall.o CC lib/sbi/sbi_emulate_csr.o CC lib/sbi/sbi_fifo.o CC lib/sbi/sbi_hart.o CC lib/sbi/sbi_illegal_insn.o CC lib/sbi/sbi_init.o CC lib/sbi/sbi_ipi.o CC lib/sbi/sbi_misaligned_ldst.o CC lib/sbi/sbi_scratch.o CC lib/sbi/sbi_system.o CC lib/sbi/sbi_timer.o CC lib/sbi/sbi_tlb.o CC lib/sbi/sbi_trap.o CC lib/sbi/sbi_string.o AR lib/libsbi.a CC lib/utils/sys/clint.o CC lib/utils/serial/uart8250.o CC lib/utils/serial/sifive-uart.o CC lib/utils/libfdt/fdt.o CC lib/utils/libfdt/fdt_ro.o CC lib/utils/libfdt/fdt_wip.o CC lib/utils/libfdt/fdt_rw.o CC lib/utils/libfdt/fdt_sw.o CC lib/utils/libfdt/fdt_strerror.o CC lib/utils/libfdt/fdt_empty_tree.o CC lib/utils/irqchip/plic.o AR lib/libsbiutils.a CC platform/qemu/virt/platform.o AR platform/qemu/virt/lib/libplatsbi.a AS platform/qemu/virt/firmware/payloads/test_head.o CC platform/qemu/virt/firmware/payloads/test_main.o MERGE platform/qemu/virt/firmware/payloads/test.o CPP platform/qemu/virt/firmware/payloads/test.elf.ld ELF platform/qemu/virt/firmware/payloads/test.elf OBJCOPY platform/qemu/virt/firmware/payloads/test.bin AS platform/qemu/virt/firmware/fw_dynamic.o CPP platform/qemu/virt/firmware/fw_dynamic.elf.ld ELF platform/qemu/virt/firmware/fw_dynamic.elf OBJCOPY platform/qemu/virt/firmware/fw_dynamic.bin AS platform/qemu/virt/firmware/fw_jump.o CPP platform/qemu/virt/firmware/fw_jump.elf.ld ELF platform/qemu/virt/firmware/fw_jump.elf OBJCOPY platform/qemu/virt/firmware/fw_jump.bin AS platform/qemu/virt/firmware/fw_payload.o CPP platform/qemu/virt/firmware/fw_payload.elf.ld ELF platform/qemu/virt/firmware/fw_payload.elf OBJCOPY platform/qemu/virt/firmware/fw_payload.bin ~/build/BUILD/opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09 ~/build/BUILD/opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09/fedora-builds/uboot-qemu-virt ~/build/BUILD/opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09 + popd + pushd fedora-builds/uboot-qemu-virt + ubootFile=/usr/share/uboot/qemu-riscv64_smode/u-boot.bin + file /usr/share/uboot/qemu-riscv64_smode/u-boot.bin /usr/share/uboot/qemu-riscv64_smode/u-boot.bin: data + make PLATFORM=qemu/virt FW_OPTIONS=0x2 FW_PAYLOAD_PATH=/usr/share/uboot/qemu-riscv64_smode/u-boot.bin AS-DEP platform/qemu/virt/firmware/fw_payload.dep AS-DEP platform/qemu/virt/firmware/fw_jump.dep AS-DEP platform/qemu/virt/firmware/fw_dynamic.dep AS-DEP platform/qemu/virt/firmware/payloads/test_head.dep CC-DEP platform/qemu/virt/firmware/payloads/test_main.dep MERGE-DEP platform/qemu/virt/firmware/payloads/test.dep CC-DEP lib/utils/irqchip/plic.dep CC-DEP lib/utils/libfdt/fdt_empty_tree.dep CC-DEP lib/utils/libfdt/fdt_strerror.dep CC-DEP lib/utils/libfdt/fdt_sw.dep CC-DEP lib/utils/libfdt/fdt_rw.dep CC-DEP lib/utils/libfdt/fdt_wip.dep CC-DEP lib/utils/libfdt/fdt_ro.dep CC-DEP lib/utils/libfdt/fdt.dep CC-DEP lib/utils/serial/sifive-uart.dep CC-DEP lib/utils/serial/uart8250.dep CC-DEP lib/utils/sys/clint.dep CC-DEP lib/sbi/sbi_string.dep CC-DEP lib/sbi/sbi_trap.dep CC-DEP lib/sbi/sbi_tlb.dep CC-DEP lib/sbi/sbi_timer.dep CC-DEP lib/sbi/sbi_system.dep CC-DEP lib/sbi/sbi_scratch.dep CC-DEP lib/sbi/sbi_misaligned_ldst.dep CC-DEP lib/sbi/sbi_ipi.dep CC-DEP lib/sbi/sbi_init.dep CC-DEP lib/sbi/sbi_illegal_insn.dep CC-DEP lib/sbi/sbi_hart.dep CC-DEP lib/sbi/sbi_fifo.dep CC-DEP lib/sbi/sbi_emulate_csr.dep CC-DEP lib/sbi/sbi_ecall.dep CC-DEP lib/sbi/sbi_console.dep CC-DEP lib/sbi/riscv_unpriv.dep CC-DEP lib/sbi/riscv_locks.dep AS-DEP lib/sbi/riscv_hardfp.dep CC-DEP lib/sbi/riscv_atomic.dep CC-DEP lib/sbi/riscv_asm.dep CC-DEP platform/qemu/virt/platform.dep CC lib/sbi/riscv_asm.o CC lib/sbi/riscv_atomic.o AS lib/sbi/riscv_hardfp.o CC lib/sbi/riscv_locks.o CC lib/sbi/riscv_unpriv.o CC lib/sbi/sbi_console.o CC lib/sbi/sbi_ecall.o CC lib/sbi/sbi_emulate_csr.o CC lib/sbi/sbi_fifo.o CC lib/sbi/sbi_hart.o CC lib/sbi/sbi_illegal_insn.o CC lib/sbi/sbi_init.o CC lib/sbi/sbi_ipi.o CC lib/sbi/sbi_misaligned_ldst.o CC lib/sbi/sbi_scratch.o CC lib/sbi/sbi_system.o CC lib/sbi/sbi_timer.o CC lib/sbi/sbi_tlb.o CC lib/sbi/sbi_trap.o CC lib/sbi/sbi_string.o AR lib/libsbi.a CC lib/utils/sys/clint.o CC lib/utils/serial/uart8250.o CC lib/utils/serial/sifive-uart.o CC lib/utils/libfdt/fdt.o CC lib/utils/libfdt/fdt_ro.o CC lib/utils/libfdt/fdt_wip.o CC lib/utils/libfdt/fdt_rw.o CC lib/utils/libfdt/fdt_sw.o CC lib/utils/libfdt/fdt_strerror.o CC lib/utils/libfdt/fdt_empty_tree.o CC lib/utils/irqchip/plic.o AR lib/libsbiutils.a CC platform/qemu/virt/platform.o AR platform/qemu/virt/lib/libplatsbi.a AS platform/qemu/virt/firmware/payloads/test_head.o CC platform/qemu/virt/firmware/payloads/test_main.o MERGE platform/qemu/virt/firmware/payloads/test.o CPP platform/qemu/virt/firmware/payloads/test.elf.ld ELF platform/qemu/virt/firmware/payloads/test.elf OBJCOPY platform/qemu/virt/firmware/payloads/test.bin AS platform/qemu/virt/firmware/fw_dynamic.o CPP platform/qemu/virt/firmware/fw_dynamic.elf.ld ELF platform/qemu/virt/firmware/fw_dynamic.elf OBJCOPY platform/qemu/virt/firmware/fw_dynamic.bin AS platform/qemu/virt/firmware/fw_jump.o CPP platform/qemu/virt/firmware/fw_jump.elf.ld ELF platform/qemu/virt/firmware/fw_jump.elf OBJCOPY platform/qemu/virt/firmware/fw_jump.bin AS platform/qemu/virt/firmware/fw_payload.o CPP platform/qemu/virt/firmware/fw_payload.elf.ld ELF platform/qemu/virt/firmware/fw_payload.elf OBJCOPY platform/qemu/virt/firmware/fw_payload.bin ~/build/BUILD/opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09 ~/build/BUILD/opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09/fedora-builds/uboot-sifive-fu540 ~/build/BUILD/opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09 + popd + pushd fedora-builds/uboot-sifive-fu540 + ubootFile=/usr/share/uboot/sifive_fu540/u-boot.bin BUILDSTDERR: ++ echo /boot/dtb-5.4.0-0.rc3.git2.300.1.riscv64.fc32.riscv64/sifive/hifive-unleashed-a00.dtb + dtbFile=/boot/dtb-5.4.0-0.rc3.git2.300.1.riscv64.fc32.riscv64/sifive/hifive-unleashed-a00.dtb + file /usr/share/uboot/sifive_fu540/u-boot.bin /usr/share/uboot/sifive_fu540/u-boot.bin: data + file /boot/dtb-5.4.0-0.rc3.git2.300.1.riscv64.fc32.riscv64/sifive/hifive-unleashed-a00.dtb /boot/dtb-5.4.0-0.rc3.git2.300.1.riscv64.fc32.riscv64/sifive/hifive-unleashed-a00.dtb: Device Tree Blob version 17, size=6497, boot CPU=0, string block size=657, DT structure block size=5784 + make PLATFORM=sifive/fu540 FW_OPTIONS=0x2 FW_PAYLOAD_PATH=/usr/share/uboot/sifive_fu540/u-boot.bin FW_PAYLOAD_FDT_PATH=/boot/dtb-5.4.0-0.rc3.git2.300.1.riscv64.fc32.riscv64/sifive/hifive-unleashed-a00.dtb AS-DEP platform/sifive/fu540/firmware/fw_payload.dep AS-DEP platform/sifive/fu540/firmware/fw_jump.dep AS-DEP platform/sifive/fu540/firmware/fw_dynamic.dep AS-DEP platform/sifive/fu540/firmware/payloads/test_head.dep CC-DEP platform/sifive/fu540/firmware/payloads/test_main.dep MERGE-DEP platform/sifive/fu540/firmware/payloads/test.dep CC-DEP lib/utils/irqchip/plic.dep CC-DEP lib/utils/libfdt/fdt_empty_tree.dep CC-DEP lib/utils/libfdt/fdt_strerror.dep CC-DEP lib/utils/libfdt/fdt_sw.dep CC-DEP lib/utils/libfdt/fdt_rw.dep CC-DEP lib/utils/libfdt/fdt_wip.dep CC-DEP lib/utils/libfdt/fdt_ro.dep CC-DEP lib/utils/libfdt/fdt.dep CC-DEP lib/utils/serial/sifive-uart.dep CC-DEP lib/utils/serial/uart8250.dep CC-DEP lib/utils/sys/clint.dep CC-DEP lib/sbi/sbi_string.dep CC-DEP lib/sbi/sbi_trap.dep CC-DEP lib/sbi/sbi_tlb.dep CC-DEP lib/sbi/sbi_timer.dep CC-DEP lib/sbi/sbi_system.dep CC-DEP lib/sbi/sbi_scratch.dep CC-DEP lib/sbi/sbi_misaligned_ldst.dep CC-DEP lib/sbi/sbi_ipi.dep CC-DEP lib/sbi/sbi_init.dep CC-DEP lib/sbi/sbi_illegal_insn.dep CC-DEP lib/sbi/sbi_hart.dep CC-DEP lib/sbi/sbi_fifo.dep CC-DEP lib/sbi/sbi_emulate_csr.dep CC-DEP lib/sbi/sbi_ecall.dep CC-DEP lib/sbi/sbi_console.dep CC-DEP lib/sbi/riscv_unpriv.dep CC-DEP lib/sbi/riscv_locks.dep AS-DEP lib/sbi/riscv_hardfp.dep CC-DEP lib/sbi/riscv_atomic.dep CC-DEP lib/sbi/riscv_asm.dep CC-DEP platform/sifive/fu540/platform.dep CC lib/sbi/riscv_asm.o CC lib/sbi/riscv_atomic.o AS lib/sbi/riscv_hardfp.o CC lib/sbi/riscv_locks.o CC lib/sbi/riscv_unpriv.o CC lib/sbi/sbi_console.o CC lib/sbi/sbi_ecall.o CC lib/sbi/sbi_emulate_csr.o CC lib/sbi/sbi_fifo.o CC lib/sbi/sbi_hart.o CC lib/sbi/sbi_illegal_insn.o CC lib/sbi/sbi_init.o CC lib/sbi/sbi_ipi.o CC lib/sbi/sbi_misaligned_ldst.o CC lib/sbi/sbi_scratch.o CC lib/sbi/sbi_system.o CC lib/sbi/sbi_timer.o CC lib/sbi/sbi_tlb.o CC lib/sbi/sbi_trap.o CC lib/sbi/sbi_string.o AR lib/libsbi.a CC lib/utils/sys/clint.o CC lib/utils/serial/uart8250.o CC lib/utils/serial/sifive-uart.o CC lib/utils/libfdt/fdt.o CC lib/utils/libfdt/fdt_ro.o CC lib/utils/libfdt/fdt_wip.o CC lib/utils/libfdt/fdt_rw.o CC lib/utils/libfdt/fdt_sw.o CC lib/utils/libfdt/fdt_strerror.o CC lib/utils/libfdt/fdt_empty_tree.o CC lib/utils/irqchip/plic.o AR lib/libsbiutils.a CC platform/sifive/fu540/platform.o AR platform/sifive/fu540/lib/libplatsbi.a AS platform/sifive/fu540/firmware/payloads/test_head.o CC platform/sifive/fu540/firmware/payloads/test_main.o MERGE platform/sifive/fu540/firmware/payloads/test.o CPP platform/sifive/fu540/firmware/payloads/test.elf.ld ELF platform/sifive/fu540/firmware/payloads/test.elf OBJCOPY platform/sifive/fu540/firmware/payloads/test.bin AS platform/sifive/fu540/firmware/fw_dynamic.o CPP platform/sifive/fu540/firmware/fw_dynamic.elf.ld ELF platform/sifive/fu540/firmware/fw_dynamic.elf OBJCOPY platform/sifive/fu540/firmware/fw_dynamic.bin AS platform/sifive/fu540/firmware/fw_jump.o CPP platform/sifive/fu540/firmware/fw_jump.elf.ld ELF platform/sifive/fu540/firmware/fw_jump.elf OBJCOPY platform/sifive/fu540/firmware/fw_jump.bin AS platform/sifive/fu540/firmware/fw_payload.o CPP platform/sifive/fu540/firmware/fw_payload.elf.ld ELF platform/sifive/fu540/firmware/fw_payload.elf BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09/fedora-builds/uboot-sifive-fu540/build/platform/sifive/fu540/firmware/fw_payload.o(.text+0x1961): 15 bytes required for alignment to 16-byte boundary, but only 14 present BUILDSTDERR: /usr/bin/ld: can't relax section: bad value BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make: *** [Makefile:278: /builddir/build/BUILD/opensbi-be92da280d87c38a2e0adc5d3f43bab7b5468f09/fedora-builds/uboot-sifive-fu540/build/platform/sifive/fu540/firmware/fw_payload.elf] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.kIdbrS (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.kIdbrS (%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/opensbi-unstable.spec