+ 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/catclock-0.0nb6/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/catclock-0.0nb6/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for catclock-0.0nb6 --- xclock.o --- --- alarm.o --- --- xclock.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I. -I/include -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 -DHAS_GNU_EMACS -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c xclock.c --- alarm.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I. -I/include -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 -DHAS_GNU_EMACS -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c alarm.c --- xclock.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xclock.c:19: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- alarm.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from alarm.c:1: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ alarm.c: In function 'DrawBell': alarm.c:155:48: warning: passing argument 3 of 'XCreateBitmapFromData' from incompatible pointer type [-Wincompatible-pointer-types] 155 | bell_bits, | ^~~~~~~~~ | | | short int * In file included from /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Xlib.h:47, from alarm.c:18: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Xfuncproto.h:47:17: note: expected 'const char *' but argument is of type 'short int *' 47 | #define _Xconst const /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Xlib.h:1607:5: note: in expansion of macro '_Xconst' 1607 | _Xconst char* /* data */, | ^~~~~~~ alarm.c: In function 'AlarmAnnounce': alarm.c:199:21: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 199 | signal(SIGALRM, TextScroll); | ^~~~~~~~~~ | | | void (*)(void) In file included from alarm.c:4: /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ --- xclock.o --- xclock.c:289:1: warning: return type defaults to 'int' [-Wimplicit-int] 289 | main(argc, argv) | ^~~~ xclock.c: In function 'main': xclock.c:669:30: warning: passing argument 4 of 'XtAddEventHandler' from incompatible pointer type [-Wincompatible-pointer-types] 669 | False, MapCallback, (XtPointer)NULL); | ^~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XEvent *) {aka void (*)(struct _WidgetRec *, void *, union _XEvent *)} In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:854:5: note: expected 'XtEventHandler' {aka 'void (*)(struct _WidgetRec *, void *, union _XEvent *, char *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XEvent *)' {aka 'void (*)(struct _WidgetRec *, void *, union _XEvent *)'} 854 | XtEventHandler /* proc */, | ^~~~~~~~~~~~~~ xclock.c:780:34: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 780 | } else if (pw = getpwuid(getuid())) { | ^~~~~~ | getpwuid xclock.c:822:50: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 822 | XtAddCallback(canvas, XmNexposeCallback, HandleExpose, NULL); | ^~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmDrawingAreaCallbackStruct *) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1261:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmDrawingAreaCallbackStruct *)' 1261 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:823:50: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 823 | XtAddCallback(canvas, XmNresizeCallback, HandleResize, NULL); | ^~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmDrawingAreaCallbackStruct *) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1261:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmDrawingAreaCallbackStruct *)' 1261 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:824:50: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 824 | XtAddCallback(canvas, XmNinputCallback, HandleInput, NULL); | ^~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmDrawingAreaCallbackStruct *) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1261:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmDrawingAreaCallbackStruct *)' 1261 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c: In function 'Tick': xclock.c:2020:37: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 2020 | Tick, w); | ^~~~ | | | void (*)(struct _WidgetRec *, int) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1004:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (*)(struct _WidgetRec *, int)' 1004 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ xclock.c:2023:37: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 2023 | Tick, w); | ^~~~ | | | void (*)(struct _WidgetRec *, int) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1004:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (*)(struct _WidgetRec *, int)' 1004 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ xclock.c:2028:61: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 2028 | XtAppAddTimeOut(appContext, appData.update, Tick, w); | ^~~~ | | | void (*)(struct _WidgetRec *, int) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1004:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (*)(struct _WidgetRec *, int)' 1004 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ xclock.c: In function 'HandleInput': xclock.c:2217:23: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2217 | AlarmSetCallback, NULL); | ^~~~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmToggleButtonCallbackStruct *) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1261:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmToggleButtonCallbackStruct *)' 1261 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2224:23: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2224 | AlarmBellCallback, NULL); | ^~~~~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmToggleButtonCallbackStruct *) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1261:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmToggleButtonCallbackStruct *)' 1261 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2231:23: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2231 | ChimeCallback, NULL); | ^~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmToggleButtonCallbackStruct *) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1261:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmToggleButtonCallbackStruct *)' 1261 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2235:23: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2235 | AckAlarmCallback, NULL); | ^~~~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmPushButtonCallbackStruct *) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1261:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmPushButtonCallbackStruct *)' 1261 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2239:23: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2239 | RereadAlarmCallback, setW); | ^~~~~~~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, struct _WidgetRec *, XmPushButtonCallbackStruct *) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1261:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, struct _WidgetRec *, XmPushButtonCallbackStruct *)' 1261 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2243:23: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2243 | EditAlarmCallback, setW); | ^~~~~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, struct _WidgetRec *, XmPushButtonCallbackStruct *) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1261:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, struct _WidgetRec *, XmPushButtonCallbackStruct *)' 1261 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2250:51: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2250 | XtAddCallback(exitW, XmNactivateCallback, ExitCallback, NULL); | ^~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmPushButtonCallbackStruct *) In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1261:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmPushButtonCallbackStruct *)' 1261 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2253:34: warning: passing argument 2 of 'XmMenuPosition' from incompatible pointer type [-Wincompatible-pointer-types] 2253 | XmMenuPosition(menu, callData->event); | ~~~~~~~~^~~~~~~ | | | XEvent * {aka union _XEvent *} In file included from xclock.c:46: /home/pbulk/build/time/catclock/work/.buildlink/include/Xm/RowColumn.h:46:46: note: expected 'XButtonPressedEvent *' {aka 'XButtonEvent *'} but argument is of type 'XEvent *' {aka 'union _XEvent *'} 46 | XButtonPressedEvent *event) ; | ~~~~~~~~~~~~~~~~~~~~~^~~~~ xclock.c: In function 'MapCallback': xclock.c:2589:30: warning: passing argument 4 of 'XtRemoveEventHandler' from incompatible pointer type [-Wincompatible-pointer-types] 2589 | MapCallback, (XtPointer)NULL); | ^~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XEvent *) {aka void (*)(struct _WidgetRec *, void *, union _XEvent *)} In file included from xclock.c:33: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:862:5: note: expected 'XtEventHandler' {aka 'void (*)(struct _WidgetRec *, void *, union _XEvent *, char *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XEvent *)' {aka 'void (*)(struct _WidgetRec *, void *, union _XEvent *)'} 862 | XtEventHandler /* proc */, | ^~~~~~~~~~~~~~ --- catclock._man --- rm -f catclock._man if test -z "" ; then cd `dirname catclock` && ln -s `basename catclock.man` `basename catclock._man`; else cpp -undef -traditional -D__apploaddir__=/usr/share/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/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" < catclock.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/\@\@$/\\/' >catclock._man; fi --- catclock --- rm -f catclock cc -o catclock -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 xclock.o alarm.o -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lXm -lXft -lSM -lICE -lXt -lX11 -lm -Wl,-rpath,/usr/pkg/lib -Wl,-rpath-link,./exports/lib