+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bbsload-0.2.6nb1/work.log + su pbulk -c '"$@"' make /usr/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 --- all-recursive --- Making all in data --- bbsload.o --- --- Image.o --- c++ -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/usr/pkg/include -DINTERLACE -DGLOBAL_BB=\"/usr/pkg/share/bbtools/bbsload.bb\" -DGLOBAL_NOBB=\"/usr/pkg/share/bbtools/bbsload.nobb\" -pipe -O2 -I/usr/pkg/include -c Image.cc --- bbsload.o --- c++ -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/usr/pkg/include -DINTERLACE -DGLOBAL_BB=\"/usr/pkg/share/bbtools/bbsload.bb\" -DGLOBAL_NOBB=\"/usr/pkg/share/bbtools/bbsload.nobb\" -pipe -O2 -I/usr/pkg/include -c bbsload.cc bbsload.cc: In member function 'virtual void CheckLoad::timeout()': bbsload.cc:72:19: error: aggregate 'CheckLoad::timeout()::uvmexp uvm_stat' has incomplete type and cannot be defined struct uvmexp uvm_stat; ^~~~~~~~ bbsload.cc:90:17: error: 'CTL_KERN' was not declared in this scope ctl_name[0]=CTL_KERN; ^~~~~~~~ bbsload.cc:91:17: error: 'KERN_PROC' was not declared in this scope ctl_name[1]=KERN_PROC; ^~~~~~~~~ bbsload.cc:92:17: error: 'KERN_PROC_ALL' was not declared in this scope ctl_name[2]=KERN_PROC_ALL; ^~~~~~~~~~~~~ bbsload.cc:93:5: error: 'sysctl' was not declared in this scope sysctl(ctl_name, 3, NULL, &ctllen,NULL,0); /* get size of proc table */ ^~~~~~ bbsload.cc:93:5: note: suggested alternative: 'syscall' sysctl(ctl_name, 3, NULL, &ctllen,NULL,0); /* get size of proc table */ ^~~~~~ syscall bbsload.cc:94:47: error: invalid application of 'sizeof' to incomplete type 'CheckLoad::timeout()::kinfo_proc' task.total=ctllen/sizeof(struct kinfo_proc); /* Anybody have an ^ bbsload.cc:107:17: error: 'CTL_VM' was not declared in this scope ctl_name[0]=CTL_VM; ^~~~~~ bbsload.cc:108:17: error: 'VM_UVMEXP' was not declared in this scope ctl_name[1]=VM_UVMEXP; ^~~~~~~~~ bbsload.cc:133:17: error: 'KERN_CP_TIME' was not declared in this scope ctl_name[1]=KERN_CP_TIME; ^~~~~~~~~~~~ bbsload.cc:133:17: note: suggested alternative: 'STA_PPSTIME' ctl_name[1]=KERN_CP_TIME; ^~~~~~~~~~~~ STA_PPSTIME 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] #define BBTOOL "bbsload" ^~~~~~~~~ bbsload.cc:390:14: note: in expansion of macro 'BBTOOL' char *name=BBTOOL; ^~~~~~ version.h:1:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define BBTOOL "bbsload" ^~~~~~~~~ bbsload.cc:393:23: note: in expansion of macro 'BBTOOL' classhints.res_name=BBTOOL; ^~~~~~ bbsload.cc:394:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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-el8-trunk-x86_64/sysutils/bbsload *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/bbsload