=> Bootstrap dependency digest>=20211023: found digest-20220214 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 ui/xmftp.c:48:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(int argc, char **argv) ^ ui/xmftp.c:48:1: note: change return type to 'int' void main(int argc, char **argv) ^~~~ int 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 ui/build_menu.o ui/build_menu.c 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] char *menu_title, menu_mnemonic; ^ ui/build_menu.h:18:64: note: previous declaration is here 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] Boolean tear_off; ^ ui/build_menu.h:19:12: note: previous declaration is here Boolean tear_off, MenuItem *items); ^ 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/menu_creation.o ui/menu_creation.c ui/menu_creation.c:325:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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] 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] 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] 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] 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] 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] 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] 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] 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/operations.o ui/operations.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/layout.o ui/layout.c ui/layout.c:192:6: warning: variable 'label' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(toolbar) { ^~~~~~~ ui/layout.c:226:37: note: uninitialized use occurs here XtSetArg(args[n], XmNrightWidget, label); n++; ^~~~~ /Users/pbulk/build/net/xmftp/work/.buildlink/include/X11/Intrinsic.h:1175:57: note: expanded from macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ ui/layout.c:192:3: note: remove the 'if' if its condition is always true if(toolbar) { ^~~~~~~~~~~~ ui/layout.c:187:15: note: initialize the variable 'label' to silence this warning Widget label; ^ = NULL 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 ui/setup_cbs.o ui/setup_cbs.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 program/misc.o program/misc.c 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] tmpnam(listfile); ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("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.") ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #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/unix/implementation.o program/unix/implementation.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 program/ftp.o program/ftp.c In file included from program/ftp.c:12: program/../ftplib/ftplib.h:61:1: error: unknown type name 'GLOBALREF' GLOBALREF int ftplib_debug; ^ program/../ftplib/ftplib.h:62:1: error: unknown type name 'GLOBALREF' GLOBALREF void FtpInit(void); ^ program/../ftplib/ftplib.h:63:1: error: unknown type name 'GLOBALREF' GLOBALREF char *FtpLastResponse(netbuf *nControl); ^ program/../ftplib/ftplib.h:64:1: error: unknown type name 'GLOBALDEF' GLOBALDEF int FtpConnect(char *host, netbuf **nControl, int port); ^ program/../ftplib/ftplib.h:65:1: error: unknown type name 'GLOBALREF' GLOBALREF int FtpLogin(char *user, char *pass, netbuf *nControl); ^ program/../ftplib/ftplib.h:66:1: error: unknown type name 'GLOBALREF' GLOBALREF int FtpSite(char *cmd, netbuf *nControl); ^ program/../ftplib/ftplib.h:67:1: error: unknown type name 'GLOBALREF' GLOBALREF int FtpMkdir(char *path, netbuf *nControl); ^ program/../ftplib/ftplib.h:68:1: error: unknown type name 'GLOBALREF' GLOBALREF int FtpChdir(char *path, netbuf *nControl); ^ program/../ftplib/ftplib.h:69:1: error: unknown type name 'GLOBALREF' GLOBALREF int FtpRmdir(char *path, netbuf *nControl); ^ program/../ftplib/ftplib.h:70:1: error: unknown type name 'GLOBALREF' GLOBALREF int FtpNlst(char *output, char *path, netbuf *nControl); ^ program/../ftplib/ftplib.h:71:1: error: unknown type name 'GLOBALREF' GLOBALREF int FtpDir(char *output, char *path, netbuf *nControl); ^ program/../ftplib/ftplib.h:72:1: error: unknown type name 'GLOBALREF' GLOBALREF int FtpGet(char *output, char *path, char mode, netbuf *nControl); ^ program/../ftplib/ftplib.h:73:1: error: unknown type name 'GLOBALDEF' GLOBALDEF int FtpResume(char *outputfile, char *path, ^ program/../ftplib/ftplib.h:76:1: error: unknown type name 'GLOBALREF' GLOBALREF int FtpPut(char *input, char *path, char mode, netbuf *nControl); ^ program/../ftplib/ftplib.h:77:1: error: unknown type name 'GLOBALREF' GLOBALREF int FtpRename(char *src, char *dst, netbuf *nControl); ^ program/../ftplib/ftplib.h:78:1: error: unknown type name 'GLOBALREF' GLOBALREF int FtpDelete(char *fnm, netbuf *nControl); ^ program/../ftplib/ftplib.h:79:1: error: unknown type name 'GLOBALREF' 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] tmpnam(tempfile); ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("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.") ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ 1 warning and 17 errors generated. gmake: *** [<builtin>: program/ftp.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