\ 0.4.9\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.9\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -O2 -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 -fno-strict-aliasing -c support.c support.c: In function 'urgent': support.c:472:16: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 472 | (void) read(RemoteFD, p, q-p); | ^~~~~~~~~~~~~~~~~~~~~~ support.c:485:12: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 485 | (void) write(2, buffer, p+1-buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ support.c: In function 'remote_failure_error': support.c:513:12: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 513 | (void) write(2, buffer, p+1-buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ support.c: In function 'error': support.c:560:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 560 | (void) write(RemoteFD, buffer, p-buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:504, from qperf.c:45: In function 'strncpy', inlined from 'strncopy' at qperf.c:2864:5, inlined from 'get_conf' at qperf.c:1655:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qperf.c: In function 'get_conf': qperf.c:1656:45: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 64 [-Wformat-truncation=] 1656 | snprintf(conf->os, sizeof(conf->os), "%s %s", utsname.sysname, | ^ In file included from /usr/include/stdio.h:872, from qperf.c:42: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 130 bytes into a destination of size 64 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mkhelp RDMA Can't locate diagnostics.pm in @INC (you may need to install the diagnostics module) (@INC contains: /usr/local/lib64/perl5/5.30 /usr/local/share/perl5/5.30 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./mkhelp line 5. BEGIN failed--compilation aborted at ./mkhelp line 5. make[1]: *** [Makefile:474: help.c] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/builddir/build/BUILD/qperf-0.4.9/src' make: *** [Makefile:200: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.fluv5H (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.fluv5H (%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/qperf.spec