| ^~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make: *** [: linux/serialmeter.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ./xwin.h:5, BUILDSTDERR: from ./xosview.h:10, BUILDSTDERR: from ./meter.h:10, BUILDSTDERR: from ./bitfieldmeter.h:11, BUILDSTDERR: from linux/raidmeter.h:10, BUILDSTDERR: from linux/raidmeter.cc:8: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'int RAIDMeter::find1(const char*, const char*, int)' at linux/raidmeter.cc:78:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 80 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'int RAIDMeter::find2(const char*, const char*, int, int)' at linux/raidmeter.cc:90:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 80 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. -MMD -Ilinux/ -c -o linux/netmeter.o linux/netmeter.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/nfsmeter.o linux/nfsmeter.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/pagemeter.o linux/pagemeter.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/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 RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.CPafrc (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.CPafrc (%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/xosview.spec