Mock Version: 1.4.21
Mock Version: 1.4.21
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perftest.spec'], chrootPath='/var/lib/mock/f33-build-211789-48405/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fc3189700>timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perftest.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1586649600
Wrote: /builddir/build/SRPMS/perftest-4.4-2.fc33.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perftest.spec'], chrootPath='/var/lib/mock/f33-build-211789-48405/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fc3189700>timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perftest.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1586649600
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yO9TF3
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf perftest-4.4
+ /usr/bin/gzip -dc /builddir/build/SOURCES/perftest-4.4-0.23.g89e176a.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd perftest-4.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /builddir/build/BUILD
+ rm -rf perftest-4.4
+ /usr/bin/gzip -dc /builddir/build/SOURCES/perftest-4.4-0.23.g89e176a.tar.gz
+ /usr/bin/tar -xvvof -
drwxr-xr-x nfsnobody/nfsnobody 0 2020-03-30 10:46 perftest-4.4/
-rw-r--r-- nfsnobody/nfsnobody 573 2019-05-26 06:29 perftest-4.4/.gitignore
-rw-r--r-- nfsnobody/nfsnobody 1281 2019-05-26 06:23 perftest-4.4/COPYING
-rwxr-xr-x nfsnobody/nfsnobody 4085 2020-03-10 06:38 perftest-4.4/Makefile.am
-rw-r--r-- nfsnobody/nfsnobody 12456 2020-03-10 06:38 perftest-4.4/README
-rw-r--r-- nfsnobody/nfsnobody   925 2019-05-26 06:23 perftest-4.4/README_sparc
-rwxr-xr-x nfsnobody/nfsnobody   184 2019-05-26 06:23 perftest-4.4/autogen.sh
drwxr-xr-x nfsnobody/nfsnobody     0 2020-03-30 10:46 perftest-4.4/config/
-rw-r--r-- nfsnobody/nfsnobody 42856 2019-05-26 06:23 perftest-4.4/config/config.guess
-rw-r--r-- nfsnobody/nfsnobody 35740 2019-05-26 06:23 perftest-4.4/config/config.sub
drwxr-xr-x nfsnobody/nfsnobody     0 2020-03-30 10:46 perftest-4.4/config/m4/
drwxr-xr-x nfsnobody/nfsnobody     0 2020-03-30 10:46 perftest-4.4/config/aux/
-rw-r--r-- nfsnobody/nfsnobody 283474 2020-03-30 10:46 perftest-4.4/config/ltmain.sh
-rwxr-xr-x nfsnobody/nfsnobody  13997 2020-03-30 10:46 perftest-4.4/config/install-sh
-rwxr-xr-x nfsnobody/nfsnobody   6873 2020-03-30 10:46 perftest-4.4/config/missing
-rwxr-xr-x nfsnobody/nfsnobody  23566 2020-03-30 10:46 perftest-4.4/config/depcomp
-rwxr-xr-x nfsnobody/nfsnobody   7677 2020-03-30 10:45 perftest-4.4/configure.ac
drwxr-xr-x nfsnobody/nfsnobody      0 2019-05-26 06:23 perftest-4.4/debian/
-rw-r--r-- nfsnobody/nfsnobody    164 2019-05-26 06:23 perftest-4.4/debian/changelog
-rw-r--r-- nfsnobody/nfsnobody      2 2019-05-26 06:23 perftest-4.4/debian/compat
-rw-r--r-- nfsnobody/nfsnobody    780 2019-05-26 06:23 perftest-4.4/debian/control
-rw-r--r-- nfsnobody/nfsnobody    170 2019-05-26 06:23 perftest-4.4/debian/perftest.install
-rwxr-xr-x nfsnobody/nfsnobody    661 2019-05-26 06:23 perftest-4.4/debian/rules
-rw-r--r-- nfsnobody/nfsnobody   1731 2020-03-30 10:46 perftest-4.4/perftest.spec
-rwxr-xr-x nfsnobody/nfsnobody    617 2019-05-26 06:23 perftest-4.4/run_perftest_loopback
-rwxr-xr-x nfsnobody/nfsnobody    363 2019-05-26 06:23 perftest-4.4/runme
drwxr-xr-x nfsnobody/nfsnobody      0 2020-03-30 10:45 perftest-4.4/src/
-rwxr-xr-x nfsnobody/nfsnobody  11889 2020-03-10 06:38 perftest-4.4/src/atomic_bw.c
-rwxr-xr-x nfsnobody/nfsnobody   8930 2020-03-10 06:38 perftest-4.4/src/atomic_lat.c
-rw-r--r-- nfsnobody/nfsnobody    410 2019-05-26 06:23 perftest-4.4/src/clock_test.c
-rwxr-xr-x nfsnobody/nfsnobody   5711 2019-05-26 06:23 perftest-4.4/src/get_clock.c
-rwxr-xr-x nfsnobody/nfsnobody   3409 2019-05-26 06:23 perftest-4.4/src/get_clock.h
-rwxr-xr-x nfsnobody/nfsnobody   9580 2019-10-14 20:27 perftest-4.4/src/multicast_resources.c
-rw-r--r-- nfsnobody/nfsnobody   6856 2019-10-14 20:27 perftest-4.4/src/multicast_resources.h
-rwxr-xr-x nfsnobody/nfsnobody  74453 2020-03-30 10:45 perftest-4.4/src/perftest_communication.c
-rwxr-xr-x nfsnobody/nfsnobody  24325 2020-03-10 06:38 perftest-4.4/src/perftest_communication.h
-rwxr-xr-x nfsnobody/nfsnobody 109498 2020-03-24 04:37 perftest-4.4/src/perftest_parameters.c
-rwxr-xr-x nfsnobody/nfsnobody  20811 2020-03-10 06:38 perftest-4.4/src/perftest_parameters.h
-rwxr-xr-x nfsnobody/nfsnobody 137100 2020-03-24 04:37 perftest-4.4/src/perftest_resources.c
-rwxr-xr-x nfsnobody/nfsnobody  24043 2020-03-10 06:38 perftest-4.4/src/perftest_resources.h
-rwxr-xr-x nfsnobody/nfsnobody  37767 2020-03-10 06:38 perftest-4.4/src/raw_ethernet_resources.c
-rwxr-xr-x nfsnobody/nfsnobody   9845 2019-12-22 07:03 perftest-4.4/src/raw_ethernet_resources.h
-rwxr-xr-x nfsnobody/nfsnobody   8002 2020-03-10 06:38 perftest-4.4/src/raw_ethernet_send_burst_lat.c
-rwxr-xr-x nfsnobody/nfsnobody  13298 2020-03-10 06:38 perftest-4.4/src/raw_ethernet_send_bw.c
-rwxr-xr-x nfsnobody/nfsnobody   7912 2020-03-10 06:38 perftest-4.4/src/raw_ethernet_send_lat.c
-rwxr-xr-x nfsnobody/nfsnobody  13024 2020-03-10 06:38 perftest-4.4/src/read_bw.c
-rwxr-xr-x nfsnobody/nfsnobody   9330 2020-03-10 06:38 perftest-4.4/src/read_lat.c
-rwxr-xr-x nfsnobody/nfsnobody  18842 2020-03-10 06:38 perftest-4.4/src/send_bw.c
-rwxr-xr-x nfsnobody/nfsnobody  15184 2020-03-10 06:38 perftest-4.4/src/send_lat.c
-rwxr-xr-x nfsnobody/nfsnobody  13296 2020-03-10 06:38 perftest-4.4/src/write_bw.c
-rwxr-xr-x nfsnobody/nfsnobody   9139 2020-03-10 06:38 perftest-4.4/src/write_lat.c
-rwxr-xr-x nfsnobody/nfsnobody   5042 2020-03-10 06:38 perftest-4.4/src/raw_ethernet_fs_rate.c
-rw-r--r-- nfsnobody/nfsnobody   2782 2020-03-10 06:38 perftest-4.4/src/perftest_counters.c
-rw-r--r-- nfsnobody/nfsnobody    560 2020-03-10 06:38 perftest-4.4/src/perftest_counters.h
-rwxr-xr-x nfsnobody/nfsnobody   4353 2019-08-25 08:19 perftest-4.4/run_perftest_multi_devices
drwxr-xr-x nfsnobody/nfsnobody      0 2020-03-30 10:46 perftest-4.4/m4/
-rw-r--r-- nfsnobody/nfsnobody 286490 2020-03-30 10:46 perftest-4.4/m4/libtool.m4
-rw-r--r-- nfsnobody/nfsnobody  12347 2020-03-30 10:46 perftest-4.4/m4/ltoptions.m4
-rw-r--r-- nfsnobody/nfsnobody   4372 2020-03-30 10:46 perftest-4.4/m4/ltsugar.m4
-rw-r--r-- nfsnobody/nfsnobody    690 2020-03-30 10:46 perftest-4.4/m4/ltversion.m4
-rw-r--r-- nfsnobody/nfsnobody   6126 2020-03-30 10:46 perftest-4.4/m4/lt~obsolete.m4
drwxr-xr-x nfsnobody/nfsnobody      0 2020-03-30 10:46 perftest-4.4/autom4te.cache/
-rw-r--r-- nfsnobody/nfsnobody  14427 2020-03-30 10:46 perftest-4.4/autom4te.cache/requests
-rw-r--r-- nfsnobody/nfsnobody 582028 2020-03-30 10:46 perftest-4.4/autom4te.cache/output.0
-rw-r--r-- nfsnobody/nfsnobody 121822 2020-03-30 10:46 perftest-4.4/autom4te.cache/traces.0
-rw-r--r-- nfsnobody/nfsnobody 581838 2020-03-30 10:46 perftest-4.4/autom4te.cache/output.1
-rw-r--r-- nfsnobody/nfsnobody  56127 2020-03-30 10:46 perftest-4.4/autom4te.cache/traces.1
-rw-r--r-- nfsnobody/nfsnobody 347361 2020-03-30 10:46 perftest-4.4/aclocal.m4
-rw-r--r-- nfsnobody/nfsnobody   2813 2020-03-30 10:46 perftest-4.4/config.h.in
-rw-r--r-- nfsnobody/nfsnobody  45423 2020-03-30 10:46 perftest-4.4/Makefile.in
-rwxr-xr-x nfsnobody/nfsnobody 579013 2020-03-30 10:46 perftest-4.4/configure
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd perftest-4.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /builddir/build/SOURCES/0010-Fix-multiple-definition-of-duration_param.patch
+ /usr/bin/patch -p1 --fuzz=0 --no-backup-if-mismatch
patching file src/raw_ethernet_resources.c
+ /usr/bin/cat /builddir/build/SOURCES/0011-Replace-_BSD_SOURCE-with-_DEFAULT_SOURCE.patch
+ /usr/bin/patch -p1 --fuzz=0 --no-backup-if-mismatch
patching file src/get_clock.c
+ find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Q2BU13
+ umask 022
+ cd /builddir/build/BUILD
+ cd perftest-4.4
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config/config.sub
++ basename ./config/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config/config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config/config.guess
++ basename ./config/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config/config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']'
++ find . -name ltmain.sh
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./config/ltmain.sh
+ ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for riscv64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for riscv64-redhat-linux-gnu-g++... no
checking for riscv64-redhat-linux-gnu-c++... no
checking for riscv64-redhat-linux-gnu-gpp... no
checking for riscv64-redhat-linux-gnu-aCC... no
checking for riscv64-redhat-linux-gnu-CC... no
checking for riscv64-redhat-linux-gnu-cxx... no
checking for riscv64-redhat-linux-gnu-cc++... no
checking for riscv64-redhat-linux-gnu-cl.exe... no
checking for riscv64-redhat-linux-gnu-FCC... no
checking for riscv64-redhat-linux-gnu-KCC... no
checking for riscv64-redhat-linux-gnu-RCC... no
checking for riscv64-redhat-linux-gnu-xlC_r... no
checking for riscv64-redhat-linux-gnu-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking dependency style of gcc... none
checking build system type... riscv64-redhat-linux-gnu
checking host system type... riscv64-redhat-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for riscv64-redhat-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for riscv64-redhat-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for riscv64-redhat-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for riscv64-redhat-linux-gnu-strip... no
checking for strip... strip
checking for riscv64-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for riscv64-redhat-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking 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-redhat-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 efadv_create_driver_qp in -lefa... 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 -j4 'CFLAGS+=-fPIC -g -Wall -D_GNU_SOURCE -O3'
make  all-am
make[1]: Entering directory '/builddir/build/BUILD/perftest-4.4'
  CC       src/get_clock.o
  CC       src/perftest_communication.o
  CC       src/perftest_resources.o
  CC       src/perftest_parameters.o
In file included from src/get_clock.c:48:
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 <asm/timex.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:823: src/get_clock.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from src/perftest_parameters.h:62,
                 from src/perftest_parameters.c:11:
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 <asm/timex.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:823: src/perftest_parameters.o] Error 1
In file included from src/perftest_parameters.h:62,
                 from src/perftest_resources.h:70,
                 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 <asm/timex.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:823: src/perftest_communication.o] Error 1
In file included from src/perftest_parameters.h:62,
                 from src/perftest_resources.h:70,
                 from src/perftest_resources.c:29:
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 <asm/timex.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:823: src/perftest_resources.o] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/perftest-4.4'
make: *** [Makefile:552: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Q2BU13 (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Q2BU13 (%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