91, BUILDSTDERR: from /usr/include/c++/8/string:52, BUILDSTDERR: from /usr/include/c++/8/bits/locale_classes.h:40, BUILDSTDERR: from /usr/include/c++/8/bits/ios_base.h:41, BUILDSTDERR: from /usr/include/c++/8/ios:42, BUILDSTDERR: from /usr/include/c++/8/ostream:38, BUILDSTDERR: from /usr/include/c++/8/iostream:39, BUILDSTDERR: from ./Xrm.h:12, BUILDSTDERR: from ./xwin.h:4, BUILDSTDERR: from ./xosview.h:10, BUILDSTDERR: from ./meter.h:10, BUILDSTDERR: from ./fieldmeter.h:10, BUILDSTDERR: from ./fieldmeterdecay.h:19, BUILDSTDERR: from ./fieldmetergraph.h:15, BUILDSTDERR: from linux/netmeter.h:10, BUILDSTDERR: from linux/netmeter.cc:10: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 36 and 291 bytes into a destination of size 128 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -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. -MMD -Ilinux/ -c -o linux/raidmeter.o linux/raidmeter.cc g++ -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. -MMD -Ilinux/ -c -o linux/serialmeter.o linux/serialmeter.cc BUILDSTDERR: linux/nfsmeter.cc: In member function 'virtual void NFSDStats::checkevent()': BUILDSTDERR: linux/nfsmeter.cc:96:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (t < 0) BUILDSTDERR: ^~ BUILDSTDERR: linux/nfsmeter.cc:99:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: maxpackets_ = MAX(netcnt, calls) - _lastNetCnt; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: linux/nfsmeter.cc: In member function 'virtual void NFSStats::checkevent()': BUILDSTDERR: linux/nfsmeter.cc:178:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (t < 0) BUILDSTDERR: ^~ BUILDSTDERR: linux/nfsmeter.cc:181:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: maxpackets_ = calls - _lastcalls; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: linux/serialmeter.cc:34:10: fatal error: sys/io.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make: *** [: linux/serialmeter.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.FuAp53 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.FuAp53 (%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/xosview.spec