s -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/send_bw.o src/send_bw.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-4.5' In file included from src/perftest_parameters.h:62, from src/send_bw.c:41: src/get_clock.h:109:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 109 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:110:10: fatal error: asm/timex.h: No such file or directory 110 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:853: src/send_bw.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/perftest-4.5' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/multicast_resources.o src/multicast_resources.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-4.5' In file included from src/multicast_resources.h:63, from src/multicast_resources.c:24: src/get_clock.h:109:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 109 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:110:10: fatal error: asm/timex.h: No such file or directory 110 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:853: src/multicast_resources.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/perftest-4.5' gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/perftest_communication.o src/perftest_communication.c make[1]: Leaving directory '/builddir/build/BUILD/perftest-4.5' In file included from src/perftest_parameters.h:62, from src/perftest_resources.h:72, from src/perftest_communication.h:45, from src/perftest_communication.c:17: src/get_clock.h:109:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] 109 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h | ^~~~~~~ src/get_clock.h:110:10: fatal error: asm/timex.h: No such file or directory 110 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:853: src/perftest_communication.o] Error 1 make: *** [Makefile:577: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.jxOT6c (%build) Bad exit status from /var/tmp/rpm-tmp.jxOT6c (%build) 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/perftest.spec