rs.o CC src/perftest_resources.o BUILDSTDERR: In file included from /usr/include/sys/time.h:21, BUILDSTDERR: from src/get_clock.c:43: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from src/get_clock.c:48: BUILDSTDERR: src/get_clock.h:109:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] BUILDSTDERR: #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: #include BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:810: src/get_clock.o] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from src/perftest_parameters.h:61, BUILDSTDERR: from src/perftest_parameters.c:11: BUILDSTDERR: src/get_clock.h:109:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] BUILDSTDERR: #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: #include BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:810: src/perftest_parameters.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: #warning get_cycles not implemented for this architecture: attempt asm/timex.h BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from src/perftest_parameters.h:61, BUILDSTDERR: from src/perftest_resources.h:69, BUILDSTDERR: from src/perftest_communication.h:45, BUILDSTDERR: from src/perftest_communication.c:17: BUILDSTDERR: src/get_clock.h:109:2: warning: #warning get_cycles not implemented for this architecture: attempt asm/timex.h [-Wcpp] BUILDSTDERR: #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: #include BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: src/get_clock.h:110:10: fatal error: asm/timex.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:810: src/perftest_communication.o] Error 1 BUILDSTDERR: make[1]: *** [Makefile:810: src/perftest_resources.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/perftest-4.2' BUILDSTDERR: make: *** [Makefile:542: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.RC2YGL (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.RC2YGL (%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/perftest.spec