+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xosview-1.23/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xosview-1.23/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for xosview-1.23 g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o Host.o Host.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wno-write-strings -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o Xrm.o Xrm.cc Xrm.cc: In member function 'const char* Xrm::getResource(const char*) const': Xrm.cc:82:12: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 1024 equals destination size [-Wstringop-truncation] 82 | strncpy(fcn_lower, className(), 1024); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Xrm.cc:89:31: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 89 | snprintf(fcn, 1024, "%s.%s", fcn_lower, rname); | ^ Xrm.cc:89:13: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 89 | snprintf(fcn, 1024, "%s.%s", fcn_lower, rname); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o bitfieldmeter.o bitfieldmeter.cc In member function 'void BitFieldMeter::setfieldlegend(const char*)', inlined from 'BitFieldMeter::BitFieldMeter(XOSView*, int, int, const char*, const char*, const char*, int, int, int)' at bitfieldmeter.cc:39:17: bitfieldmeter.cc:367:10: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 367 | strncpy( fieldLegend_, fieldlegend, len ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bitfieldmeter.cc:365:19: note: length computed here 365 | int len = strlen(fieldlegend); | ~~~~~~^~~~~~~~~~~~~ In member function 'void BitFieldMeter::setfieldlegend(const char*)', inlined from 'void BitFieldMeter::disableMeter()' at bitfieldmeter.cc:48:18: bitfieldmeter.cc:367:10: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 367 | strncpy( fieldLegend_, fieldlegend, len ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bitfieldmeter.cc: In member function 'void BitFieldMeter::setfieldlegend(const char*)': bitfieldmeter.cc:367:10: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 367 | strncpy( fieldLegend_, fieldlegend, len ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bitfieldmeter.cc:365:19: note: length computed here 365 | int len = strlen(fieldlegend); | ~~~~~~^~~~~~~~~~~~~ g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o bitmeter.o bitmeter.cc awk -f defresources.awk Xdefaults > defaultstring.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o defaultstring.o defaultstring.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o fieldmeter.o fieldmeter.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o fieldmeterdecay.o fieldmeterdecay.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o fieldmetergraph.o fieldmetergraph.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o llist.o llist.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o main.o main.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o meter.o meter.cc In member function 'void Meter::title(const char*)', inlined from 'Meter::Meter(XOSView*, const char*, const char*, int, int, int)' at meter.cc:14:15: meter.cc:44:10: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 44 | strncpy( title_, title, len ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ meter.cc:42:19: note: length computed here 42 | int len = strlen(title); | ~~~~~~^~~~~~~ In member function 'void Meter::legend(const char*)', inlined from 'Meter::Meter(XOSView*, const char*, const char*, int, int, int)' at meter.cc:15:16: meter.cc:55:10: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 55 | strncpy( legend_, legend, len ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ meter.cc:53:19: note: length computed here 53 | int len = strlen(legend); | ~~~~~~^~~~~~~~ meter.cc: In member function 'void Meter::title(const char*)': meter.cc:44:10: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 44 | strncpy( title_, title, len ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ meter.cc:42:19: note: length computed here 42 | int len = strlen(title); | ~~~~~~^~~~~~~ meter.cc: In member function 'void Meter::legend(const char*)': meter.cc:55:10: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 55 | strncpy( legend_, legend, len ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ meter.cc:53:19: note: length computed here 53 | int len = strlen(legend); | ~~~~~~^~~~~~~~ g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o xosview.o xosview.cc xosview.cc: In member function 'const char* 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); | ^~ ~~~~ xosview.cc:260:11: note: 'snprintf' output between 9 and 108 bytes into a destination of size 100 260 | snprintf( name, 100, "%s%s", NAME, host); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from xosview.h:10, from xosview.cc:7: In member function 'void XWin::setDisplayName(const char*)', inlined from 'XOSView::XOSView(const char*, int, char**)' at xosview.cc:69:18: xwin.h:143:5: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 256 equals destination size [-Wstringop-truncation] 142 | void setDisplayName (const char* new_display_name) { strncpy | ~~~~~~~ 143 | (display_name_, new_display_name, 256); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xosview.cc: In constructor 'XOSView::XOSView(const char*, 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 member function 'const char* XOSView::winname()', inlined from 'XOSView::XOSView(const char*, int, char**)' at xosview.cc:144:8: xosview.cc:260:11: note: 'snprintf' output between 9 and 108 bytes into a destination of size 100 260 | snprintf( name, 100, "%s%s", NAME, host); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xosview.cc: In constructor 'XOSView::XOSView(const char*, 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 member function 'const char* XOSView::winname()', inlined from 'XOSView::XOSView(const char*, int, char**)' at xosview.cc:145:11: xosview.cc:260:11: note: 'snprintf' output between 9 and 108 bytes into a destination of size 100 260 | snprintf( name, 100, "%s%s", NAME, host); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o xwin.o xwin.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o sunos5/MeterMaker.o sunos5/MeterMaker.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o sunos5/cpumeter.o sunos5/cpumeter.cc sunos5/cpumeter.cc: In static member function 'static const char* CPUMeter::cpuStr(int)': sunos5/cpumeter.cc:98:42: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 98 | snprintf(buffer + 3, 4, "%d", num); | ^~ sunos5/cpumeter.cc:98:41: note: directive argument in the range [0, 2147483647] 98 | snprintf(buffer + 3, 4, "%d", num); | ^~~~ sunos5/cpumeter.cc:98:25: note: 'snprintf' output between 2 and 11 bytes into a destination of size 4 98 | snprintf(buffer + 3, 4, "%d", num); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sunos5/cpumeter.cc: In constructor 'CPUMeter::CPUMeter(XOSView*, kstat_ctl_t*, int)': sunos5/cpumeter.cc:98:42: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 98 | snprintf(buffer + 3, 4, "%d", num); | ^~ In static member function 'static const char* CPUMeter::cpuStr(int)', inlined from 'CPUMeter::CPUMeter(XOSView*, kstat_ctl_t*, int)' at sunos5/cpumeter.cc:13:75: sunos5/cpumeter.cc:98:41: note: directive argument in the range [0, 2147483647] 98 | snprintf(buffer + 3, 4, "%d", num); | ^~~~ sunos5/cpumeter.cc:98:25: note: 'snprintf' output between 2 and 11 bytes into a destination of size 4 98 | snprintf(buffer + 3, 4, "%d", num); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o sunos5/diskmeter.o sunos5/diskmeter.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o sunos5/loadmeter.o sunos5/loadmeter.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o sunos5/memmeter.o sunos5/memmeter.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o sunos5/netmeter.o sunos5/netmeter.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o sunos5/pagemeter.o sunos5/pagemeter.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o sunos5/swapmeter.o sunos5/swapmeter.cc g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include -I/usr/include -Wall -O3 -I. -MMD -Isunos5/ -Wno-write-strings -c -o sunos5/intratemeter.o sunos5/intratemeter.cc g++ -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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 sunos5/MeterMaker.o sunos5/cpumeter.o sunos5/diskmeter.o sunos5/loadmeter.o sunos5/memmeter.o sunos5/netmeter.o sunos5/pagemeter.o sunos5/swapmeter.o sunos5/intratemeter.o -lsocket -lnsl -lX11 -lXpm -lkstat -lnsl -lsocket