+ 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 --- xclock.o --- --- alarm.o --- --- catclock._man --- --- xclock.o --- 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 --- alarm.o --- 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 alarm.c --- catclock._man --- rm -f catclock._man if test -z "" ; then cd `dirname catclock` && ln -s `basename catclock.man` `basename catclock._man`; else cpp -undef -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/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 --- alarm.o --- alarm.c: In function 'DrawBell': alarm.c:155:48: error: 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:1603:5: note: in expansion of macro '_Xconst' 1603 | _Xconst char* /* data */, | ^~~~~~~ alarm.c: In function 'AlarmAnnounce': alarm.c:199:21: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 199 | signal(SIGALRM, TextScroll); | ^~~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from alarm.c:4: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ *** [alarm.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/time/catclock/work/catclock --- xclock.o --- 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 */, | ^~~~~~~~~~~~~~ *** [xclock.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/time/catclock/work/catclock bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/time/catclock/work/catclock *** Error code 2 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