+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xpipeman-1.5nb6/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xpipeman-1.5nb6/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xpipeman-1.5nb6 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -DNO_ASM -I. -I./lib/Xt -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCORE_FILE=\"/var/games/xpipescores\" -DMAXSCORES=20 -I/opt/local/include -I/usr/include -c actions.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -DNO_ASM -I. -I./lib/Xt -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCORE_FILE=\"/var/games/xpipescores\" -DMAXSCORES=20 -I/opt/local/include -I/usr/include -c game.c game.c: In function 'new_game': game.c:209:2: warning: implicit declaration of function 'all_popdown' [-Wimplicit-function-declaration] 209 | all_popdown(); | ^~~~~~~~~~~ game.c: In function 'place_objects': game.c:261:12: warning: 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: warning: 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: warning: 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: warning: 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:23: warning: comparison between pointer and integer 587 | if (current_callback != NULL) | ^~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -DNO_ASM -I. -I./lib/Xt -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCORE_FILE=\"/var/games/xpipescores\" -DMAXSCORES=20 -I/opt/local/include -I/usr/include -c graphics.c graphics.c: In function 'redraw_block': graphics.c:399:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] 399 | redraw_block(x,y) | ^~~~~~~~~~~~ graphics.c:399:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -DNO_ASM -I. -I./lib/Xt -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCORE_FILE=\"/var/games/xpipescores\" -DMAXSCORES=20 -I/opt/local/include -I/usr/include -c main.c main.c: In function 'main': main.c:175:20: warning: 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: warning: 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:840: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 *)'} 840 | XtEventHandler /* proc */, | ^~~~~~~~~~~~~~ main.c:278:61: warning: 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 *)} In file included from main.c:39: /home/pbulk/build/games/xpipeman/work/.buildlink/include/X11/Intrinsic.h:840: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 *)'} 840 | XtEventHandler /* proc */, | ^~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -DNO_ASM -I. -I./lib/Xt -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCORE_FILE=\"/var/games/xpipescores\" -DMAXSCORES=20 -I/opt/local/include -I/usr/include -c score.c score.c: In function 'check_score': score.c:84:22: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 84 | if(current_score > atoi(scores[MAXSCORES-1].score)) { | ^~~~ score.c:90:5: warning: implicit declaration of function 'flock'; did you mean 'clock'? [-Wimplicit-function-declaration] 90 | flock(fileno(scorefile), LOCK_UN); | ^~~~~ | clock score.c:90:30: error: 'LOCK_UN' undeclared (first use in this function) 90 | flock(fileno(scorefile), LOCK_UN); | ^~~~~~~ score.c:90:30: note: each undeclared identifier is reported only once for each function it appears in score.c: In function 'load_scores': score.c:108:28: error: 'LOCK_EX' undeclared (first use in this function) 108 | flock(fileno(scorefile), LOCK_EX); | ^~~~~~~ score.c: In function 'new_high_score': score.c:132:16: warning: implicit declaration of function 'getenv' [-Wimplicit-function-declaration] 132 | strncpy(name,getenv("USER"),25); | ^~~~~~ score.c:132:16: warning: 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:34, 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: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 251 | XtAddCallback(popdown,XtNcallback,popdown_callback,0); | ^~~~~~~~~~~~~~~~ | | | void (* (*)())(struct _WidgetRec *, void *, void *) In file included from score.c:39: /home/pbulk/build/games/xpipeman/work/.buildlink/include/X11/Intrinsic.h:1247:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (* (*)())(struct _WidgetRec *, void *, void *)' 1247 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ score.c: In function 'show_scores_callback': score.c:284:30: error: 'LOCK_UN' undeclared (first use in this function) 284 | flock(fileno(scorefile), LOCK_UN); | ^~~~~~~ *** [score.o] Error code 1 bmake: stopped in /home/pbulk/build/games/xpipeman/work/xpipeman 1 error bmake: stopped in /home/pbulk/build/games/xpipeman/work/xpipeman *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/games/xpipeman *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/games/xpipeman