=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/xmftp", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xmftp-1.0.4nb4 clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o ui/xmftp.o ui/xmftp.c clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o ui/build_menu.o ui/build_menu.c ui/build_menu.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | BuildMenu(parent, menu_type, menu_title, menu_mnemonic, tear_off, items) | ^ ui/build_menu.c:45:19: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] 45 | char *menu_title, menu_mnemonic; | ^ ui/build_menu.h:18:64: note: previous declaration is here 18 | BuildMenu(Widget parent, int menu_type, char *menu_title, char menu_mnemonic, | ^ ui/build_menu.c:46:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Boolean' (aka 'char') declared in a previous prototype [-Wknr-promoted-parameter] 46 | Boolean tear_off; | ^ ui/build_menu.h:19:12: note: previous declaration is here 19 | Boolean tear_off, MenuItem *items); | ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o ui/menu_creation.o ui/menu_creation.c In file included from ui/xmftp.c:12: In file included from ui/xmftp.h:9: ui/../common/common.h:22:9: warning: 'LINE_MAX' macro redefined [-Wmacro-redefined] 22 | #define LINE_MAX 255 | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/syslimits.h:114:9: note: previous definition is here 114 | #define LINE_MAX 2048 /* max bytes in an input line */ | ^ ui/xmftp.c:48:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 48 | void main(int argc, char **argv) | ^ ui/xmftp.c:48:1: note: change return type to 'int' 48 | void main(int argc, char **argv) | ^~~~ | int 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o ui/operations.o ui/operations.c ui/menu_creation.c:325:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 325 | int item = (int) client_data; | ^~~~~~~~~~~~~~~~~ ui/menu_creation.c:350:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 350 | int item = (int) client_data; | ^~~~~~~~~~~~~~~~~ ui/menu_creation.c:376:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 376 | int item = (int) client_data; | ^~~~~~~~~~~~~~~~~ ui/menu_creation.c:393:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 393 | int item = (int) client_data; | ^~~~~~~~~~~~~~~~~ ui/menu_creation.c:419:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 419 | int item = (int) client_data; | ^~~~~~~~~~~~~~~~~ ui/menu_creation.c:432:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 432 | int item = (int) client_data; | ^~~~~~~~~~~~~~~~~ ui/menu_creation.c:457:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 457 | int item = (int) client_data; | ^~~~~~~~~~~~~~~~~ ui/menu_creation.c:484:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 484 | int item = (int) client_data; | ^~~~~~~~~~~~~~~~~ ui/menu_creation.c:511:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 511 | int item = (int) client_data; | ^~~~~~~~~~~~~~~~~ 9 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o ui/layout.o ui/layout.c clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o ui/setup_cbs.o ui/setup_cbs.c ui/layout.c:192:6: warning: variable 'label' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 192 | if(toolbar) { | ^~~~~~~ ui/layout.c:226:37: note: uninitialized use occurs here 226 | XtSetArg(args[n], XmNrightWidget, label); n++; | ^~~~~ /var/tmp/work/net/xmftp/work/.buildlink/include/X11/Intrinsic.h:1170:57: note: expanded from macro 'XtSetArg' 1170 | ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) | ^ ui/layout.c:192:3: note: remove the 'if' if its condition is always true 192 | if(toolbar) { | ^~~~~~~~~~~ ui/layout.c:187:15: note: initialize the variable 'label' to silence this warning 187 | Widget label; | ^ | = NULL clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o program/misc.o program/misc.c 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o program/unix/implementation.o program/unix/implementation.c In file included from program/unix/implementation.c:16: In file included from program/unix/implementation.h:12: program/unix/../../common/common.h:22:9: warning: 'LINE_MAX' macro redefined [-Wmacro-redefined] 22 | #define LINE_MAX 255 | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/syslimits.h:114:9: note: program/misc.c:240:3: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] previous definition is here 114 | #d e240f | i n et mLpInNaEm(listfile); | ^ _MAX /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h : 287:1: note: 'tmpnam' has been explicitly marked deprecated here 2 02874 | 8 /* ma_x b_ydtees in apnrecated_msg(" Thiinputs lfiunnec tion is prov*id/ | ^ ed for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(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))) | ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o program/ftp.o program/ftp.c 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o ftplib/ftplib.o ftplib/ftplib.c In file included from program/ftp.c:12: program/../ftplib/ftplib.h:61:1: error: unknown type name 'GLOBALREF' 61 | GLOBALREF int ftplib_debug; | ^ program/../ftplib/ftplib.h:62:1: error: unknown type name 'GLOBALREF' 62 | GLOBALREF void FtpInit(void); | ^ program/../ftplib/ftplib.h:63:1: error: unknown type name 'GLOBALREF' 63 | GLOBALREF char *FtpLastResponse(netbuf *nControl); | ^ program/../ftplib/ftplib.h:64:1: error: unknown type name 'GLOBALDEF' 64 | GLOBALDEF int FtpConnect(char *host, netbuf **nControl, int port); | ^ program/../ftplib/ftplib.h:65:1: error: unknown type name 'GLOBALREF' 65 | GLOBALREF int FtpLogin(char *user, char *pass, netbuf *nControl); | ^ program/../ftplib/ftplib.h:66:1: error: unknown type name 'GLOBALREF' 66 | GLOBALREF int FtpSite(char *cmd, netbuf *nControl); | ^ program/../ftplib/ftplib.h:67:1: error: unknown type name 'GLOBALREF' 67 | GLOBALREF int FtpMkdir(char *path, netbuf *nControl); | ^ program/../ftplib/ftplib.h:68:1: error: unknown type name 'GLOBALREF' 68 | GLOBALREF int FtpChdir(char *path, netbuf *nControl); | ^ program/../ftplib/ftplib.h:69:1: error: unknown type name 'GLOBALREF' 69 | GLOBALREF int FtpRmdir(char *path, netbuf *nControl); | ^ program/../ftplib/ftplib.h:70:1: error: unknown type name 'GLOBALREF' 70 | GLOBALREF int FtpNlst(char *output, char *path, netbuf *nControl); | ^ program/../ftplib/ftplib.h:71:1: error: unknown type name 'GLOBALREF' 71 | GLOBALREF int FtpDir(char *output, char *path, netbuf *nControl); | ^ program/../ftplib/ftplib.h:72:1: error: unknown type name 'GLOBALREF' 72 | GLOBALREF int FtpGet(char *output, char *path, char mode, netbuf *nControl); | ^ program/../ftplib/ftplib.h:73:1: error: unknown type name 'GLOBALDEF' 73 | GLOBALDEF int FtpResume(char *outputfile, char *path, | ^ In file included from ftplib/ftplib.c:58: ftplib/ftplib.h:61:1: error: unknown type name 'GLOBALREF' 61 | GLOBALREF int ftplib_debug; | ^ program/../ftplib/ftplib.h:76:1: error: unknown type name 'GLOBALREF' 76 | GLOBALREF int FtpPut(char *input, char *path, char mode, netbuf *nControl); | ^ ftplib/ftplib.h:62:1: error: unknown type name 'GLOBALREF' 62 | GLOBALREF void FtpInit(void); | ^ program/../ftplib/ftplib.h:77:1: error: unknown type name 'GLOBALREF' 77 | GLOBALREF int FtpRename(char *src, char *dst, netbuf *nControl); | ^ ftplib/ftplib.h:63:1: error: unknown type name 'GLOBALREF' 63 | GLOBALREF char *FtpLastResponse(netbuf *nControl); | ^ program/../ftplib/ftplib.h:78:1: error: unknown type name 'GLOBALREF' 78 | GLOBALREF int FtpDelete(char *fnm, netbuf *nControl); | ^ ftplib/ftplib.h:64:1: error: unknown type name 'GLOBALDEF' 64 | GLOBALDEF int FtpConnect(char *host, netbuf **nControl, int port); | ^ program/../ftplib/ftplib.h:79:1: error: unknown type name 'GLOBALREF' 79 | GLOBALREF void FtpQuit(netbuf *nControl); | ^ program/ftp.c:172:5: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 172 | tmpnam(tempfile); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:287:1: note: ftplib/ftplib.h'tmpnam' has been explicitly marked deprecated here 287 | __dep:65:r1e:c ated_error: munknown type name 'GLOBALREF' s 65 | GLOBALREF int Fg("This function is provided for compatibility retasons only. pLogin(char *user, char *pass Due to secur, netbuf *nConittryo lc)o;n c e| r^n s inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(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))) | ^ 1 warning and 17 errors generated. ftplib/ftplib.h:66:1: error: unknown type name 'GLOBALREF' 66 | GLOBALREF int FtpSite(char *cmd, netbuf *nControl); | ^ ftplib/ftplib.h:67:1: error: unknown type name 'GLOBALREF' 67 | GLOBALREF int FtpMkdir(char *path, netbuf *nControl); | ^ ftplib/ftplib.h:68:1: error: unknown type name 'GLOBALREF' 68 | GLOBALREF int FtpChdir(char *path, netbuf *nControl); | ^ gmake: *** [: program/ftp.o] Error 1 gmake: *** Waiting for unfinished jobs.... ftplib/ftplib.h:69:1: error: unknown type name 'GLOBALREF' 69 | GLOBALREF int FtpRmdir(char *path, netbuf *nControl); | ^ ftplib/ftplib.h:70:1: error: unknown type name 'GLOBALREF' 70 | GLOBALREF int FtpNlst(char *output, char *path, netbuf *nControl); | ^ ftplib/ftplib.h:71:1: error: unknown type name 'GLOBALREF' 71 | GLOBALREF int FtpDir(char *output, char *path, netbuf *nControl); | ^ ftplib/ftplib.h:72:1: error: unknown type name 'GLOBALREF' 72 | GLOBALREF int FtpGet(char *output, char *path, char mode, netbuf *nControl); | ^ ftplib/ftplib.h:73:1: error: unknown type name 'GLOBALDEF' 73 | GLOBALDEF int FtpResume(char *outputfile, char *path, | ^ ftplib/ftplib.h:76:1: error: unknown type name 'GLOBALREF' 76 | GLOBALREF int FtpPut(char *input, char *path, char mode, netbuf *nControl); | ^ ftplib/ftplib.h:77:1: error: unknown type name 'GLOBALREF' 77 | GLOBALREF int FtpRename(char *src, char *dst, netbuf *nControl); | ^ ftplib/ftplib.h:78:1: error: unknown type name 'GLOBALREF' 78 | GLOBALREF int FtpDelete(char *fnm, netbuf *nControl); | ^ ftplib/ftplib.h:79:1: error: unknown type name 'GLOBALREF' 79 | GLOBALREF void FtpQuit(netbuf *nControl); | ^ ftplib/ftplib.c:94:1: error: unknown type name 'GLOBALDEF' 94 | GLOBALDEF int ftplib_debug = 0; | ^ ftplib/ftplib.c:173:15: warning: call to undeclared function 'net_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | if ((x = net_read(ctl->handle,ctl->cput,ctl->cleft)) == -1) | ^ ftplib/ftplib.c:200:5: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | alarm(NET_TIMEOUT); | ^ ftplib/ftplib.c:239:1: error: unknown type name 'GLOBALDEF' 239 | GLOBALDEF void FtpInit(void) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. gmake: *** [: ftplib/ftplib.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/xmftp *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/xmftp