create... yes checking for pthread_kill... yes checking for pthread_mutex_lock... yes checking for pthread_cond_wait... yes checking for pthread_spin_lock... yes checking for clock_gettime in -lc... yes checking for clock_gettime... yes checking for clock_settime... yes checking for clock_getres... yes checking for sched_getparam... yes checking for sched_setparam... yes checking for sched_getscheduler... yes checking for sched_setscheduler... yes checking for sched_yield... yes checking for nanosleep... yes checking for cap_get_proc in -lcap... no checking for cap_get_proc... no checking for cap_set_proc... no checking for cap_set_flag... no checking for cap_clear_flag... no checking for selinux/selinux.h... yes checking for SELinux support checking for is_selinux_enabled in -lselinux... yes checking for is_selinux_enabled... yes checking for /dev/tty... yes checking for /dev/null... yes checking for /dev/zero... yes checking for /dev/stdin... yes checking for /dev/stdout... yes checking for /dev/stderr... yes checking for /dev/fd/0... yes checking for /dev/fd/1... yes checking for /dev/fd/2... yes checking for /usr/src/linux/include... no checking if Linux include file linux/ext2_fs.h is broken... yes checking if Linux include file /usr/src/linux/include/linux/ext2_fs.h is broken... yes checking if Linux include file scsi/scsi.h is broken... no checking if Linux include file /usr/src/linux/include/scsi/scsi.h is broken... no checking if Linux include file scsi/sg.h is broken... no checking if Linux include file /usr/src/linux/include/scsi/sg.h is broken... no updating cache ./config.cache creating ./config.status creating rules.cnf creating xconfig.h ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/conf" make[1]: Entering directory '/builddir/build/BUILD/star-1.5.3/conf' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/star-1.5.3/conf' ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/inc" make[1]: Entering directory '/builddir/build/BUILD/star-1.5.3/inc' ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/align_test.mk" make[2]: Entering directory '/builddir/build/BUILD/star-1.5.3/inc' ==> MAKING DIRECTORY "OBJ/riscv64-linux-gcc" ==> MAKING DEPENDENCIES "OBJ/riscv64-linux-gcc/align_test.d" BUILDSTDERR: /bin/sh: makedepend: command not found c -o OBJ/riscv64-linux-gcc/align_test.o align_test.c BUILDSTDERR: /bin/sh: c: command not found BUILDSTDERR: make[2]: [../RULES/r-gmake.obj:51: OBJ/riscv64-linux-gcc/align_test.o] Error 127 (ignored) o OBJ/riscv64-linux-gcc/align_test OBJ/riscv64-linux-gcc/align_test.o BUILDSTDERR: /bin/sh: o: command not found BUILDSTDERR: make[2]: [../RULES/rules.inc:44: OBJ/riscv64-linux-gcc/align_test] Error 127 (ignored) ==> GENERATING include file "../incs/riscv64-linux-gcc/align.h" BUILDSTDERR: /bin/sh: line 1: OBJ/riscv64-linux-gcc/align_test: No such file or directory BUILDSTDERR: /bin/sh: line 2: OBJ/riscv64-linux-gcc/align_test: No such file or directory make[2]: Leaving directory '/builddir/build/BUILD/star-1.5.3/inc' BUILDSTDERR: make[2]: *** [../RULES/rules.inc:50: ../incs/riscv64-linux-gcc/align.h] Error 127 make[1]: Leaving directory '/builddir/build/BUILD/star-1.5.3/inc' BUILDSTDERR: make[1]: *** [../RULES/rules.mks:23: all] Error 2 BUILDSTDERR: make: *** [RULES/rules1.dir:25: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.z185d8 (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.z185d8 (%build) 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/star.spec