=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/games/xjewel", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xjewel-1.6nb3 --- xw.o --- --- jewel.o --- --- xw.o --- gcc -O -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/opt/pkg/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/pkg/include -c xw.c --- jewel.o --- gcc -O -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/opt/pkg/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/pkg/include -c jewel.c jewel.c: In function 'xw_focus_event': jewel.c:40:6: warning: old-style function definition [-Wold-style-definition] 40 | void xw_focus_event(xfev) | ^~~~~~~~~~~~~~ jewel.c:42:9: error: number of arguments doesn't match prototype 42 | { | ^ In file included from jewel.c:26: xw.h:29:13: error: prototype declaration 29 | extern void xw_focus_event(/*xfev*/); | ^~~~~~~~~~~~~~ jewel.c: In function 'xw_leave_event': jewel.c:52:6: warning: old-style function definition [-Wold-style-definition] 52 | void xw_leave_event(xlev) | ^~~~~~~~~~~~~~ jewel.c:54:9: error: number of arguments doesn't match prototype 54 | { | ^ xw.h:30:13: error: prototype declaration 30 | extern void xw_leave_event(/*xlev*/); | ^~~~~~~~~~~~~~ jewel.c: In function 'StartIcon': jewel.c:71:5: error: too many arguments to function 'xw_set_timer'; expected 0, have 1 71 | xw_set_timer(2000l); | ^~~~~~~~~~~~ ~~~~~ xw.h:23:14: note: declared here 23 | extern void xw_set_timer(); | ^~~~~~~~~~~~ jewel.c: In function 'EndIcon': jewel.c:77:5: error: too many arguments to function 'xw_set_timer'; expected 0, have 1 77 | xw_set_timer(100L); | ^~~~~~~~~~~~ ~~~~ xw.h:23:14: note: declared here 23 | extern void xw_set_timer(); | ^~~~~~~~~~~~ jewel.c: In function 'xw_map_event': jewel.c:80:6: warning: old-style function definition [-Wold-style-definition] 80 | void xw_map_event(xmev) | ^~~~~~~~~~~~ jewel.c:82:9: error: number of arguments doesn't match prototype 82 | { | ^ xw.h:32:13: error: prototype declaration 32 | extern void xw_map_event(/*xmev*/); | ^~~~~~~~~~~~ jewel.c: In function 'xw_key_event': jewel.c:98:6: warning: old-style function definition [-Wold-style-definition] 98 | void xw_key_event(xkev) | ^~~~~~~~~~~~ jewel.c:100:9: error: number of arguments doesn't match prototype 100 | { | ^ xw.h:31:13: error: prototype declaration 31 | extern void xw_key_event(/*xkev*/); | ^~~~~~~~~~~~ jewel.c: In function 'xw_but_event': jewel.c:221:6: warning: old-style function definition [-Wold-style-definition] 221 | void xw_but_event(xbev) | ^~~~~~~~~~~~ jewel.c:223:9: error: number of arguments doesn't match prototype 223 | { | ^ xw.h:27:13: error: prototype declaration 27 | extern void xw_but_event(/*xbev*/); | ^~~~~~~~~~~~ jewel.c: In function 'xw_expose_event': jewel.c:233:6: warning: old-style function definition [-Wold-style-definition] 233 | void xw_expose_event(xev) | ^~~~~~~~~~~~~~~ jewel.c:235:9: error: number of arguments doesn't match prototype 235 | { | ^ xw.h:28:13: error: prototype declaration 28 | extern void xw_expose_event(/*xev*/); | ^~~~~~~~~~~~~~~ jewel.c: In function 'Rot_Icons': jewel.c:291:9: error: too many arguments to function 'xw_set_timer'; expected 0, have 1 291 | xw_set_timer(2000L); | ^~~~~~~~~~~~ ~~~~~ xw.h:23:14: note: declared here 23 | extern void xw_set_timer(); | ^~~~~~~~~~~~ jewel.c: In function 'Init_Jewel': jewel.c:381:15: error: too many arguments to function 'xw_alloc_color'; expected 0, have 1 381 | green=xw_alloc_color("green"); | ^~~~~~~~~~~~~~ ~~~~~~~ xw.h:18:14: note: declared here 18 | extern Pixel xw_alloc_color(); | ^~~~~~~~~~~~~~ jewel.c:382:16: error: too many arguments to function 'xw_alloc_color'; expected 0, have 1 382 | yellow=xw_alloc_color("yellow"); | ^~~~~~~~~~~~~~ ~~~~~~~~ xw.h:18:14: note: declared here 18 | extern Pixel xw_alloc_color(); | ^~~~~~~~~~~~~~ jewel.c:408:28: error: too many arguments to function 'xw_alloc_color'; expected 0, have 1 408 | colors[WILD_PIECE]=xw_alloc_color(WILD_C); | ^~~~~~~~~~~~~~ xw.h:18:14: note: declared here 18 | extern Pixel xw_alloc_color(); | ^~~~~~~~~~~~~~ jewel.c:414:24: error: too many arguments to function 'xw_alloc_color'; expected 0, have 1 414 | colors[PIECE1]=xw_alloc_color(PIECE1_C); | ^~~~~~~~~~~~~~ xw.h:18:14: note: declared here 18 | extern Pixel xw_alloc_color(); | ^~~~~~~~~~~~~~ jewel.c:420:24: error: too many arguments to function 'xw_alloc_color'; expected 0, have 1 420 | colors[PIECE2]=xw_alloc_color(PIECE2_C); | ^~~~~~~~~~~~~~ xw.h:18:14: note: declared here 18 | extern Pixel xw_alloc_color(); | ^~~~~~~~~~~~~~ jewel.c:426:24: error: too many arguments to function 'xw_alloc_color'; expected 0, have 1 426 | colors[PIECE3]=xw_alloc_color(PIECE3_C); | ^~~~~~~~~~~~~~ xw.h:18:14: note: declared here 18 | extern Pixel xw_alloc_color(); | ^~~~~~~~~~~~~~ jewel.c:432:24: error: too many arguments to function 'xw_alloc_color'; expected 0, have 1 432 | colors[PIECE4]=xw_alloc_color(PIECE4_C); | ^~~~~~~~~~~~~~ xw.h:18:14: note: declared here 18 | extern Pixel xw_alloc_color(); | ^~~~~~~~~~~~~~ jewel.c:438:24: error: too many arguments to function 'xw_alloc_color'; expected 0, have 1 438 | colors[PIECE5]=xw_alloc_color(PIECE5_C); | ^~~~~~~~~~~~~~ xw.h:18:14: note: declared here 18 | extern Pixel xw_alloc_color(); | ^~~~~~~~~~~~~~ jewel.c:444:24: error: too many arguments to function 'xw_alloc_color'; expected 0, have 1 444 | colors[PIECE6]=xw_alloc_color(PIECE6_C); | ^~~~~~~~~~~~~~ xw.h:18:14: note: declared here 18 | extern Pixel xw_alloc_color(); | ^~~~~~~~~~~~~~ jewel.c:451:24: error: too many arguments to function 'xw_alloc_color'; expected 0, have 1 451 | colors[FLASH1]=xw_alloc_color(FLASH_C); | ^~~~~~~~~~~~~~ xw.h:18:14: note: declared here 18 | extern Pixel xw_alloc_color(); | ^~~~~~~~~~~~~~ jewel.c:473:26: error: too many arguments to function 'xw_alloc_color'; expected 0, have 1 473 | colors[BACKGND1]=xw_alloc_color(BACKGND_C); | ^~~~~~~~~~~~~~ xw.h:18:14: note: declared here 18 | extern Pixel xw_alloc_color(); | ^~~~~~~~~~~~~~ jewel.c:498:19: error: too many arguments to function 'xw_fatal'; expected 0, have 3 498 | { xw_fatal("Cannot load VERSION font.\n",__LINE__,__FILE__); } | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xw.h:17:14: note: declared here 17 | extern void xw_fatal(); | ^~~~~~~~ jewel.c:504:19: error: too many arguments to function 'xw_fatal'; expected 0, have 3 504 | { xw_fatal("Cannot load HIGHSCORE font.\n",__LINE__,__FILE__); } | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xw.h:17:14: note: declared here 17 | extern void xw_fatal(); | ^~~~~~~~ jewel.c:512:27: error: too many arguments to function 'xw_fatal'; expected 0, have 3 512 | { xw_fatal("Cannot load SCORE font.\n",__LINE__,__FILE__); } | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ xw.h:17:14: note: declared here 17 | extern void xw_fatal(); | ^~~~~~~~ jewel.c: In function 'main': jewel.c:523:5: warning: old-style function definition [-Wold-style-definition] 523 | int main(argc,argv) | ^~~~ jewel.c:535:9: error: too many arguments to function 'xw_init'; expected 0, have 4 535 | xw_init(argc,argv,SCREEN_X, SCREEN_Y); | ^~~~~~~ ~~~~ xw.h:21:14: note: declared here 21 | extern void xw_init(); | ^~~~~~~ --- xw.o --- xw.c: In function 'xw_fatal': xw.c:59:6: warning: old-style function definition [-Wold-style-definition] 59 | void xw_fatal(s,line,file) | ^~~~~~~~ xw.c:63:9: error: number of arguments doesn't match prototype 63 | { | ^ In file included from xw.c:34: xw.h:17:14: error: prototype declaration 17 | extern void xw_fatal(); | ^~~~~~~~ xw.c: In function 'xw_alloc_color': xw.c:71:7: warning: old-style function definition [-Wold-style-definition] 71 | Pixel xw_alloc_color(cname) | ^~~~~~~~~~~~~~ xw.c:73:9: error: number of arguments doesn't match prototype 73 | { | ^ xw.h:18:14: error: prototype declaration 18 | extern Pixel xw_alloc_color(); | ^~~~~~~~~~~~~~ xw.c:95:17: error: too many arguments to function 'xw_fatal'; expected 0, have 3 95 | xw_fatal(blah,__LINE__,__FILE__); | ^~~~~~~~ ~~~~ xw.c:59:6: note: declared here 59 | void xw_fatal(s,line,file) | ^~~~~~~~ xw.c: In function 'xw_sync_sleep': xw.c:103:6: warning: old-style function definition [-Wold-style-definition] 103 | void xw_sync_sleep(ms) | ^~~~~~~~~~~~~ xw.c:105:9: error: number of arguments doesn't match prototype 105 | { | ^ xw.h:24:14: error: prototype declaration 24 | extern void xw_sync_sleep(); | ^~~~~~~~~~~~~ xw.h:62:34: error: passing argument 1 of 'poll' from incompatible pointer type [-Wincompatible-pointer-types] 62 | # define ms_sleep(ms) poll(__JUNK,(unsigned long)0,ms) | ^~~~~~ | | | int * xw.c:120:17: note: in expansion of macro 'ms_sleep' 120 | ms_sleep(ms-SyncTime); | ^~~~~~~~ In file included from /usr/include/poll.h:38, from xw.h:51: /usr/include/sys/poll.h:152:10: note: expected 'struct pollfd *' but argument is of type 'int *' 152 | int poll(struct pollfd *, nfds_t, int); | ^~~~~~~~~~~~~~~ xw.c: In function 'xw_set_timer': xw.c:135:6: warning: old-style function definition [-Wold-style-definition] 135 | void xw_set_timer(time_ms) | ^~~~~~~~~~~~ xw.c:137:9: error: number of arguments doesn't match prototype 137 | { | ^ xw.h:23:14: error: prototype declaration 23 | extern void xw_set_timer(); | ^~~~~~~~~~~~ xw.c: In function 'xw_main_loop': xw.c:253:41: error: too many arguments to function 'xw_expose_event'; expected 0, have 1 253 | xw_expose_event((XExposeEvent *) &xev); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ xw.h:28:13: note: declared here 28 | extern void xw_expose_event(/*xev*/); | ^~~~~~~~~~~~~~~ xw.c:257:41: error: too many arguments to function 'xw_focus_event'; expected 0, have 1 257 | xw_focus_event((XFocusChangeEvent *) &xev); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ xw.h:29:13: note: declared here 29 | extern void xw_focus_event(/*xfev*/); | ^~~~~~~~~~~~~~ xw.c:260:41: error: too many arguments to function 'xw_leave_event'; expected 0, have 1 260 | xw_leave_event((XLeaveWindowEvent *) &xev); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ xw.h:30:13: note: declared here 30 | extern void xw_leave_event(/*xlev*/); | ^~~~~~~~~~~~~~ xw.c:263:41: error: too many arguments to function 'xw_key_event'; expected 0, have 1 263 | xw_key_event((XKeyEvent *) &xev); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ xw.h:31:13: note: declared here 31 | extern void xw_key_event(/*xkev*/); | ^~~~~~~~~~~~ xw.c:267:41: error: too many arguments to function 'xw_but_event'; expected 0, have 1 267 | xw_but_event((XButtonEvent *) &xev); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ xw.h:27:13: note: declared here 27 | extern void xw_but_event(/*xbev*/); | ^~~~~~~~~~~~ xw.c:271:41: error: too many arguments to function 'xw_map_event'; expected 0, have 1 271 | xw_map_event((XMapEvent *) &xev); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ xw.h:32:13: note: declared here 32 | extern void xw_map_event(/*xmev*/); | ^~~~~~~~~~~~ xw.c: In function 'xw_init': xw.c:335:6: warning: old-style function definition [-Wold-style-definition] 335 | void xw_init(argc, argv, w, h ) | ^~~~~~~ xw.c:339:9: error: number of arguments doesn't match prototype 339 | { | ^ xw.h:21:14: error: prototype declaration 21 | extern void xw_init(); | ^~~~~~~ --- jewel.o --- *** [jewel.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/games/xjewel/work/xjewel-1.6 --- xw.o --- *** [xw.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/games/xjewel/work/xjewel-1.6 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/games/xjewel/work/xjewel-1.6 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xjewel *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xjewel