WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tvtwm-11nb3 clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c add_window.c add_window.c:300:10: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (short)(int)LookInList(Scr->SqueezeIconL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:1167:5: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &Scr->hilite.width, &Scr->hilite.height, ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/wm/tvtwm/work/.buildlink/include/X11/Xmu/Drawing.h:115:9: note: passing argument to parameter 'width_return' here int *width_return, ^ add_window.c:1167:25: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &Scr->hilite.width, &Scr->hilite.height, ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/wm/tvtwm/work/.buildlink/include/X11/Xmu/Drawing.h:116:9: note: passing argument to parameter 'height_return' here int *height_return, ^ 3 warnings generated. clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c gc.c clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c list.c list.c:110:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] short type; ^ ./list.h:71:52: note: previous declaration is here AddToList(name_list **list_head, char *name, short type, char *ptr); ^ list.c:126:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sizeof(name_list)); ^~~~~~~~~~~~~~~~~ 2 warnings generated. rm -f twm.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -DXLOADIMAGE=\"/opt/pkg/bin/xloadimage\" -DM4_DEFAULT twm.c rm -f parse.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM '-DSYSTEM_INIT_FILE="'/opt/pkg/lib/X11/twm'/system.tvtwmrc"' parse.c parse.c:1577:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] short matchtype; /* match type */ ^ ./twm.h:448:60: note: previous declaration is here void do_squeeze_entry (name_list **list, char *name, short icontype, int justify, ^ parse.c:1610:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sizeof(SqueezeInfo)); ^~~~~~~~~~~~~~~~~~~ parse.c:1716:56: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(stderr, "Can't get %d bytes for arg parm\n", 3 + strlen(def)); ~~ ^~~~~~~~~~~~~~~ %lu parse.c:1890:27: warning: passing 'int [32]' to parameter of type 'gid_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ngids = getgroups(NGIDS, gids); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:456:27: note: passing argument to parameter here int getgroups(int, gid_t []); ^ 4 warnings generated. clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c menus.c menus.c:369:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ProgramName, sizeof(TitleButton)); ^~~~~~~~~~~~~~~~~~~ menus.c:489:24: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] tb->name, NULL, 0, &tb->width, &tb->height, ^~~~~~~~~~ /Users/pbulk/build/wm/tvtwm/work/.buildlink/include/X11/Xmu/Drawing.h:115:9: note: passing argument to parameter 'width_return' here int *width_return, ^ menus.c:489:36: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] tb->name, NULL, 0, &tb->width, &tb->height, ^~~~~~~~~~~ /Users/pbulk/build/wm/tvtwm/work/.buildlink/include/X11/Xmu/Drawing.h:116:9: note: passing argument to parameter 'height_return' here int *height_return, ^ 3 warnings generated. clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c events.c events.c:745:17: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XFocusInEvent *' (aka 'XFocusChangeEvent *') [-Wincompatible-pointer-types] HandleFocusIn(event); ^~~~~ events.c:747:22: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XFocusOutEvent *' (aka 'XFocusChangeEvent *') [-Wincompatible-pointer-types] HandleFocusOut(event); ^~~~~ 2 warnings generated. clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c resize.c clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c util.c util.c:270:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ProgramName, HomeLen + strlen(name) + 2, Home, &name[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:380:32: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] return GetCursorGlyph(name+1, widthp, heightp, shape_mask); ^~~~~~ ./twm.h:406:40: note: passing argument to parameter 'widthp' here Pixmap GetCursorGlyph(char *name, int *widthp, int *heightp, ^ util.c:380:40: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] return GetCursorGlyph(name+1, widthp, heightp, shape_mask); ^~~~~~~ ./twm.h:406:53: note: passing argument to parameter 'heightp' here Pixmap GetCursorGlyph(char *name, int *widthp, int *heightp, ^ util.c:406:28: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] Scr->d_depth, NULL, 0, widthp, heightp, &HotX, &HotY, ^~~~~~ ./twm.h:402:14: note: passing argument to parameter 'widthp' here int *widthp, int *heightp, int *xhotp, int *yhotp, ^ util.c:406:36: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] Scr->d_depth, NULL, 0, widthp, heightp, &HotX, &HotY, ^~~~~~~ ./twm.h:402:27: note: passing argument to parameter 'heightp' here int *widthp, int *heightp, int *xhotp, int *yhotp, ^ util.c:518:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ProgramName, sizeof (StdCmap)); ^~~~~~~~~~~~~~~~ 6 warnings generated. clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c version.c clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c iconmgr.c clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c cursor.c clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c icons.c icons.c:394:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] short icontype; ^ ./twm.h:444:38: note: previous declaration is here void AddIconRegion(char *name, short type, char *geom, Bool iterate, ^ icons.c:433:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] short type; ^ icons.c:128:36: note: previous declaration is here AddOneIconRegion(char *name, short type, int x, int y, int w, int h, ^ 2 warnings generated. rm -f vdt.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -DXLOADIMAGE=\"/opt/pkg/bin/xloadimage\" vdt.c clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c move.c rm -f LocPixmap.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM '-DBITMAPDIR="/opt/pkg/include/X11/bitmaps"' LocPixmap.c clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c regexp.c regexp.c:205:15: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ regexp.c:205:15: note: 'malloc' is a builtin with type 'void *(unsigned long)' 1 warning generated. clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c ssetroot.c ssetroot.c:123:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (!strcmp ("-display", argv[i]) || !strcmp ("-d", argv[i])) { ^ ssetroot.c:123:7: note: include the header <string.h> or explicitly provide a declaration for 'strcmp' ssetroot.c:288:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NOT_ALLOWED ^ // ssetroot.c:103:11: warning: variable 'name' set but not used [-Wunused-but-set-variable] char *name = NULL; ^ 3 warnings generated. rm -f tvtwm._man if test -z "" ; then cd `dirname tvtwm` && ln -s `basename tvtwm.man` `basename tvtwm._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < tvtwm.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >tvtwm._man; fi clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c gram.c gram.y:344:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("\"pixmap\" : \"mask\" syntax no longer supported"); ^ gram.y:634:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("\"pixmap\" : \"mask\" syntax no longer supported"); ^ gram.y:699:12: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("two defaults in menu"); ^ gram.y:714:12: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("two defaults in menu"); ^ gram.y:785:7: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("bad button 0"); ^ gram.y:823:8: warning: implicit declaration of function 'RemoveDQuote' is invalid in C99 [-Wimplicit-function-declaration] RemoveDQuote(ptr); ^ y.tab.c:3099:7: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror (YY_("syntax error")); ^ y.tab.c:3245:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror (YY_("memory exhausted")); ^ gram.y:839:1: error: conflicting types for 'yyerror' yyerror(s) char *s; ^ gram.y:344:4: note: previous implicit declaration is here yyerror("\"pixmap\" : \"mask\" syntax no longer supported"); ^ gram.y:847:1: error: conflicting types for 'RemoveDQuote' RemoveDQuote(str) ^ gram.y:823:8: note: previous implicit declaration is here RemoveDQuote(ptr); ^ 8 warnings and 2 errors generated. *** [gram.o] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/wm/tvtwm/work/tvtwm bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/wm/tvtwm/work/tvtwm *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/wm/tvtwm *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/wm/tvtwm