=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/games/corewars", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for corewars-0.9.13nb2 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/work/games/corewars/work/corewars-0.9.13' Making all in programs gmake[2]: Entering directory '/home/pbulk/work/games/corewars/work/corewars-0.9.13/programs' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/work/games/corewars/work/corewars-0.9.13/programs' Making all in contrib gmake[2]: Entering directory '/home/pbulk/work/games/corewars/work/corewars-0.9.13/contrib' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/work/games/corewars/work/corewars-0.9.13/contrib' Making all in doc gmake[2]: Entering directory '/home/pbulk/work/games/corewars/work/corewars-0.9.13/doc' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/work/games/corewars/work/corewars-0.9.13/doc' Making all in src gmake[2]: Entering directory '/home/pbulk/work/games/corewars/work/corewars-0.9.13/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include -I/usr/include -DDATADIR="\"/opt/pkg/share/corewars\"" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -MT main-gui.o -MD -MP -MF ".deps/main-gui.Tpo" \ -c -o main-gui.o `test -f 'main-gui.c' || echo './'`main-gui.c; \ then mv ".deps/main-gui.Tpo" ".deps/main-gui.Po"; \ else rm -f ".deps/main-gui.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include -I/usr/include -DDATADIR="\"/opt/pkg/share/corewars\"" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -MT program.o -MD -MP -MF ".deps/program.Tpo" \ -c -o program.o `test -f 'program.c' || echo './'`program.c; \ then mv ".deps/program.Tpo" ".deps/program.Po"; \ else rm -f ".deps/program.Tpo"; exit 1; \ fi In file included from program.c:29: main.h:43:13: error: 'bool' cannot be defined via 'typedef' 43 | typedef int bool; | ^~~~ main.h:43:13: note: 'bool' is a keyword with '-std=c23' onwards main.h:43:1: warning: useless type name in empty declaration 43 | typedef int bool; | ^~~~~~~ In file included from program.c:35: options.h:34:9: warning: 'SIZE_MAX' redefined 34 | #define SIZE_MAX 1000000 | ^~~~~~~~ In file included from /usr/include/sys/inttypes.h:43, from /usr/include/inttypes.h:42, from /usr/include/stdlib.h:325, from program.c:18: /usr/include/sys/int_limits.h:170:9: note: this is the location of the previous definition 170 | #define SIZE_MAX 18446744073709551615UL | ^~~~~~~~ In file included from main-gui.c:28: main.h:43:13: error: 'bool' cannot be defined via 'typedef' 43 | typedef int bool; | ^~~~ main.h:43:13: note: 'bool' is a keyword with '-std=c23' onwards main.h:43:1: warning: useless type name in empty declaration 43 | typedef int bool; | ^~~~~~~ In file included from execute.h:21, from main-gui.c:33: options.h:34:9: warning: 'SIZE_MAX' redefined 34 | #define SIZE_MAX 1000000 | ^~~~~~~~ In file included from /usr/include/sys/inttypes.h:43, from /usr/include/inttypes.h:42, from /usr/include/stdlib.h:325, from main-gui.c:18: /usr/include/sys/int_limits.h:170:9: note: this is the location of the previous definition 170 | #define SIZE_MAX 18446744073709551615UL | ^~~~~~~~ gmake[2]: *** [Makefile:282: program.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... main-gui.c:303:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 303 | { "/File/Load _Directory...", "D", file_loaddirectory, 0, NULL }, | ^~~~~~~~~~~~~~~~~~ main-gui.c:303:54: note: (near initialization for 'menu_items[1].callback') main-gui.c:121:13: note: 'file_loaddirectory' declared here 121 | static void file_loaddirectory (GtkWidget *w, gpointer data) | ^~~~~~~~~~~~~~~~~~ main-gui.c:304:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 304 | { "/File/Select Progra_ms...", "M", file_selectprograms, 0, NULL }, | ^~~~~~~~~~~~~~~~~~~ main-gui.c:304:54: note: (near initialization for 'menu_items[2].callback') In file included from main-gui.c:32: select.h:27:6: note: 'file_selectprograms' declared here 27 | void file_selectprograms( GtkWidget *w, gpointer data ); | ^~~~~~~~~~~~~~~~~~~ main-gui.c:305:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 305 | { "/File/_Start", "S", file_start, 0, NULL }, | ^~~~~~~~~~ main-gui.c:305:54: note: (near initialization for 'menu_items[3].callback') main-gui.c:148:13: note: 'file_start' declared here 148 | static void file_start (GtkWidget *w, gpointer data) | ^~~~~~~~~~ main-gui.c:306:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 306 | { "/File/_Pause", "A", file_pause, 0, NULL }, | ^~~~~~~~~~ main-gui.c:306:54: note: (near initialization for 'menu_items[4].callback') main-gui.c:154:13: note: 'file_pause' declared here 154 | static void file_pause (GtkWidget *w, gpointer data) | ^~~~~~~~~~ main-gui.c:307:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 307 | { "/File/_Continue", "C", file_continue, 0, NULL }, | ^~~~~~~~~~~~~ main-gui.c:307:54: note: (near initialization for 'menu_items[5].callback') main-gui.c:160:13: note: 'file_continue' declared here 160 | static void file_continue (GtkWidget *w, gpointer data) | ^~~~~~~~~~~~~ main-gui.c:308:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 308 | { "/File/Si_ngle Step", "N", file_step, 0, NULL }, | ^~~~~~~~~ main-gui.c:308:54: note: (near initialization for 'menu_items[6].callback') main-gui.c:166:13: note: 'file_step' declared here 166 | static void file_step (GtkWidget *w, gpointer data) | ^~~~~~~~~ main-gui.c:309:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 309 | { "/File/Sto_p", "P", file_stop, 0, NULL }, | ^~~~~~~~~ main-gui.c:309:54: note: (near initialization for 'menu_items[7].callback') main-gui.c:176:13: note: 'file_stop' declared here 176 | static void file_stop (GtkWidget *w, gpointer data) | ^~~~~~~~~ main-gui.c:313:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 313 | { "/View/_Game Statistic...", "G", game_statistic, 0, NULL }, | ^~~~~~~~~~~~~~ main-gui.c:313:54: note: (near initialization for 'menu_items[11].callback') main-gui.c:182:13: note: 'game_statistic' declared here 182 | static void game_statistic (GtkWidget *w, gpointer data) | ^~~~~~~~~~~~~~ main-gui.c:314:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 314 | { "/View/_Program Statistic...", "R", program_statistic, 0, NULL }, | ^~~~~~~~~~~~~~~~~ main-gui.c:314:54: note: (near initialization for 'menu_items[12].callback') main-gui.c:188:13: note: 'program_statistic' declared here 188 | static void program_statistic (GtkWidget *w, gpointer data) | ^~~~~~~~~~~~~~~~~ main-gui.c:315:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 315 | { "/View/_Options...", "O", view_options, 0, NULL }, | ^~~~~~~~~~~~ main-gui.c:315:54: note: (near initialization for 'menu_items[13].callback') options.h:57:6: note: 'view_options' declared here 57 | void view_options (GtkWidget *w, gpointer data); | ^~~~~~~~~~~~ main-gui.c:317:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 317 | { "/Tournament/_Start...", "T", tournament_start, 0, NULL }, | ^~~~~~~~~~~~~~~~ main-gui.c:317:54: note: (near initialization for 'menu_items[15].callback') In file included from main-gui.c:39: tournament.h:25:6: note: 'tournament_start' declared here 25 | void tournament_start (GtkWidget *w, gpointer data); | ^~~~~~~~~~~~~~~~ main-gui.c:318:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 318 | { "/Tournament/Sto_p", "H", tournament_stop, 0, NULL }, | ^~~~~~~~~~~~~~~ main-gui.c:318:54: note: (near initialization for 'menu_items[16].callback') tournament.h:26:6: note: 'tournament_stop' declared here 26 | void tournament_stop (GtkWidget *w, gpointer data); | ^~~~~~~~~~~~~~~ main-gui.c:320:54: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkWidget *, void *)' {aka 'void (*)(struct _GtkWidget *, void *)'} [-Wincompatible-pointer-types] 320 | { "/Help/_About...", "B", help_about, 0, NULL }, | ^~~~~~~~~~ main-gui.c:320:54: note: (near initialization for 'menu_items[18].callback') main-gui.c:194:13: note: 'help_about' declared here 194 | static void help_about (GtkWidget *w, gpointer data) | ^~~~~~~~~~ gmake[2]: *** [Makefile:282: main-gui.o] Error 1 gmake[2]: Leaving directory '/home/pbulk/work/games/corewars/work/corewars-0.9.13/src' gmake[1]: *** [Makefile:204: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/work/games/corewars/work/corewars-0.9.13' gmake: *** [Makefile:159: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/corewars *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/corewars