+ 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/xquote-2.6.10nb4/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xquote-2.6.10nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xquote-2.6.10nb4 --- about.o --- --- color.o --- --- about.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c about.c --- color.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c color.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from color.c:35: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- about.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from about.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- fileXq.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c fileXq.c In file included from /usr/include/errno.h:25, from fileXq.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- help.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c help.c --- fileXq.o --- fileXq.c: In function 'fileCB': fileXq.c:102:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int menu_pos = (int)client; ^ fileXq.c:121:3: warning: implicit declaration of function 'workNet' [-Wimplicit-function-declaration] workNet(7); ^~~~~~~ fileXq.c:209:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit (0); ^~~~ fileXq.c:209:3: warning: incompatible implicit declaration of built-in function 'exit' fileXq.c:209:3: note: include '<stdlib.h>' or provide a declaration of 'exit' fileXq.c:44:1: +#include <stdlib.h> fileXq.c:209:3: exit (0); ^~~~ --- help.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from help.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- optdetail.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c optdetail.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from optdetail.c:35: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- option.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c option.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from option.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- optdetail.o --- optdetail.c: In function 'popupDetailCB': optdetail.c:195:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)menu_pos) { ^ optdetail.c:248:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menu_pos, CurrentRow); ^ optdetail.c: In function 'detailUpdateMainWindow': optdetail.c:514:3: warning: implicit declaration of function 'write_lastupdate_line'; did you mean 'write_status_line'? [-Wimplicit-function-declaration] write_lastupdate_line(line); ^~~~~~~~~~~~~~~~~~~~~ write_status_line optdetail.c: In function 'procDetail': optdetail.c:618:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)which) { ^ optdetail.c: In function 'createDetailDialog': optdetail.c:718:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer)num); ^ optdetail.c: In function 'WebServerOptionCB': optdetail.c:821:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int ix = (int)client; /* This is the line number in the menu */ ^ optdetail.c: In function 'TickerTypeOptionCB': optdetail.c:836:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int ix = (int)client; /* This is the line number in the menu */ ^ optdetail.c: In function 'PlaceTickerTypeOption': optdetail.c:889:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] XtAddCallback(w, XmNactivateCallback, TickerTypeOptionCB, (XtPointer)i); ^ optdetail.c: In function 'CreateWebserverOption': optdetail.c:918:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] XtAddCallback(w, XmNactivateCallback, WebServerOptionCB, (XtPointer)i); ^ optdetail.c: In function 'LeaveCellCB': optdetail.c:1032:3: warning: implicit declaration of function 'tickSetName'; did you mean 'tickGetName'? [-Wimplicit-function-declaration] tickSetName(cbp->row, cbp->value); ^~~~~~~~~~~ tickGetName --- option.o --- option.c: In function 'popupCB': option.c:244:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fileCB (w, (XtPointer)menu_pos, call_data); ^ option.c:247:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] case 12: aboutCB (w, (XtPointer)menu_pos, call_data); ^ option.c:250:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] case 13: helpCB (w, (XtPointer)menu_pos, call_data); ^ --- optnet.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c optnet.c In file included from /usr/include/sys/types.h:25, from optnet.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ optnet.c: In function 'workNet': optnet.c:457:7: warning: implicit declaration of function 'set_current_time'; did you mean 'CurrentTime'? [-Wimplicit-function-declaration] set_current_time(); ^~~~~~~~~~~~~~~~ CurrentTime optnet.c: In function 'procNet': optnet.c:626:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int) which) { ^ optnet.c: In function 'createNetDialog': optnet.c:808:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtCallbackProc) procNet, (XtPointer)num ); ^ --- opttick.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c opttick.c --- optupdate.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c optupdate.c --- opttick.o --- In file included from /usr/include/ctype.h:25, from opttick.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- optupdate.o --- In file included from /usr/include/sys/types.h:25, from optupdate.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- opttick.o --- opttick.c: In function 'tickGetItem': opttick.c:116:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)item, serv, type); ^ opttick.c: At top level: opttick.c:294:1: warning: return type defaults to 'int' [-Wimplicit-int] tickSetName(int which, char *name) ^~~~~~~~~~~ opttick.c: In function 'textTick': opttick.c:554:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int otherW = (int)client_data; ^ opttick.c: In function 'tickTypeCB': opttick.c:608:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)client_data != curType) { ^ opttick.c:609:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] curType = (int)client_data; ^ opttick.c: In function 'tickServerCB': opttick.c:618:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)client_data != curServer) { ^ opttick.c:621:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] curServer = (int)client_data; ^ opttick.c: In function 'tickMakeTypeMenu': opttick.c:653:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] XtAddCallback (button, XmNactivateCallback, tickTypeCB, (XtPointer)i); ^ opttick.c:660:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] XtAddCallback (button, XmNactivateCallback, tickServerCB, (XtPointer)i); ^ opttick.c: In function 'createTickDialog': opttick.c:799:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtCallbackProc) procTick, (XtPointer)num); ^ --- optupdate.o --- optupdate.c: In function 'timeUpdate': optupdate.c:174:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int item = (int) client_data; ^ optupdate.c: In function 'triggerUpdate': optupdate.c:310:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) command); ^ optupdate.c: In function 'procUpdate': optupdate.c:381:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)which) { ^ --- opttick.o --- opttick.c: In function 'tickCheckCommand': opttick.c:931:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] (void)system(s); ^~~~~~~~~ --- optupdate.o --- optupdate.c: In function 'createUpdateDialog': optupdate.c:627:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtCallbackProc) procUpdate, (XtPointer)num ); ^ --- parse.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c parse.c In file included from /usr/include/ctype.h:25, from parse.c:35: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- pixmap.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c pixmap.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from pixmap.c:35: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- remoteXq.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c remoteXq.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from remoteXq.c:38: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- server.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c server.c In file included from /usr/include/ctype.h:25, from server.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- session.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c session.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from session.c:36: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- server.o --- server.c: In function 'serverCB': server.c:434:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int server = (int)menu_pos; ^ --- sessionXi.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c sessionXi.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sessionXi.c:41: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- status.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c status.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from status.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- sessionXi.o --- sessionXi.c: In function 'restoreState': sessionXi.c:135:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, QF_LINE_LEN, savefile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- status.o --- status.c: In function 'statusCB': status.c:171:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (int)client_data != 0) { ^ --- tape.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c tape.c --- util.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c util.c --- tape.o --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/finance/xquote/work/.buildlink/include/X11/Xlib.h:38, from /home/pbulk/build/finance/xquote/work/.buildlink/include/X11/Intrinsic.h:53, from /home/pbulk/build/finance/xquote/work/.buildlink/include/Xm/Xm.h:59, from /home/pbulk/build/finance/xquote/work/.buildlink/include/Xm/XmAll.h:27, from tape.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- util.o --- In file included from /usr/include/errno.h:25, from util.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- view.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c view.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/finance/xquote/work/.buildlink/include/X11/Xlib.h:38, from /home/pbulk/build/finance/xquote/work/.buildlink/include/X11/Intrinsic.h:53, from /home/pbulk/build/finance/xquote/work/.buildlink/include/Xm/Xm.h:59, from /home/pbulk/build/finance/xquote/work/.buildlink/include/Xm/XmAll.h:27, from view.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- xquote.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c xquote.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xquote.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- xutil.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXQUOTE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c xutil.c --- xquote.o --- xquote.c: In function 'main': xquote.c:268:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ xquote.c:268:5: warning: incompatible implicit declaration of built-in function 'exit' xquote.c:268:5: note: include '<stdlib.h>' or provide a declaration of 'exit' xquote.c:63:1: +#include <stdlib.h> xquote.c:268:5: exit(0); ^~~~ xquote.c:278:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xquote.c:278:5: note: include '<stdlib.h>' or provide a declaration of 'exit' xquote.c:313:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xquote.c:313:7: note: include '<stdlib.h>' or provide a declaration of 'exit' xquote.c:360:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xquote.c:360:6: note: include '<stdlib.h>' or provide a declaration of 'exit' --- xutil.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xutil.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- xquote.o --- xquote.c:592:5: warning: implicit declaration of function 'ProcessOneLine'; did you mean 'XtProcessEvent'? [-Wimplicit-function-declaration] ProcessOneLine(s); ^~~~~~~~~~~~~~ XtProcessEvent xquote.c:593:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(s); ^~~~ xquote.c:593:5: warning: incompatible implicit declaration of built-in function 'free' xquote.c:593:5: note: include '<stdlib.h>' or provide a declaration of 'free' --- xutil.o --- xutil.c: In function 'makeMenuPulldown': xutil.c:146:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) numbuttons ); ^ xutil.c: In function 'cylon': xutil.c:450:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) pos ); ^ --- Xquote --- rm -f Xquote cc -o Xquote -O2 -fno-strength-reduce -fno-strict-aliasing -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib about.o color.o fileXq.o help.o optdetail.o option.o optnet.o opttick.o optupdate.o parse.o pixmap.o remoteXq.o server.o session.o sessionXi.o status.o tape.o util.o view.o xquote.o xutil.o -Wl,-R/usr/pkg/lib -lXbae -lXm -lXpm -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lXext -lX11 -lm -Wl,-rpath,/usr/pkg/lib -Wl,-rpath-link,./exports/lib session.o: In function `sessSaveFile': session.c:(.text+0xae): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'