+ 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/xpipeman-1.5nb6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xpipeman-1.5nb6/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xpipeman-1.5nb6 --- actions.o --- --- game.o --- --- graphics.o --- --- main.o --- --- actions.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I./lib/Xt -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCORE_FILE=\"/var/games/xpipescores\" -DMAXSCORES=20 -DSYSV -I/opt/pkg/include -c actions.c --- game.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I./lib/Xt -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCORE_FILE=\"/var/games/xpipescores\" -DMAXSCORES=20 -DSYSV -I/opt/pkg/include -c game.c --- graphics.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I./lib/Xt -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCORE_FILE=\"/var/games/xpipescores\" -DMAXSCORES=20 -DSYSV -I/opt/pkg/include -c graphics.c --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I./lib/Xt -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCORE_FILE=\"/var/games/xpipescores\" -DMAXSCORES=20 -DSYSV -I/opt/pkg/include -c main.c --- game.o --- game.c: In function 'new_game': game.c:209:2: error: implicit declaration of function 'all_popdown' [-Wimplicit-function-declaration] 209 | all_popdown(); | ^~~~~~~~~~~ game.c: In function 'place_objects': game.c:261:19: error: implicit declaration of function 'random' [-Wimplicit-function-declaration] 261 | ((int)random() %((OBSFIN-OBSRT)+1)) + OBSRT; | ^~~~~~ game.c: In function 'game_over': game.c:367:3: error: implicit declaration of function 'nomore_popdown'; did you mean 'game_over_popdown'? [-Wimplicit-function-declaration] 367 | nomore_popdown(); | ^~~~~~~~~~~~~~ | game_over_popdown game.c: In function 'new_level': game.c:391:5: error: implicit declaration of function 'show_nomore_popup'; did you mean 'show_game_over_popup'? [-Wimplicit-function-declaration] 391 | show_nomore_popup(); | ^~~~~~~~~~~~~~~~~ | show_game_over_popup game.c:445:28: warning: comparison between pointer and integer 445 | if (current_callback != NULL) | ^~ game.c: In function 'speed_up_flow': game.c:461:23: warning: comparison between pointer and integer 461 | if (current_callback != NULL) | ^~ game.c: In function 'show_when_flow': game.c:518:28: warning: comparison between pointer and integer 518 | if (current_callback != NULL) | ^~ game.c:524:28: warning: comparison between pointer and integer 524 | if (current_callback != NULL) | ^~ game.c: In function 'draw_flow': game.c:536:20: error: assignment to 'XtIntervalId' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 536 | current_callback = NULL; | ^ game.c: In function 'increment_flow': game.c:587:30: warning: comparison between pointer and integer 587 | if (current_callback != NULL) | ^~ *** [game.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xpipeman/work/xpipeman --- main.o --- main.c: In function 'main': main.c:175:20: error: assignment to 'XtIntervalId' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 175 | current_callback = NULL; | ^ main.c:277:56: error: passing argument 4 of 'XtAddEventHandler' from incompatible pointer type [-Wincompatible-pointer-types] 277 | XtAddEventHandler(playfield_widget, ExposureMask, 0, redisplay_level, 0); | ^~~~~~~~~~~~~~~ | | | void (* (*)())(struct _WidgetRec *, void *, XEvent *, Boolean *) {aka void (* (*)())(struct _WidgetRec *, void *, union _XEvent *, char *)} In file included from main.c:39: /home/pbulk/build/games/xpipeman/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 *, Boolean *)' {aka 'void (* (*)())(struct _WidgetRec *, void *, union _XEvent *, char *)'} 849 | XtEventHandler /* proc */, | ^~~~~~~~~~~~~~ main.c:278:61: error: passing argument 4 of 'XtAddEventHandler' from incompatible pointer type [-Wincompatible-pointer-types] 278 | XtAddEventHandler(playfield_widget, PointerMotionMask, 0, pointer_moved, 0); | ^~~~~~~~~~~~~ | | | void (* (*)())(struct _WidgetRec *, void *, XEvent *, Boolean *) {aka void (* (*)())(struct _WidgetRec *, void *, union _XEvent *, char *)} /home/pbulk/build/games/xpipeman/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 *, Boolean *)' {aka 'void (* (*)())(struct _WidgetRec *, void *, union _XEvent *, char *)'} 849 | XtEventHandler /* proc */, | ^~~~~~~~~~~~~~ *** [main.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xpipeman/work/xpipeman --- graphics.o --- graphics.c: In function 'redraw_block': graphics.c:399:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] 399 | redraw_block(x,y) | ^~~~~~~~~~~~ graphics.c:399:1: error: type of 'y' defaults to 'int' [-Wimplicit-int] *** [graphics.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xpipeman/work/xpipeman bmake: 3 errors bmake: stopped making "all" in /home/pbulk/build/games/xpipeman/work/xpipeman *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xpipeman *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xpipeman