=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bbsload", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] 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 --- --- bbsload.o --- clang++ -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 -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 -Os -I/opt/pkg/include -c bbsload.cc --- Image.o --- clang++ -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 -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 -Os -I/opt/pkg/include -c Image.cc Image.cc:157:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 157 | register unsigned int i = 0; | ^~~~~~~~ Image.cc:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:688:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 688 | register unsigned char r, g, b, rr ,gg ,bb; | ^~~~~~~~ Image.cc:688:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 688 | register unsigned char r, g, b, rr ,gg ,bb; | ^~~~~~~~ Image.cc:688:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 688 | register unsigned char r, g, b, rr ,gg ,bb; | ^~~~~~~~ Image.cc:688:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 688 | register unsigned char r, g, b, rr ,gg ,bb; | ^~~~~~~~ Image.cc:688:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 688 | register unsigned char r, g, b, rr ,gg ,bb; | ^~~~~~~~ Image.cc:688:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 688 | register unsigned char r, g, b, rr ,gg ,bb; | ^~~~~~~~ Image.cc:689:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 689 | register unsigned int w = width, h = height - 1, wh = w * h; | ^~~~~~~~ Image.cc:689:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 689 | register unsigned int w = width, h = height - 1, wh = w * h; | ^~~~~~~~ Image.cc:689:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 689 | register unsigned int w = width, h = height - 1, wh = w * h; | ^~~~~~~~ Image.cc:902:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 902 | register unsigned int i, j, wh = (width * height) - 1; | ^~~~~~~~ Image.cc:902:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 902 | register unsigned int i, j, wh = (width * height) - 1; | ^~~~~~~~ Image.cc:902:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 902 | register unsigned int i, j, wh = (width * height) - 1; | ^~~~~~~~ Image.cc:932:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 932 | register unsigned int x, y; | ^~~~~~~~ Image.cc:932:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 932 | register unsigned int x, y; | ^~~~~~~~ Image.cc:1036:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1036 | register unsigned int x, y; | ^~~~~~~~ Image.cc:1036:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1036 | register unsigned int x, y; | ^~~~~~~~ Image.cc:1135:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1135 | register unsigned int y; | ^~~~~~~~ Image.cc:1220:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1220 | register unsigned int x, y; | ^~~~~~~~ Image.cc:1220:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1220 | register unsigned int x, y; | ^~~~~~~~ Image.cc:1336:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1336 | register unsigned int x, y; | ^~~~~~~~ Image.cc:1336:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1336 | register unsigned int x, y; | ^~~~~~~~ Image.cc:1454:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1454 | register unsigned int x, y; | ^~~~~~~~ Image.cc:1454:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1454 | register unsigned int x, y; | ^~~~~~~~ Image.cc:1581:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1581 | register unsigned int x, y; | ^~~~~~~~ Image.cc:1581:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1581 | register unsigned int x, y; | ^~~~~~~~ Image.cc:1698:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1698 | register unsigned int x, y; | ^~~~~~~~ Image.cc:1698:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1698 | register unsigned int x, y; | ^~~~~~~~ Image.cc:2162:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2162 | } else { | ^ Image.cc:2441:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2441 | else | ^ --- bbsload.o --- bbsload.cc:72:19: error: variable has incomplete type 'struct uvmexp' 72 | struct uvmexp uvm_stat; | ^ bbsload.cc:72:12: note: forward declaration of 'uvmexp' 72 | struct uvmexp uvm_stat; | ^ bbsload.cc:90:17: error: use of undeclared identifier 'CTL_KERN' 90 | ctl_name[0]=CTL_KERN; | ^ bbsload.cc:91:17: error: use of undeclared identifier 'KERN_PROC' 91 | ctl_name[1]=KERN_PROC; | ^ bbsload.cc:92:17: error: use of undeclared identifier 'KERN_PROC_ALL' 92 | ctl_name[2]=KERN_PROC_ALL; | ^ bbsload.cc:93:5: error: use of undeclared identifier 'sysctl' 93 | sysctl(ctl_name, 3, NULL, &ctllen,NULL,0); /* get size of proc table */ | ^ bbsload.cc:94:23: error: invalid application of 'sizeof' to an incomplete type 'struct kinfo_proc' 94 | task.total=ctllen/sizeof(struct kinfo_proc); /* Anybody have an | ^ ~~~~~~~~~~~~~~~~~~~ bbsload.cc:94:37: note: forward declaration of 'kinfo_proc' 94 | task.total=ctllen/sizeof(struct kinfo_proc); /* Anybody have an | ^ bbsload.cc:107:17: error: use of undeclared identifier 'CTL_VM' 107 | ctl_name[0]=CTL_VM; | ^ bbsload.cc:108:17: error: use of undeclared identifier 'VM_UVMEXP' 108 | ctl_name[1]=VM_UVMEXP; | ^ bbsload.cc:132:17: error: use of undeclared identifier 'CTL_KERN' 132 | ctl_name[0]=CTL_KERN; | ^ bbsload.cc:133:17: error: use of undeclared identifier 'KERN_CP_TIME' 133 | ctl_name[1]=KERN_CP_TIME; | ^ bbsload.cc:135:8: error: use of undeclared identifier 'sysctl' 135 | if(sysctl(ctl_name,2,cputimes,&ctllen,NULL,0)) | ^ bbsload.cc:390:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 390 | char *name=BBTOOL; | ^ ./version.h:1:16: note: expanded from macro 'BBTOOL' 1 | #define BBTOOL "bbsload" | ^ bbsload.cc:393:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 393 | classhints.res_name=BBTOOL; | ^ ./version.h:1:16: note: expanded from macro 'BBTOOL' 1 | #define BBTOOL "bbsload" | ^ bbsload.cc:394:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 394 | classhints.res_class="bbtools"; | ^ bbsload.cc:581:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 581 | sprintf(t, "/"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ bbsload.cc:591:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 591 | sprintf(t,"%1.2f",level); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ bbsload.cc:668:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 668 | sprintf(t, "%02d", check_load->getTask().running); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ bbsload.cc:682:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 682 | sprintf(t, "/"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ bbsload.cc:695:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 695 | sprintf(t, "%02d", check_load->getTask().total); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ bbsload.cc:841:15: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 841 | sprintf(position,"+%i+%i",frame.x,frame.y); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 9 warnings and 11 errors generated. *** [bbsload.o] Error code 1 bmake[1]: stopped making "all-am" in /var/tmp/work/sysutils/bbsload/work/bbsload-0.2.6 --- Image.o --- 42 warnings generated. bmake[1]: 1 error bmake[1]: stopped making "all-am" in /var/tmp/work/sysutils/bbsload/work/bbsload-0.2.6 *** [all-recursive] Error code 1 bmake: stopped making "all" in /var/tmp/work/sysutils/bbsload/work/bbsload-0.2.6 bmake: 1 error bmake: stopped making "all" in /var/tmp/work/sysutils/bbsload/work/bbsload-0.2.6 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bbsload *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/bbsload