=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/games/xworm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xworm-1.02nb1 --- bsd --- gcc -O -DPREFIX=\"/opt/pkg/share/xworm\" -I/opt/pkg/include -I/usr/include -I/opt/pkg/include xworm.c -o xworm -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lXt -lX11 -lm xworm.c: In function 'main': xworm.c:238:33: error: passing argument 3 of 'XCheckIfEvent' from incompatible pointer type [-Wincompatible-pointer-types] 238 | XCheckIfEvent(display,&event,predproc,"foo"); | ^~~~~~~~ | | | int (*)(void) In file included from xworm.c:4: /home/pbulk/work/games/xworm/work/.buildlink/include/X11/Xlib.h:78:14: note: expected 'int (*)(Display *, XEvent *, char *)' {aka 'int (*)(struct _XDisplay *, union _XEvent *, char *)'} but argument is of type 'int (*)(void)' 78 | #define Bool int | ^ /home/pbulk/work/games/xworm/work/.buildlink/include/X11/Xlib.h:2105:5: note: in expansion of macro 'Bool' 2105 | Bool (*) ( | ^~~~ xworm.c:35:17: note: 'predproc' declared here 35 | Bool predproc(); | ^~~~~~~~ xworm.c: In function 'simulatecrash': xworm.c:424:32: error: passing argument 3 of 'XCheckIfEvent' from incompatible pointer type [-Wincompatible-pointer-types] 424 | XCheckIfEvent(display,&event,predproc,"foo"); | ^~~~~~~~ | | | int (*)(void) /home/pbulk/work/games/xworm/work/.buildlink/include/X11/Xlib.h:78:14: note: expected 'int (*)(Display *, XEvent *, char *)' {aka 'int (*)(struct _XDisplay *, union _XEvent *, char *)'} but argument is of type 'int (*)(void)' 78 | #define Bool int | ^ /home/pbulk/work/games/xworm/work/.buildlink/include/X11/Xlib.h:2105:5: note: in expansion of macro 'Bool' 2105 | Bool (*) ( | ^~~~ xworm.c:35:17: note: 'predproc' declared here 35 | Bool predproc(); | ^~~~~~~~ xworm.c: In function 'predproc': xworm.c:582:6: warning: old-style function definition [-Wold-style-definition] 582 | Bool predproc (display,event,arg) | ^~~~~~~~ xworm.c:587:1: error: number of arguments doesn't match prototype 587 | { | ^ xworm.c:35:17: error: prototype declaration 35 | Bool predproc(); | ^~~~~~~~ xworm.c: In function 'intro': xworm.c:647:32: error: passing argument 3 of 'XCheckIfEvent' from incompatible pointer type [-Wincompatible-pointer-types] 647 | XCheckIfEvent(display,&event,predproc,"foo"); | ^~~~~~~~ | | | int (*)(void) /home/pbulk/work/games/xworm/work/.buildlink/include/X11/Xlib.h:78:14: note: expected 'int (*)(Display *, XEvent *, char *)' {aka 'int (*)(struct _XDisplay *, union _XEvent *, char *)'} but argument is of type 'int (*)(void)' 78 | #define Bool int | ^ /home/pbulk/work/games/xworm/work/.buildlink/include/X11/Xlib.h:2105:5: note: in expansion of macro 'Bool' 2105 | Bool (*) ( | ^~~~ xworm.c:582:6: note: 'predproc' declared here 582 | Bool predproc (display,event,arg) | ^~~~~~~~ *** [bsd] Error code 1 bmake: stopped making "bsd" in /home/pbulk/work/games/xworm/work/XWorm bmake: 1 error bmake: stopped making "bsd" in /home/pbulk/work/games/xworm/work/XWorm *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xworm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xworm