+ 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: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" ^~~~~~~ --- 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: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" ^~~~~~~ --- xclock.o --- xclock.c:289:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ xclock.c: In function 'main': xclock.c:669:16: warning: passing argument 4 of 'XtAddEventHandler' from incompatible pointer type [-Wincompatible-pointer-types] False, MapCallback, (XtPointer)NULL); ^~~~~~~~~~~ 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 *)'} XtEventHandler /* proc */, ^~~~~~~~~~~~~~ xclock.c:780:27: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] } else if (pw = getpwuid(getuid())) { ^~~~~~ getpwuid xclock.c:822:43: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] XtAddCallback(canvas, XmNexposeCallback, HandleExpose, NULL); ^~~~~~~~~~~~ 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 *)' {aka 'void (*)(struct _WidgetRec *, void *, struct <anonymous> *)'} XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ xclock.c:823:43: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] XtAddCallback(canvas, XmNresizeCallback, HandleResize, NULL); ^~~~~~~~~~~~ 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 *)' {aka 'void (*)(struct _WidgetRec *, void *, struct <anonymous> *)'} XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ xclock.c:824:43: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] XtAddCallback(canvas, XmNinputCallback, HandleInput, NULL); ^~~~~~~~~~~ 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 *)' {aka 'void (*)(struct _WidgetRec *, void *, struct <anonymous> *)'} XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ xclock.c: In function 'Tick': xclock.c:2020:9: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] Tick, w); ^~~~ 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)' XtTimerCallbackProc /* proc */, ^~~~~~~~~~~~~~~~~~~ xclock.c:2023:9: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] Tick, w); ^~~~ 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)' XtTimerCallbackProc /* proc */, ^~~~~~~~~~~~~~~~~~~ xclock.c:2028:47: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] XtAppAddTimeOut(appContext, appData.update, Tick, w); ^~~~ 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)' XtTimerCallbackProc /* proc */, ^~~~~~~~~~~~~~~~~~~ xclock.c: In function 'HandleInput': xclock.c:2217:9: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] AlarmSetCallback, NULL); ^~~~~~~~~~~~~~~~ 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 *)' {aka 'void (*)(struct _WidgetRec *, void *, struct <anonymous> *)'} XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ xclock.c:2224:9: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] AlarmBellCallback, NULL); ^~~~~~~~~~~~~~~~~ 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 *)' {aka 'void (*)(struct _WidgetRec *, void *, struct <anonymous> *)'} XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ xclock.c:2231:9: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] ChimeCallback, NULL); ^~~~~~~~~~~~~ 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 *)' {aka 'void (*)(struct _WidgetRec *, void *, struct <anonymous> *)'} XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ xclock.c:2235:9: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] AckAlarmCallback, NULL); ^~~~~~~~~~~~~~~~ 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 *)' {aka 'void (*)(struct _WidgetRec *, void *, struct <anonymous> *)'} XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ xclock.c:2239:9: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] RereadAlarmCallback, setW); ^~~~~~~~~~~~~~~~~~~ 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 *)' {aka 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct <anonymous> *)'} XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ xclock.c:2243:9: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] EditAlarmCallback, setW); ^~~~~~~~~~~~~~~~~ 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 *)' {aka 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct <anonymous> *)'} XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ xclock.c:2250:44: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] XtAddCallback(exitW, XmNactivateCallback, ExitCallback, NULL); ^~~~~~~~~~~~ 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 *)' {aka 'void (*)(struct _WidgetRec *, void *, struct <anonymous> *)'} XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ xclock.c:2253:34: warning: passing argument 2 of 'XmMenuPosition' from incompatible pointer type [-Wincompatible-pointer-types] XmMenuPosition(menu, callData->event); ~~~~~~~~^~~~~~~ In file included from xclock.c:46: /home/pbulk/build/time/catclock/work/.buildlink/include/Xm/RowColumn.h:46:46: note: expected 'XButtonPressedEvent *' {aka 'struct <anonymous> *'} but argument is of type 'XEvent *' {aka 'union _XEvent *'} XButtonPressedEvent *event) ; ~~~~~~~~~~~~~~~~~~~~~^~~~~ xclock.c: In function 'MapCallback': xclock.c:2589:9: warning: passing argument 4 of 'XtRemoveEventHandler' from incompatible pointer type [-Wincompatible-pointer-types] MapCallback, (XtPointer)NULL); ^~~~~~~~~~~ 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 *)'} XtEventHandler /* proc */, ^~~~~~~~~~~~~~ --- alarm.o --- alarm.c: In function 'DrawBell': alarm.c:155:13: warning: passing argument 3 of 'XCreateBitmapFromData' from incompatible pointer type [-Wincompatible-pointer-types] bell_bits, ^~~~~~~~~ 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 *' #define _Xconst const /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Xlib.h:1603:5: note: in expansion of macro '_Xconst' _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] signal(SIGALRM, TextScroll); ^~~~~~~~~~ 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)' extern __sighandler_t signal (int __sig, __sighandler_t __handler) ~~~~~~~~~~~~~~~^~~~~~~~~ --- 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