+ 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 --- score.o --- --- 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(); | ^~~~~~~~~~~ --- score.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 score.c --- 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: --- game.o --- 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; | ^~~~~~ --- main.o --- /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 */, | ^~~~~~~~~~~~~~ --- graphics.o --- graphics.c: In function 'redraw_block': --- game.o --- 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 --- graphics.o --- 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] --- main.o --- *** [main.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xpipeman/work/xpipeman --- game.o --- 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) | ^~ --- graphics.o --- *** [graphics.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xpipeman/work/xpipeman --- game.o --- *** [game.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xpipeman/work/xpipeman --- score.o --- score.c: In function 'check_score': score.c:84:22: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 84 | if(current_score > atoi(scores[MAXSCORES-1].score)) { | ^~~~ score.c: In function 'new_high_score': score.c:132:16: error: implicit declaration of function 'getenv' [-Wimplicit-function-declaration] 132 | strncpy(name,getenv("USER"),25); | ^~~~~~ score.c:56:1: note: 'getenv' is defined in header ''; this is probably fixable by adding '#include ' 55 | #include "xpipeman.h" +++ |+#include 56 | score.c:132:16: error: passing argument 2 of 'strncpy' makes pointer from integer without a cast [-Wint-conversion] 132 | strncpy(name,getenv("USER"),25); | ^~~~~~~~~~~~~~ | | | int In file included from /usr/include/string.h:35, from /home/pbulk/build/games/xpipeman/work/.buildlink/include/X11/Intrinsic.h:61, from score.c:39: /usr/include/iso/string_iso.h:82:44: note: expected 'const char * restrict' but argument is of type 'int' 82 | extern char *strncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t); | ^ score.c: In function 'create_high_score_popup': score.c:251:37: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 251 | XtAddCallback(popdown,XtNcallback,popdown_callback,0); | ^~~~~~~~~~~~~~~~ | | | void (* (*)())(struct _WidgetRec *, void *, void *) /home/pbulk/build/games/xpipeman/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 *, void *)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ *** [score.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xpipeman/work/xpipeman bmake: 4 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