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/xosview.spec'], chrootPath='/var/lib/mock/f33-build-494531-64256/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=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/xosview.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1611014400 Wrote: /builddir/build/SRPMS/xosview-1.23-1.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/xosview.spec'], chrootPath='/var/lib/mock/f33-build-494531-64256/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=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/xosview.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1611014400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RXzPiC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xosview-1.23 + /usr/bin/gzip -dc /builddir/build/SOURCES/xosview-1.23.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xosview-1.23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/xosview-1.11-app-def.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.P2rfwz + umask 022 + cd /builddir/build/BUILD + cd xosview-1.23 + make -j4 'OPTFLAGS=-O2 -flto=auto -ffat-lto-objects -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' g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o Host.o Host.cc g++ -Wno-write-strings -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o Xrm.o Xrm.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o bitfieldmeter.o bitfieldmeter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o bitmeter.o bitmeter.cc In file included from /usr/include/string.h:519, from Xrm.cc:9: In function 'strncpy', inlined from 'Xrm::getResource(char const*) const' at Xrm.cc:82:12: /usr/include/bits/string_fortified.h:91:34: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Xrm.cc: In member function 'Xrm::getResource(char const*) const': Xrm.cc:89:31: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 89 | snprintf(fcn, 1024, "%s.%s", fcn_lower, rname); | ^ In file included from /usr/include/stdio.h:866, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from Xrm.h:12, from Xrm.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ awk -f defresources.awk Xdefaults > defaultstring.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o fieldmeter.o fieldmeter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o fieldmeterdecay.o fieldmeterdecay.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o fieldmetergraph.o fieldmetergraph.cc In file included from /usr/include/string.h:519, from xwin.h:5, from xosview.h:10, from meter.h:10, from bitfieldmeter.h:11, from bitfieldmeter.cc:9: In function 'strncpy', inlined from 'BitFieldMeter::setfieldlegend(char const*)' at bitfieldmeter.cc:367:10: /usr/include/bits/string_fortified.h:91:34: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bitfieldmeter.cc: In member function 'BitFieldMeter::setfieldlegend(char const*)': bitfieldmeter.cc:365:19: note: length computed here 365 | int len = strlen(fieldlegend); | ~~~~~~^~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o llist.o llist.cc llist.cc: In member function 'int LList::restore(int, FILE*)': llist.cc:252:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 252 | fread ( &i, sizeof ( int ), 1, fp ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o main.o main.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o meter.o meter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o xosview.o xosview.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o xwin.o xwin.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o sensorfieldmeter.o sensorfieldmeter.cc In file included from /usr/include/string.h:519, from xwin.h:5, from xosview.h:10, from meter.h:10, from meter.cc:7: In function 'strncpy', inlined from 'Meter::title(char const*)' at meter.cc:44:10: /usr/include/bits/string_fortified.h:91:34: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ meter.cc: In member function 'Meter::title(char const*)': meter.cc:42:19: note: length computed here 42 | int len = strlen(title); | ~~~~~~^~~~~~~ In file included from /usr/include/string.h:519, from xwin.h:5, from xosview.h:10, from meter.h:10, from meter.cc:7: In function 'strncpy', inlined from 'Meter::legend(char const*)' at meter.cc:55:10: /usr/include/bits/string_fortified.h:91:34: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ meter.cc: In member function 'Meter::legend(char const*)': meter.cc:53:19: note: length computed here 53 | int len = strlen(legend); | ~~~~~~^~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/MeterMaker.o linux/MeterMaker.cc xosview.cc: In member function 'XOSView::winname()': xosview.cc:260:27: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 92 [-Wformat-truncation=] 260 | snprintf( name, 100, "%s%s", NAME, host); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from Xrm.h:12, from xwin.h:4, from xosview.h:10, from xosview.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 9 and 108 bytes into a destination of size 100 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from xwin.h:5, from xosview.h:10, from xosview.cc:7: In function 'strncpy', inlined from 'XWin::setDisplayName(char const*)' at xwin.h:143:5, inlined from 'XOSView::XOSView(char const*, int, char**)' at xosview.cc:69:18: /usr/include/bits/string_fortified.h:91:34: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xosview.cc: In member function 'XOSView::XOSView(char const*, int, char**)': xosview.cc:260:27: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 92 [-Wformat-truncation=] 260 | snprintf( name, 100, "%s%s", NAME, host); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from Xrm.h:12, from xwin.h:4, from xosview.h:10, from xosview.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 9 and 108 bytes into a destination of size 100 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xosview.cc:260:27: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 92 [-Wformat-truncation=] 260 | snprintf( name, 100, "%s%s", NAME, host); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from Xrm.h:12, from xwin.h:4, from xosview.h:10, from xosview.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 9 and 108 bytes into a destination of size 100 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/btrymeter.o linux/btrymeter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/cpumeter.o linux/cpumeter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/diskmeter.o linux/diskmeter.cc linux/MeterMaker.cc: In member function 'MeterMaker::makeMeters()': linux/MeterMaker.cc:217:31: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 217 | snprintf(s, 16, "lmstemp%d", i); | ^~ linux/MeterMaker.cc:217:23: note: directive argument in the range [1, 2147483647] 217 | snprintf(s, 16, "lmstemp%d", i); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./llist.h:10, from ./pllist.h:10, from linux/MeterMaker.h:10, from linux/MeterMaker.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 9 and 18 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux/MeterMaker.cc:221:31: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 221 | snprintf(s, 16, "lmshigh%d", i); | ^~ linux/MeterMaker.cc:221:23: note: directive argument in the range [1, 2147483647] 221 | snprintf(s, 16, "lmshigh%d", i); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./llist.h:10, from ./pllist.h:10, from linux/MeterMaker.h:10, from linux/MeterMaker.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 9 and 18 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux/MeterMaker.cc:223:32: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 223 | snprintf(s, 16, "lmslow%d", i); | ^ In file included from /usr/include/stdio.h:866, from ./llist.h:10, from ./pllist.h:10, from linux/MeterMaker.h:10, from linux/MeterMaker.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 8 and 17 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux/MeterMaker.cc:225:31: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 225 | snprintf(s, 16, "lmsname%d", i); | ^~ linux/MeterMaker.cc:225:23: note: directive argument in the range [1, 2147483647] 225 | snprintf(s, 16, "lmsname%d", i); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./llist.h:10, from ./pllist.h:10, from linux/MeterMaker.h:10, from linux/MeterMaker.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 9 and 18 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux/MeterMaker.cc:227:36: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 227 | snprintf(s, 16, "lmstempLabel%d", i); | ^~ linux/MeterMaker.cc:227:23: note: directive argument in the range [1, 2147483647] 227 | snprintf(s, 16, "lmstempLabel%d", i); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./llist.h:10, from ./pllist.h:10, from linux/MeterMaker.h:10, from linux/MeterMaker.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 14 and 23 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux/MeterMaker.cc:240:32: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 240 | snprintf(s, 16, "acpitemp%d", i); | ^~ linux/MeterMaker.cc:240:23: note: directive argument in the range [1, 2147483647] 240 | snprintf(s, 16, "acpitemp%d", i); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./llist.h:10, from ./pllist.h:10, from linux/MeterMaker.h:10, from linux/MeterMaker.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 10 and 19 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux/MeterMaker.cc:244:32: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 244 | snprintf(s, 16, "acpihigh%d", i); | ^~ linux/MeterMaker.cc:244:23: note: directive argument in the range [1, 2147483647] 244 | snprintf(s, 16, "acpihigh%d", i); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./llist.h:10, from ./pllist.h:10, from linux/MeterMaker.h:10, from linux/MeterMaker.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 10 and 19 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux/MeterMaker.cc:248:37: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=] 248 | snprintf(s, 16, "acpitempLabel%d", i); | ^~ linux/MeterMaker.cc:248:23: note: directive argument in the range [1, 2147483647] 248 | snprintf(s, 16, "acpitempLabel%d", i); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./llist.h:10, from ./pllist.h:10, from linux/MeterMaker.h:10, from linux/MeterMaker.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 15 and 24 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/intmeter.o linux/intmeter.cc linux/btrymeter.cc: In function 'BtryMeter::has_syspower()': linux/btrymeter.cc:128:31: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 56 [-Wformat-truncation=] 128 | snprintf(dirname, 80, "%s/%s", SYSPOWERDIR, dp->d_name); | ^~ In file included from /usr/include/stdio.h:866, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from ./Xrm.h:12, from ./xwin.h:4, from ./xosview.h:10, from ./meter.h:10, from ./fieldmeter.h:10, from linux/btrymeter.h:10, from linux/btrymeter.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 25 and 280 bytes into a destination of size 80 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux/btrymeter.cc:130:27: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 79 [-Wformat-truncation=] 130 | snprintf(f, 80, "%s/%s", dirname, "/type"); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from ./Xrm.h:12, from ./xwin.h:4, from ./xosview.h:10, from ./meter.h:10, from ./fieldmeter.h:10, from linux/btrymeter.h:10, from linux/btrymeter.cc:7: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 7 and 86 bytes into a destination of size 80 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ./xwin.h:5, from ./xosview.h:10, from ./meter.h:10, from ./fieldmeter.h:10, from ./fieldmeterdecay.h:19, from ./fieldmetergraph.h:15, from linux/cpumeter.h:10, from linux/cpumeter.cc:7: In function 'strncpy', inlined from 'CPUMeter::toUpper(char const*)' at linux/cpumeter.cc:330:10: /usr/include/bits/string_fortified.h:91:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'CPUMeter::toUpper(char const*)' at linux/cpumeter.cc:330:10, inlined from 'CPUMeter::CPUMeter(XOSView*, char const*)' at linux/cpumeter.cc:23:89: /usr/include/bits/string_fortified.h:91:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/intratemeter.o linux/intratemeter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/lmstemp.o linux/lmstemp.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/loadmeter.o linux/loadmeter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/memmeter.o linux/memmeter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/netmeter.o linux/netmeter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/nfsmeter.o linux/nfsmeter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/pagemeter.o linux/pagemeter.cc linux/netmeter.cc: In member function 'NetMeter::getSysStats(unsigned long long&, unsigned long long&)': linux/netmeter.cc:140:33: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 113 [-Wformat-truncation=] 140 | snprintf(filename, 128, "%s/%s/statistics/rx_bytes", SYSCLASSNET, ent->d_name); | ^~ In file included from /usr/include/stdio.h:866, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from ./Xrm.h:12, from ./xwin.h:4, from ./xosview.h:10, from ./meter.h:10, from ./fieldmeter.h:10, from ./fieldmeterdecay.h:19, from ./fieldmetergraph.h:15, from linux/netmeter.h:10, from linux/netmeter.cc:10: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 36 and 291 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux/netmeter.cc:143:33: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 113 [-Wformat-truncation=] 143 | snprintf(filename, 128, "%s/%s/statistics/tx_bytes", SYSCLASSNET, ent->d_name); | ^~ In file included from /usr/include/stdio.h:866, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bits/locale_classes.h:40, from /usr/include/c++/10/bits/ios_base.h:41, from /usr/include/c++/10/ios:42, from /usr/include/c++/10/ostream:38, from /usr/include/c++/10/iostream:39, from ./Xrm.h:12, from ./xwin.h:4, from ./xosview.h:10, from ./meter.h:10, from ./fieldmeter.h:10, from ./fieldmeterdecay.h:19, from ./fieldmetergraph.h:15, from linux/netmeter.h:10, from linux/netmeter.cc:10: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 36 and 291 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/raidmeter.o linux/raidmeter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/serialmeter.o linux/serialmeter.cc linux/nfsmeter.cc: In member function 'virtual void NFSDStats::checkevent()': linux/nfsmeter.cc:96:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 96 | if (t < 0) | ^~ linux/nfsmeter.cc:99:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 99 | maxpackets_ = MAX(netcnt, calls) - _lastNetCnt; | ^~~~~~~~~~~ linux/nfsmeter.cc: In member function 'virtual void NFSStats::checkevent()': linux/nfsmeter.cc:178:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 178 | if (t < 0) | ^~ linux/nfsmeter.cc:181:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 181 | maxpackets_ = calls - _lastcalls; | ^~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/swapmeter.o linux/swapmeter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/wirelessmeter.o linux/wirelessmeter.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o linux/acpitemp.o linux/acpitemp.cc g++ -O2 -flto=auto -ffat-lto-objects -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 -I. -MMD -Ilinux/ -c -o defaultstring.o defaultstring.cc In file included from /usr/include/string.h:519, from ./xwin.h:5, from ./xosview.h:10, from ./meter.h:10, from ./fieldmeter.h:10, from linux/acpitemp.h:15, from linux/acpitemp.cc:12: In function 'strncpy', inlined from 'ACPITemp::checkacpi(char const*, char const*)' at linux/acpitemp.cc:69:12: /usr/include/bits/string_fortified.h:91:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ACPITemp::checkacpi(char const*, char const*)' at linux/acpitemp.cc:70:12: /usr/include/bits/string_fortified.h:91:34: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o xosview Host.o Xrm.o bitfieldmeter.o bitmeter.o defaultstring.o fieldmeter.o fieldmeterdecay.o fieldmetergraph.o llist.o main.o meter.o xosview.o xwin.o sensorfieldmeter.o linux/MeterMaker.o linux/btrymeter.o linux/cpumeter.o linux/diskmeter.o linux/intmeter.o linux/intratemeter.o linux/lmstemp.o linux/loadmeter.o linux/memmeter.o linux/netmeter.o linux/nfsmeter.o linux/pagemeter.o linux/raidmeter.o linux/serialmeter.o linux/swapmeter.o linux/wirelessmeter.o linux/acpitemp.o -lX11 -lXpm -lm Xrm.cc:16:14: warning: 'defaultXResourceString' violates the C++ One Definition Rule [-Wodr] 16 | extern char *defaultXResourceString; | ^ defaultstring.cc:8:13: note: type 'const char' should match type 'char' 8 | const char *defaultXResourceString = "xosview*captions: True\n\ | ^ defaultstring.cc:8:13: note: 'defaultXResourceString' was previously declared here + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ukyT9y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64 + cd xosview-1.23 + make install PREFIX=/builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr 'INSTALL=install -p' install -p -d /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/bin install -p -d /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/man/man1 install -p -d /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/applications install -p -d /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/icons/hicolor/32x32/apps install -p -m 755 xosview /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/bin/xosview install -p -m 644 xosview.1 /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/man/man1/xosview.1 install -p -m 644 xosview.desktop /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/applications install -p -m 644 xosview.png /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/icons/hicolor/32x32/apps + install -p -m 0644 -D Xdefaults /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/X11/app-defaults/XOsview + desktop-file-validate /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/applications/xosview.desktop + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.23-1.fc33 --unique-debug-suffix -1.23-1.fc33.riscv64 --unique-debug-src-base xosview-1.23-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xosview-1.23 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/bin/xosview extracting debug info from /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/bin/xosview original debug info size: 4920kB, size after compression: 4340kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 486 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: xosview-1.23-1.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kHyzjy + umask 022 + cd /builddir/build/BUILD + cd xosview-1.23 + DOCDIR=/builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/doc/xosview + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/doc/xosview + cp -pr CHANGES /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/doc/xosview + cp -pr README /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/doc/xosview + cp -pr README.linux /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/doc/xosview + cp -pr TODO /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/doc/xosview + cp -pr Xdefaults /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/doc/xosview + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.pcSLGy + umask 022 + cd /builddir/build/BUILD + cd xosview-1.23 + LICENSEDIR=/builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/licenses/xosview + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/licenses/xosview + cp -pr COPYING /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/licenses/xosview + cp -pr COPYING.GPL /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64/usr/share/licenses/xosview + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(xosview.desktop) xosview = 1.23-1.fc33 xosview(riscv-64) = 1.23-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXpm.so.4()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: xosview-debugsource-1.23-1.fc33.riscv64 Provides: xosview-debugsource = 1.23-1.fc33 xosview-debugsource(riscv-64) = 1.23-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xosview-debuginfo-1.23-1.fc33.riscv64 Provides: debuginfo(build-id) = 3b6da3ead694cbbaf2c8cb0e5f6ed1203c67bbb7 xosview-debuginfo = 1.23-1.fc33 xosview-debuginfo(riscv-64) = 1.23-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xosview-debugsource(riscv-64) = 1.23-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64 Wrote: /builddir/build/RPMS/xosview-1.23-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xosview-debugsource-1.23-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xosview-debuginfo-1.23-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KbC5LA + umask 022 + cd /builddir/build/BUILD + cd xosview-1.23 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xosview-1.23-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0