from src/get_clock.c:43: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # 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: 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/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: 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_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_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: 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 make[1]: Leaving directory '/builddir/build/BUILD/perftest-4.2' BUILDSTDERR: make: *** [Makefile:542: all] Error 2 error: RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.qqmhFG (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.qqmhFG (%build) 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