+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/catclock-0.0nb6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/catclock-0.0nb6/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for catclock-0.0nb6 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAS_GNU_EMACS -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c xclock.c xclock.c:289:1: error: return type defaults to 'int' [-Wimplicit-int] 289 | main(argc, argv) | ^~~~ xclock.c: In function 'main': xclock.c:669:30: error: 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:849: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 *)'} 849 | XtEventHandler /* proc */, | ^~~~~~~~~~~~~~ xclock.c:780:34: error: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 780 | } else if (pw = getpwuid(getuid())) { | ^~~~~~ | getpwuid xclock.c:822:50: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 822 | XtAddCallback(canvas, XmNexposeCallback, HandleExpose, NULL); | ^~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmDrawingAreaCallbackStruct *) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmDrawingAreaCallbackStruct *)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:823:50: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 823 | XtAddCallback(canvas, XmNresizeCallback, HandleResize, NULL); | ^~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmDrawingAreaCallbackStruct *) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmDrawingAreaCallbackStruct *)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:824:50: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 824 | XtAddCallback(canvas, XmNinputCallback, HandleInput, NULL); | ^~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmDrawingAreaCallbackStruct *) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmDrawingAreaCallbackStruct *)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c: In function 'Tick': xclock.c:2020:37: error: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 2020 | Tick, w); | ^~~~ | | | void (*)(struct _WidgetRec *, int) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:999:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (*)(struct _WidgetRec *, int)' 999 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ xclock.c:2023:37: error: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 2023 | Tick, w); | ^~~~ | | | void (*)(struct _WidgetRec *, int) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:999:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (*)(struct _WidgetRec *, int)' 999 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ xclock.c:2028:61: error: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 2028 | XtAppAddTimeOut(appContext, appData.update, Tick, w); | ^~~~ | | | void (*)(struct _WidgetRec *, int) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:999:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (*)(struct _WidgetRec *, int)' 999 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ xclock.c: In function 'HandleInput': xclock.c:2217:23: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2217 | AlarmSetCallback, NULL); | ^~~~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmToggleButtonCallbackStruct *) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmToggleButtonCallbackStruct *)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2224:23: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2224 | AlarmBellCallback, NULL); | ^~~~~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmToggleButtonCallbackStruct *) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmToggleButtonCallbackStruct *)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2231:23: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2231 | ChimeCallback, NULL); | ^~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmToggleButtonCallbackStruct *) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmToggleButtonCallbackStruct *)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2235:23: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2235 | AckAlarmCallback, NULL); | ^~~~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmPushButtonCallbackStruct *) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmPushButtonCallbackStruct *)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2239:23: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2239 | RereadAlarmCallback, setW); | ^~~~~~~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, struct _WidgetRec *, XmPushButtonCallbackStruct *) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, struct _WidgetRec *, XmPushButtonCallbackStruct *)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2243:23: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2243 | EditAlarmCallback, setW); | ^~~~~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, struct _WidgetRec *, XmPushButtonCallbackStruct *) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, struct _WidgetRec *, XmPushButtonCallbackStruct *)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2250:51: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2250 | XtAddCallback(exitW, XmNactivateCallback, ExitCallback, NULL); | ^~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *, void *, XmPushButtonCallbackStruct *) /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, void *, XmPushButtonCallbackStruct *)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xclock.c:2253:34: error: 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: error: 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 *)} /home/pbulk/build/time/catclock/work/.buildlink/include/X11/Intrinsic.h:857: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 *)'} 857 | XtEventHandler /* proc */, | ^~~~~~~~~~~~~~ *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/time/catclock/work/catclock *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/time/catclock *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/time/catclock