+ 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 --- xclock.c: In function 'main': xclock.c:669:9: warning: passing argument 4 of 'XtAddEventHandler' from incompatible pointer type [enabled by default] False, MapCallback, (XtPointer)NULL); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:836:13: note: expected 'XtEventHandler' but argument is of type 'void (*)(struct _WidgetRec *, void *, union XEvent *)' extern void XtAddEventHandler( ^ xclock.c:822:2: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [enabled by default] XtAddCallback(canvas, XmNexposeCallback, HandleExpose, NULL); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1244:13: note: expected 'XtCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, void *, struct XmDrawingAreaCallbackStruct *)' extern void XtAddCallback( ^ xclock.c:823:2: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [enabled by default] XtAddCallback(canvas, XmNresizeCallback, HandleResize, NULL); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1244:13: note: expected 'XtCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, void *, struct XmDrawingAreaCallbackStruct *)' extern void XtAddCallback( ^ xclock.c:824:2: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [enabled by default] XtAddCallback(canvas, XmNinputCallback, HandleInput, NULL); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1244:13: note: expected 'XtCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, void *, struct XmDrawingAreaCallbackStruct *)' extern void XtAddCallback( ^ xclock.c: In function 'Tick': xclock.c:2020:9: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [enabled by default] Tick, w); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:987:21: note: expected 'XtTimerCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, int)' extern XtIntervalId XtAppAddTimeOut( ^ xclock.c:2023:9: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [enabled by default] Tick, w); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:987:21: note: expected 'XtTimerCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, int)' extern XtIntervalId XtAppAddTimeOut( ^ xclock.c:2028:3: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [enabled by default] XtAppAddTimeOut(appContext, appData.update, Tick, w); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:987:21: note: expected 'XtTimerCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, int)' extern XtIntervalId XtAppAddTimeOut( ^ xclock.c: In function 'HandleInput': xclock.c:2217:9: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [enabled by default] AlarmSetCallback, NULL); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1244:13: note: expected 'XtCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, void *, struct XmToggleButtonCallbackStruct *)' extern void XtAddCallback( ^ xclock.c:2224:9: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [enabled by default] AlarmBellCallback, NULL); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1244:13: note: expected 'XtCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, void *, struct XmToggleButtonCallbackStruct *)' extern void XtAddCallback( ^ xclock.c:2231:9: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [enabled by default] ChimeCallback, NULL); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1244:13: note: expected 'XtCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, void *, struct XmToggleButtonCallbackStruct *)' extern void XtAddCallback( ^ xclock.c:2235:9: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [enabled by default] AckAlarmCallback, NULL); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1244:13: note: expected 'XtCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, void *, struct XmPushButtonCallbackStruct *)' extern void XtAddCallback( ^ xclock.c:2239:9: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [enabled by default] RereadAlarmCallback, setW); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1244:13: note: expected 'XtCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct XmPushButtonCallbackStruct *)' extern void XtAddCallback( ^ xclock.c:2243:9: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [enabled by default] EditAlarmCallback, setW); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1244:13: note: expected 'XtCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct XmPushButtonCallbackStruct *)' extern void XtAddCallback( ^ xclock.c:2250:2: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [enabled by default] XtAddCallback(exitW, XmNactivateCallback, ExitCallback, NULL); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1244:13: note: expected 'XtCallbackProc' but argument is of type 'void (*)(struct _WidgetRec *, void *, struct XmPushButtonCallbackStruct *)' extern void XtAddCallback( ^ xclock.c:2253:5: warning: passing argument 2 of 'XmMenuPosition' from incompatible pointer type [enabled by default] XmMenuPosition(menu, callData->event); ^ In file included from xclock.c:46:0: /home/pbulk/build/time/catclock/work/.buildlink/include/Xm/RowColumn.h:44:13: note: expected 'struct XButtonPressedEvent *' but argument is of type 'union XEvent *' extern void XmMenuPosition( ^ xclock.c: In function 'MapCallback': xclock.c:2589:9: warning: passing argument 4 of 'XtRemoveEventHandler' from incompatible pointer type [enabled by default] MapCallback, (XtPointer)NULL); ^ In file included from xclock.c:33:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:844:13: note: expected 'XtEventHandler' but argument is of type 'void (*)(struct _WidgetRec *, void *, union XEvent *)' extern void XtRemoveEventHandler( ^ --- alarm.o --- alarm.c: In function 'DrawBell': alarm.c:156:13: warning: passing argument 3 of 'XCreateBitmapFromData' from incompatible pointer type [enabled by default] bell_width, bell_height); ^ In file included from alarm.c:18:0: /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Xlib.h:1604:15: note: expected 'const char *' but argument is of type 'short int *' extern Pixmap XCreateBitmapFromData( ^ alarm.c: In function 'AlarmAnnounce': alarm.c:199:5: warning: passing argument 2 of 'signal' from incompatible pointer type [enabled by default] signal(SIGALRM, TextScroll); ^ In file included from alarm.c:4:0: /usr/include/signal.h:102:23: note: expected '__sighandler_t' 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