t_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] BUILDSTDERR: 109 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/get_clock.h:110:10: fatal error: asm/timex.h: No such file or directory BUILDSTDERR: 110 | #include BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:810: src/perftest_communication.o] Error 1 BUILDSTDERR: In file included from src/perftest_parameters.h:61, BUILDSTDERR: from src/perftest_resources.h:69, BUILDSTDERR: from src/perftest_resources.c:22: BUILDSTDERR: src/get_clock.h:109:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] BUILDSTDERR: 109 | #warning get_cycles not implemented for this architecture: attempt asm/timex.h BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/get_clock.h:110:10: fatal error: asm/timex.h: No such file or directory BUILDSTDERR: 110 | #include BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:810: src/perftest_resources.o] Error 1 BUILDSTDERR: make: *** [Makefile:542: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.tj5lam (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.tj5lam (%build) for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for riscv64-koji-linux-gnu-ranlib... ranlib checking for ANSI C header files... (cached) yes checking infiniband/verbs.h usability... yes checking infiniband/verbs.h presence... yes checking for infiniband/verbs.h... yes checking for ibv_get_device_list in -libverbs... yes checking for rdma_create_event_channel in -lrdmacm... yes checking for umad_init in -libumad... yes checking for log in -lm... yes checking for infiniband/verbs_exp.h... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make all-am make[1]: Entering directory '/builddir/build/BUILD/perftest-4.2' CC src/get_clock.o CC src/perftest_communication.o CC src/perftest_parameters.o CC src/perftest_resources.o make[1]: Leaving directory '/builddir/build/BUILD/perftest-4.2' RPM build errors: 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 700, 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/perftest.spec