+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bbsload-0.2.6nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bbsload-0.2.6nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for bbsload-0.2.6nb1 Making all in data g++ -DPACKAGE=\"bbsload\" -DVERSION=\"0.2.6\" -DSTDC_HEADERS=1 -DHAVE_CTYPE_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_STDIO_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SETLOCALE=1 -DHAVE_SIGACTION=1 -DHAVE_STRFTIME=1 -I. -I. -I/opt/pkg/include -DINTERLACE -DGLOBAL_BB=\"/opt/pkg/share/bbtools/bbsload.bb\" -DGLOBAL_NOBB=\"/opt/pkg/share/bbtools/bbsload.nobb\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c bbsload.cc bbsload.cc: In member function 'virtual void CheckLoad::timeout()': bbsload.cc:59:12: error: 'u_int64_t' does not name a type; did you mean 'uint64_t'? 59 | static u_int64_t old_user=0, old_nice=0, old_system=0, | ^~~~~~~~~ | uint64_t bbsload.cc:61:5: error: 'u_int64_t' was not declared in this scope; did you mean 'uint64_t'? 61 | u_int64_t user,nice,system,idle,total; | ^~~~~~~~~ | uint64_t bbsload.cc:65:14: error: expected ';' before 'cputimes' 65 | u_int64_t cputimes[5]; | ^~~~~~~~~ | ; bbsload.cc:72:19: error: aggregate 'CheckLoad::timeout()::uvmexp uvm_stat' has incomplete type and cannot be defined 72 | struct uvmexp uvm_stat; | ^~~~~~~~ bbsload.cc:83:5: error: 'getloadavg' was not declared in this scope; did you mean 'getLoad'? 83 | getloadavg(lavg,3); | ^~~~~~~~~~ | getLoad bbsload.cc:90:17: error: 'CTL_KERN' was not declared in this scope 90 | ctl_name[0]=CTL_KERN; | ^~~~~~~~ bbsload.cc:91:17: error: 'KERN_PROC' was not declared in this scope; did you mean 'SN_PROC'? 91 | ctl_name[1]=KERN_PROC; | ^~~~~~~~~ | SN_PROC bbsload.cc:92:17: error: 'KERN_PROC_ALL' was not declared in this scope 92 | ctl_name[2]=KERN_PROC_ALL; | ^~~~~~~~~~~~~ bbsload.cc:93:5: error: 'sysctl' was not declared in this scope 93 | sysctl(ctl_name, 3, NULL, &ctllen,NULL,0); /* get size of proc table */ | ^~~~~~ bbsload.cc:94:23: error: invalid application of 'sizeof' to incomplete type 'CheckLoad::timeout()::kinfo_proc' 94 | task.total=ctllen/sizeof(struct kinfo_proc); /* Anybody have an | ^~~~~~~~~~~~~~~~~~~~~~~~~ bbsload.cc:107:17: error: 'CTL_VM' was not declared in this scope 107 | ctl_name[0]=CTL_VM; | ^~~~~~ bbsload.cc:108:17: error: 'VM_UVMEXP' was not declared in this scope 108 | ctl_name[1]=VM_UVMEXP; | ^~~~~~~~~ bbsload.cc:133:17: error: 'KERN_CP_TIME' was not declared in this scope 133 | ctl_name[1]=KERN_CP_TIME; | ^~~~~~~~~~~~ bbsload.cc:134:19: error: 'cputimes' was not declared in this scope; did you mean 'utimes'? 134 | ctllen=sizeof(cputimes); | ^~~~~~~~ | utimes bbsload.cc:137:5: error: 'user' was not declared in this scope 137 | user=cputimes[0]; | ^~~~ bbsload.cc:141:5: error: 'idle' was not declared in this scope 141 | idle=cputimes[4]; | ^~~~ bbsload.cc:143:5: error: 'total' was not declared in this scope 143 | total=(user-old_user)+(nice-old_nice)+ | ^~~~~ bbsload.cc:143:17: error: 'old_user' was not declared in this scope 143 | total=(user-old_user)+(nice-old_nice)+ | ^~~~~~~~ bbsload.cc:143:33: error: 'old_nice' was not declared in this scope 143 | total=(user-old_user)+(nice-old_nice)+ | ^~~~~~~~ bbsload.cc:144:13: error: 'old_system' was not declared in this scope; did you mean 'system'? 144 | (system-old_system)+(idle-old_idle); | ^~~~~~~~~~ | system bbsload.cc:144:31: error: 'old_idle' was not declared in this scope 144 | (system-old_system)+(idle-old_idle); | ^~~~~~~~ In file included from main.hh:22, from Basewindow.hh:39, from bbsload.hh:25, from bbsload.cc:22: bbsload.cc: In member function 'void ToolWindow::MakeWindow(bool)': version.h:1:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1 | #define BBTOOL "bbsload" | ^~~~~~~~~ bbsload.cc:390:14: note: in expansion of macro 'BBTOOL' 390 | char *name=BBTOOL; | ^~~~~~ version.h:1:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1 | #define BBTOOL "bbsload" | ^~~~~~~~~ bbsload.cc:393:23: note: in expansion of macro 'BBTOOL' 393 | classhints.res_name=BBTOOL; | ^~~~~~ bbsload.cc:394:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 394 | classhints.res_class="bbtools"; | ^~~~~~~~~ *** [bbsload.o] Error code 1 bmake[1]: stopped in /home/pbulk/build/sysutils/bbsload/work/bbsload-0.2.6 1 error bmake[1]: stopped in /home/pbulk/build/sysutils/bbsload/work/bbsload-0.2.6 *** [all-recursive] Error code 1 bmake: stopped in /home/pbulk/build/sysutils/bbsload/work/bbsload-0.2.6 1 error bmake: stopped in /home/pbulk/build/sysutils/bbsload/work/bbsload-0.2.6 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/bbsload *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/bbsload