Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/opensbi-unstable.spec'], chrootPath='/var/lib/mock/f33-build-416997-62867/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1609891200 Wrote: /builddir/build/SRPMS/opensbi-unstable-v0.8.81.2021.01.06.7dcb1e1-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/opensbi-unstable.spec'], chrootPath='/var/lib/mock/f33-build-416997-62867/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1609891200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4D8pJO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opensbi-7dcb1e1753e9c5daec0580779ea8c31778bff152 + /usr/bin/gzip -dc /builddir/build/SOURCES/7dcb1e1753e9c5daec0580779ea8c31778bff152.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opensbi-7dcb1e1753e9c5daec0580779ea8c31778bff152 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Z3pNiP + umask 022 + cd /builddir/build/BUILD + cd opensbi-7dcb1e1753e9c5daec0580779ea8c31778bff152 + make PLATFORM=generic AS-DEP platform/generic/firmware/fw_payload.dep AS-DEP platform/generic/firmware/fw_jump.dep AS-DEP platform/generic/firmware/fw_dynamic.dep AS-DEP platform/generic/firmware/payloads/test_head.dep CC-DEP platform/generic/firmware/payloads/test_main.dep MERGE-DEP platform/generic/firmware/payloads/test.dep CC-DEP lib/utils/fdt/fdt_fixup.dep CC-DEP lib/utils/fdt/fdt_helper.dep CC-DEP lib/utils/fdt/fdt_domain.dep CC-DEP lib/utils/ipi/fdt_ipi_clint.dep CC-DEP lib/utils/ipi/fdt_ipi.dep CC-DEP lib/utils/irqchip/plic.dep CC-DEP lib/utils/irqchip/fdt_irqchip_plic.dep CC-DEP lib/utils/irqchip/fdt_irqchip.dep CC-DEP lib/utils/libfdt/fdt_wip.dep CC-DEP lib/utils/libfdt/fdt_sw.dep CC-DEP lib/utils/libfdt/fdt_strerror.dep CC-DEP lib/utils/libfdt/fdt_rw.dep CC-DEP lib/utils/libfdt/fdt_ro.dep CC-DEP lib/utils/libfdt/fdt_empty_tree.dep CC-DEP lib/utils/libfdt/fdt_check.dep CC-DEP lib/utils/libfdt/fdt_addresses.dep CC-DEP lib/utils/libfdt/fdt.dep CC-DEP lib/utils/reset/fdt_reset_sifive.dep CC-DEP lib/utils/reset/fdt_reset_htif.dep CC-DEP lib/utils/reset/fdt_reset.dep CC-DEP lib/utils/serial/uart8250.dep CC-DEP lib/utils/serial/sifive-uart.dep CC-DEP lib/utils/serial/shakti-uart.dep CC-DEP lib/utils/serial/fdt_serial_uart8250.dep CC-DEP lib/utils/serial/fdt_serial_sifive.dep CC-DEP lib/utils/serial/fdt_serial_shakti.dep CC-DEP lib/utils/serial/fdt_serial_htif.dep CC-DEP lib/utils/serial/fdt_serial.dep CC-DEP lib/utils/sys/sifive_test.dep CC-DEP lib/utils/sys/htif.dep CC-DEP lib/utils/sys/clint.dep CC-DEP lib/utils/timer/fdt_timer_clint.dep CC-DEP lib/utils/timer/fdt_timer.dep AS-DEP lib/sbi/sbi_expected_trap.dep CC-DEP lib/sbi/sbi_unpriv.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_string.dep CC-DEP lib/sbi/sbi_scratch.dep CC-DEP lib/sbi/sbi_platform.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_hsm.dep AS-DEP lib/sbi/sbi_hfence.dep CC-DEP lib/sbi/sbi_math.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_vendor.dep CC-DEP lib/sbi/sbi_ecall_replace.dep CC-DEP lib/sbi/sbi_ecall_legacy.dep CC-DEP lib/sbi/sbi_ecall_hsm.dep CC-DEP lib/sbi/sbi_ecall_base.dep CC-DEP lib/sbi/sbi_ecall.dep CC-DEP lib/sbi/sbi_domain.dep CC-DEP lib/sbi/sbi_console.dep CC-DEP lib/sbi/sbi_bitops.dep CC-DEP lib/sbi/sbi_bitmap.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/generic/sifive_fu540.dep CC-DEP platform/generic/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/sbi_bitmap.o CC lib/sbi/sbi_bitops.o CC lib/sbi/sbi_console.o CC lib/sbi/sbi_domain.o CC lib/sbi/sbi_ecall.o CC lib/sbi/sbi_ecall_base.o CC lib/sbi/sbi_ecall_hsm.o CC lib/sbi/sbi_ecall_legacy.o CC lib/sbi/sbi_ecall_replace.o CC lib/sbi/sbi_ecall_vendor.o CC lib/sbi/sbi_emulate_csr.o CC lib/sbi/sbi_fifo.o CC lib/sbi/sbi_hart.o CC lib/sbi/sbi_math.o AS lib/sbi/sbi_hfence.o CC lib/sbi/sbi_hsm.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_platform.o CC lib/sbi/sbi_scratch.o CC lib/sbi/sbi_string.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_unpriv.o AS lib/sbi/sbi_expected_trap.o AR lib/libsbi.a CC lib/utils/timer/fdt_timer.o CC lib/utils/timer/fdt_timer_clint.o CC lib/utils/sys/clint.o CC lib/utils/sys/htif.o CC lib/utils/sys/sifive_test.o CC lib/utils/serial/fdt_serial.o CC lib/utils/serial/fdt_serial_htif.o CC lib/utils/serial/fdt_serial_shakti.o CC lib/utils/serial/fdt_serial_sifive.o CC lib/utils/serial/fdt_serial_uart8250.o CC lib/utils/serial/shakti-uart.o CC lib/utils/serial/sifive-uart.o CC lib/utils/serial/uart8250.o CC lib/utils/reset/fdt_reset.o CC lib/utils/reset/fdt_reset_htif.o CC lib/utils/reset/fdt_reset_sifive.o CC lib/utils/libfdt/fdt.o CC lib/utils/libfdt/fdt_addresses.o CC lib/utils/libfdt/fdt_check.o CC lib/utils/libfdt/fdt_empty_tree.o CC lib/utils/libfdt/fdt_ro.o CC lib/utils/libfdt/fdt_rw.o CC lib/utils/libfdt/fdt_strerror.o CC lib/utils/libfdt/fdt_sw.o CC lib/utils/libfdt/fdt_wip.o CC lib/utils/irqchip/fdt_irqchip.o CC lib/utils/irqchip/fdt_irqchip_plic.o CC lib/utils/irqchip/plic.o CC lib/utils/ipi/fdt_ipi.o CC lib/utils/ipi/fdt_ipi_clint.o CC lib/utils/fdt/fdt_domain.o CC lib/utils/fdt/fdt_helper.o CC lib/utils/fdt/fdt_fixup.o AR lib/libsbiutils.a CC platform/generic/platform.o CC platform/generic/sifive_fu540.o AR platform/generic/lib/libplatsbi.a AS platform/generic/firmware/payloads/test_head.o CC platform/generic/firmware/payloads/test_main.o MERGE platform/generic/firmware/payloads/test.o CPP platform/generic/firmware/payloads/test.elf.ld ELF platform/generic/firmware/payloads/test.elf OBJCOPY platform/generic/firmware/payloads/test.bin AS platform/generic/firmware/fw_dynamic.o CPP platform/generic/firmware/fw_dynamic.elf.ld ELF platform/generic/firmware/fw_dynamic.elf OBJCOPY platform/generic/firmware/fw_dynamic.bin AS platform/generic/firmware/fw_jump.o CPP platform/generic/firmware/fw_jump.elf.ld ELF platform/generic/firmware/fw_jump.elf OBJCOPY platform/generic/firmware/fw_jump.bin AS platform/generic/firmware/fw_payload.o CPP platform/generic/firmware/fw_payload.elf.ld ELF platform/generic/firmware/fw_payload.elf OBJCOPY platform/generic/firmware/fw_payload.bin + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.O2yjUQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opensbi-unstable-v0.8.81.2021.01.06.7dcb1e1-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opensbi-unstable-v0.8.81.2021.01.06.7dcb1e1-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/opensbi-unstable-v0.8.81.2021.01.06.7dcb1e1-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opensbi-unstable-v0.8.81.2021.01.06.7dcb1e1-1.fc33.riscv64 + cd opensbi-7dcb1e1753e9c5daec0580779ea8c31778bff152 + make PLATFORM=generic I=/builddir/build/BUILDROOT/opensbi-unstable-v0.8.81.2021.01.06.7dcb1e1-1.fc33.riscv64 INSTALL_LIB_PATH=lib64 install INSTALL include INSTALL lib64/libsbi.a INSTALL include INSTALL lib64/libsbiutils.a INSTALL lib64/opensbi/generic/lib/libplatsbi.a INSTALL share/opensbi/lp64/generic/firmware//payloads/test.elf INSTALL share/opensbi/lp64/generic/firmware//fw_dynamic.elf INSTALL share/opensbi/lp64/generic/firmware//fw_jump.elf INSTALL share/opensbi/lp64/generic/firmware//fw_payload.elf INSTALL share/opensbi/lp64/generic/firmware//payloads/test.bin INSTALL share/opensbi/lp64/generic/firmware//fw_dynamic.bin INSTALL share/opensbi/lp64/generic/firmware//fw_jump.bin INSTALL share/opensbi/lp64/generic/firmware//fw_payload.bin + mv /builddir/build/BUILDROOT/opensbi-unstable-v0.8.81.2021.01.06.7dcb1e1-1.fc33.riscv64/usr/share/opensbi /builddir/build/BUILDROOT/opensbi-unstable-v0.8.81.2021.01.06.7dcb1e1-1.fc33.riscv64/usr/share/opensbi-unstable mv: cannot stat '/builddir/build/BUILDROOT/opensbi-unstable-v0.8.81.2021.01.06.7dcb1e1-1.fc33.riscv64/usr/share/opensbi': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.O2yjUQ (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.O2yjUQ (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/opensbi-unstable.spec