=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/games/xemeraldia", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xemeraldia-0.31nb6 --- main.o --- --- init-graphics.o --- --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHIGH_SCORE_TABLE=\"/opt/pkg/share/games/xemeraldia/xemeraldia.scores\" -D__USE_FIXED_PROTOTYPES__ -I/opt/pkg/include -c main.c --- init-graphics.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHIGH_SCORE_TABLE=\"/opt/pkg/share/games/xemeraldia/xemeraldia.scores\" -D__USE_FIXED_PROTOTYPES__ -I/opt/pkg/include -c init-graphics.c In file included from init-graphics.c:5: graphics.h:76:7: error: conflicting types for 'usleep'; have 'void(void)' 76 | void usleep (); | ^~~~~~ In file included from graphics.h:8: /usr/include/unistd.h:562:12: note: previous declaration of 'usleep' with type 'int(useconds_t)' {aka 'int(unsigned int)'} 562 | extern int usleep(useconds_t); | ^~~~~~ init-graphics.c: In function 'initXlib': init-graphics.c:27:7: warning: old-style function definition [-Wold-style-definition] 27 | void initXlib (w) | ^~~~~~~~ init-graphics.c:43:3: error: too many arguments to function 'createGCs'; expected 0, have 1 43 | createGCs (w); | ^~~~~~~~~ ~ init-graphics.c:16:14: note: declared here 16 | static void createGCs (), createCrushAnimePixmaps (); | ^~~~~~~~~ init-graphics.c:44:3: error: too many arguments to function 'createCrushAnimePixmaps'; expected 0, have 2 44 | createCrushAnimePixmaps (w, depth); | ^~~~~~~~~~~~~~~~~~~~~~~ ~ init-graphics.c:16:28: note: declared here 16 | static void createGCs (), createCrushAnimePixmaps (); | ^~~~~~~~~~~~~~~~~~~~~~~ init-graphics.c:46:5: error: too many arguments to function 'createColoredPixmaps'; expected 0, have 2 46 | createColoredPixmaps (w, depth); | ^~~~~~~~~~~~~~~~~~~~ ~ init-graphics.c:15:34: note: declared here 15 | static void createBWPixmaps (), createColoredPixmaps (); | ^~~~~~~~~~~~~~~~~~~~ init-graphics.c:48:5: error: too many arguments to function 'createBWPixmaps'; expected 0, have 2 48 | createBWPixmaps (w, depth); | ^~~~~~~~~~~~~~~ ~ init-graphics.c:15:14: note: declared here 15 | static void createBWPixmaps (), createColoredPixmaps (); | ^~~~~~~~~~~~~~~ init-graphics.c:50:3: error: too many arguments to function 'clearScreen'; expected 0, have 1 50 | clearScreen (w); | ^~~~~~~~~~~ ~ graphics.h:53:7: note: declared here 53 | void clearScreen (), clearNextItem (), startTimer (), stopTimer (); | ^~~~~~~~~~~ init-graphics.c: In function 'initXt': init-graphics.c:58:7: warning: old-style function definition [-Wold-style-definition] 58 | void initXt (w) | ^~~~~~ init-graphics.c: In function 'createGCs': init-graphics.c:149:14: warning: old-style function definition [-Wold-style-definition] 149 | static void createGCs (w) | ^~~~~~~~~ init-graphics.c: In function 'createBWPixmaps': init-graphics.c:165:14: warning: old-style function definition [-Wold-style-definition] 165 | static void createBWPixmaps (w, depth) | ^~~~~~~~~~~~~~~ init-graphics.c: In function 'createColoredPixmaps': init-graphics.c:200:14: warning: old-style function definition [-Wold-style-definition] 200 | static void createColoredPixmaps (w, depth) | ^~~~~~~~~~~~~~~~~~~~ init-graphics.c: In function 'createCrushAnimePixmaps': init-graphics.c:234:14: warning: old-style function definition [-Wold-style-definition] 234 | static void createCrushAnimePixmaps (w, depth) | ^~~~~~~~~~~~~~~~~~~~~~~ --- main.o --- In file included from main.c:6: graphics.h:76:7: error: conflicting types for 'usleep'; have 'void(void)' 76 | void usleep (); | ^~~~~~ In file included from graphics.h:8: /usr/include/unistd.h:562:12: note: previous declaration of 'usleep' with type 'int(useconds_t)' {aka 'int(unsigned int)'} 562 | extern int usleep(useconds_t); | ^~~~~~ main.c:43:26: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 43 | {"RedrawBoard", RedrawBoard}, | ^~~~~~~~~~~ main.c:43:26: note: (near initialization for 'actions[0].proc') graphics.h:50:7: note: 'RedrawBoard' declared here 50 | void RedrawBoard (), RedrawNextItem (), deleteBlocks (), delete_1_block (); | ^~~~~~~~~~~ main.c:44:26: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 44 | {"MoveLeft", MoveLeft}, | ^~~~~~~~ main.c:44:26: note: (near initialization for 'actions[1].proc') graphics.h:57:7: note: 'MoveLeft' declared here 57 | void MoveLeft (), MoveRight (), Rotation (), CCRotation (); | ^~~~~~~~ main.c:45:26: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 45 | {"MoveRight", MoveRight}, | ^~~~~~~~~ main.c:45:26: note: (near initialization for 'actions[2].proc') graphics.h:57:20: note: 'MoveRight' declared here 57 | void MoveLeft (), MoveRight (), Rotation (), CCRotation (); | ^~~~~~~~~ main.c:46:26: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 46 | {"Rotation", Rotation}, | ^~~~~~~~ main.c:46:26: note: (near initialization for 'actions[3].proc') graphics.h:57:34: note: 'Rotation' declared here 57 | void MoveLeft (), MoveRight (), Rotation (), CCRotation (); | ^~~~~~~~ main.c:47:26: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 47 | {"CCRotation", CCRotation}, | ^~~~~~~~~~ main.c:47:26: note: (near initialization for 'actions[4].proc') graphics.h:57:47: note: 'CCRotation' declared here 57 | void MoveLeft (), MoveRight (), Rotation (), CCRotation (); | ^~~~~~~~~~ main.c:48:26: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 48 | {"MoveDown", MoveDown}, | ^~~~~~~~ main.c:48:26: note: (near initialization for 'actions[5].proc') graphics.h:58:7: note: 'MoveDown' declared here 58 | void MoveDown (), moveItem (); | ^~~~~~~~ main.c:49:26: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 49 | {"PrintHighScores", PrintHighScores}, | ^~~~~~~~~~~~~~~ main.c:49:26: note: (near initialization for 'actions[6].proc') graphics.h:69:7: note: 'PrintHighScores' declared here 69 | void PrintHighScores (); | ^~~~~~~~~~~~~~~ main.c:50:26: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 50 | {"Done", Done}, | ^~~~ main.c:50:26: note: (near initialization for 'actions[7].proc') graphics.h:54:24: note: 'Done' declared here 54 | void showTmpScore (), Done (); | ^~~~ main.c:51:26: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 51 | {"RedrawNextItem", RedrawNextItem}, | ^~~~~~~~~~~~~~ main.c:51:26: note: (near initialization for 'actions[8].proc') graphics.h:50:23: note: 'RedrawNextItem' declared here 50 | void RedrawBoard (), RedrawNextItem (), deleteBlocks (), delete_1_block (); | ^~~~~~~~~~~~~~ main.c:52:26: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 52 | {"Quit", Quit}, | ^~~~ main.c:52:26: note: (near initialization for 'actions[9].proc') main.c:11:14: note: 'Quit' declared here 11 | static void Quit (); | ^~~~ main.c:53:26: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 53 | {"StartGame", StartGame} | ^~~~~~~~~ main.c:53:26: note: (near initialization for 'actions[10].proc') graphics.h:62:7: note: 'StartGame' declared here 62 | void StartGame (), addScore (), makeNext (); | ^~~~~~~~~ main.c: In function 'main': main.c:73:6: warning: old-style function definition [-Wold-style-definition] 73 | int main (argc, argv) | ^~~~ main.c:87:3: error: too many arguments to function 'initXt'; expected 0, have 1 87 | initXt (topLevel); | ^~~~~~ ~~~~~~~~ main.c:10:20: note: declared here 10 | void initXlib (), initXt (); /* In init-graphics.c */ | ^~~~~~ main.c:90:37: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 90 | XtAddCallback (quit, XtNcallback, Quit, NULL); | ^~~~ | | | void (*)(void) In file included from graphics.h:6: /home/pbulk/work/games/xemeraldia/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(void)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ main.c:11:14: note: 'Quit' declared here 11 | static void Quit (); | ^~~~ /home/pbulk/work/games/xemeraldia/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ main.c:91:38: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 91 | XtAddCallback (start, XtNcallback, StartGame, NULL); | ^~~~~~~~~ | | | void (*)(void) /home/pbulk/work/games/xemeraldia/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(void)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ graphics.h:62:7: note: 'StartGame' declared here 62 | void StartGame (), addScore (), makeNext (); | ^~~~~~~~~ /home/pbulk/work/games/xemeraldia/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ main.c:94:3: error: too many arguments to function 'initXlib'; expected 0, have 1 94 | initXlib (topLevel); | ^~~~~~~~ ~~~~~~~~ main.c:10:7: note: declared here 10 | void initXlib (), initXt (); /* In init-graphics.c */ | ^~~~~~~~ main.c: In function 'Quit': main.c:103:14: warning: old-style function definition [-Wold-style-definition] 103 | static void Quit (w, client_data, call_data) | ^~~~ --- init-graphics.o --- *** [init-graphics.o] Error code 1 bmake: stopped making "xemeraldia" in /home/pbulk/work/games/xemeraldia/work/xemeraldia-0.3 --- main.o --- *** [main.o] Error code 1 bmake: stopped making "xemeraldia" in /home/pbulk/work/games/xemeraldia/work/xemeraldia-0.3 bmake: 2 errors bmake: stopped making "xemeraldia" in /home/pbulk/work/games/xemeraldia/work/xemeraldia-0.3 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xemeraldia *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xemeraldia