=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/games/teg", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for teg-0.12.0nb16 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/work/games/teg/work/teg-0.12.0' Making all in . gmake[2]: Entering directory '/home/pbulk/work/games/teg/work/teg-0.12.0' /opt/pkg/bin/glib-compile-resources --sourcedir=./client/gui-gnome --target=stock_gresources.h \ --generate-header --manual-register --c-name=stock client/gui-gnome/stock.gresource.xml gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I./common -DBINDIR=\"/opt/pkg/bin\" -DTHEMEDIR=\"/opt/pkg/share/pixmaps/teg_pix/themes/\" -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -I/opt/pkg/include/libxml2 -Wall -Wno-unused-parameter -MT client/libclient_a-player.o -MD -MP -MF client/.deps/libclient_a-player.Tpo -c -o client/libclient_a-player.o `test -f 'client/player.c' || echo './'`client/player.c gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I./common -DBINDIR=\"/opt/pkg/bin\" -DTHEMEDIR=\"/opt/pkg/share/pixmaps/teg_pix/themes/\" -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -I/opt/pkg/include/libxml2 -Wall -Wno-unused-parameter -MT client/libclient_a-misc.o -MD -MP -MF client/.deps/libclient_a-misc.Tpo -c -o client/libclient_a-misc.o `test -f 'client/misc.c' || echo './'`client/misc.c mv -f client/.deps/libclient_a-player.Tpo client/.deps/libclient_a-player.Po gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I./common -DBINDIR=\"/opt/pkg/bin\" -DTHEMEDIR=\"/opt/pkg/share/pixmaps/teg_pix/themes/\" -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -I/opt/pkg/include/libxml2 -Wall -Wno-unused-parameter -MT client/libclient_a-inputfd.o -MD -MP -MF client/.deps/libclient_a-inputfd.Tpo -c -o client/libclient_a-inputfd.o `test -f 'client/inputfd.c' || echo './'`client/inputfd.c client/inputfd.c:75:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 75 | { TOKEN_REM, clitok_rem }, | ^~~~~~~~~~ client/inputfd.c:75:33: note: (near initialization for 'tokens[0].func') client/inputfd.c:35:12: note: 'clitok_rem' declared here 35 | TEG_STATUS clitok_rem(char *str); | ^~~~~~~~~~ client/inputfd.c:76:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 76 | { TOKEN_STATUS, clitok_status }, | ^~~~~~~~~~~~~ client/inputfd.c:76:33: note: (near initialization for 'tokens[1].func') client/inputfd.c:36:12: note: 'clitok_status' declared here 36 | TEG_STATUS clitok_status(char *str); | ^~~~~~~~~~~~~ client/inputfd.c:77:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 77 | { TOKEN_START, clitok_start }, | ^~~~~~~~~~~~ client/inputfd.c:77:33: note: (near initialization for 'tokens[2].func') client/inputfd.c:37:12: note: 'clitok_start' declared here 37 | TEG_STATUS clitok_start(char *str); | ^~~~~~~~~~~~ client/inputfd.c:78:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 78 | { TOKEN_PLAYERID, clitok_playerid }, | ^~~~~~~~~~~~~~~ client/inputfd.c:78:33: note: (near initialization for 'tokens[3].func') client/inputfd.c:38:12: note: 'clitok_playerid' declared here 38 | TEG_STATUS clitok_playerid(char *str); | ^~~~~~~~~~~~~~~ client/inputfd.c:79:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 79 | { TOKEN_NEWPLAYER, clitok_newplayer}, | ^~~~~~~~~~~~~~~~ client/inputfd.c:79:33: note: (near initialization for 'tokens[4].func') client/inputfd.c:39:12: note: 'clitok_newplayer' declared here 39 | TEG_STATUS clitok_newplayer(char *str); | ^~~~~~~~~~~~~~~~ client/inputfd.c:80:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 80 | { TOKEN_MESSAGE, clitok_message }, | ^~~~~~~~~~~~~~ client/inputfd.c:80:33: note: (near initialization for 'tokens[5].func') client/inputfd.c:40:12: note: 'clitok_message' declared here 40 | TEG_STATUS clitok_message(char *str); | ^~~~~~~~~~~~~~ client/inputfd.c:81:41: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 81 | { TOKEN_COUNTRIES, clitok_countries }, | ^~~~~~~~~~~~~~~~ client/inputfd.c:81:41: note: (near initialization for 'tokens[6].func') client/inputfd.c:41:12: note: 'clitok_countries' declared here 41 | TEG_STATUS clitok_countries(char *str); | ^~~~~~~~~~~~~~~~ client/inputfd.c:82:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 82 | { TOKEN_FICHAS, clitok_fichas }, | ^~~~~~~~~~~~~ client/inputfd.c:82:33: note: (near initialization for 'tokens[7].func') client/inputfd.c:42:12: note: 'clitok_fichas' declared here 42 | TEG_STATUS clitok_fichas(char *str); | ^~~~~~~~~~~~~ client/inputfd.c:83:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 83 | { TOKEN_FICHAS2, clitok_fichas2 }, | ^~~~~~~~~~~~~~ client/inputfd.c:83:33: note: (near initialization for 'tokens[8].func') client/inputfd.c:43:12: note: 'clitok_fichas2' declared here 43 | TEG_STATUS clitok_fichas2(char *str); | ^~~~~~~~~~~~~~ client/inputfd.c:84:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 84 | { TOKEN_FICHASC, clitok_fichasc }, | ^~~~~~~~~~~~~~ client/inputfd.c:84:33: note: (near initialization for 'tokens[9].func') client/inputfd.c:44:12: note: 'clitok_fichasc' declared here 44 | TEG_STATUS clitok_fichasc(char *str); | ^~~~~~~~~~~~~~ client/inputfd.c:85:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 85 | { TOKEN_TURNO, clitok_turno }, | ^~~~~~~~~~~~ client/inputfd.c:85:33: note: (near initialization for 'tokens[10].func') client/inputfd.c:45:12: note: 'clitok_turno' declared here 45 | TEG_STATUS clitok_turno(char *str); | ^~~~~~~~~~~~ client/inputfd.c:86:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 86 | { TOKEN_ATAQUE, clitok_attack }, | ^~~~~~~~~~~~~ client/inputfd.c:86:33: note: (near initialization for 'tokens[11].func') client/inputfd.c:46:12: note: 'clitok_attack' declared here 46 | TEG_STATUS clitok_attack(char *str); | ^~~~~~~~~~~~~ client/inputfd.c:87:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 87 | { TOKEN_DADOS, clitok_dados }, | ^~~~~~~~~~~~ client/inputfd.c:87:33: note: (near initialization for 'tokens[12].func') client/inputfd.c:47:12: note: 'clitok_dados' declared here 47 | TEG_STATUS clitok_dados(char *str); | ^~~~~~~~~~~~ client/inputfd.c:88:41: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 88 | { TOKEN_COUNTRY, clitok_country }, | ^~~~~~~~~~~~~~ client/inputfd.c:88:41: note: (near initialization for 'tokens[13].func') client/inputfd.c:48:12: note: 'clitok_country' declared here 48 | TEG_STATUS clitok_country(char *str); | ^~~~~~~~~~~~~~ client/inputfd.c:89:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 89 | { TOKEN_ERROR, clitok_error }, | ^~~~~~~~~~~~ client/inputfd.c:89:33: note: (near initialization for 'tokens[14].func') client/inputfd.c:49:12: note: 'clitok_error' declared here 49 | TEG_STATUS clitok_error(char *str); | ^~~~~~~~~~~~ client/inputfd.c:90:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 90 | { TOKEN_OK, clitok_ok }, | ^~~~~~~~~ client/inputfd.c:90:33: note: (near initialization for 'tokens[15].func') client/inputfd.c:50:12: note: 'clitok_ok' declared here 50 | TEG_STATUS clitok_ok(char *str); | ^~~~~~~~~ client/inputfd.c:91:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 91 | { TOKEN_TROPAS, clitok_tropas }, | ^~~~~~~~~~~~~ client/inputfd.c:91:33: note: (near initialization for 'tokens[16].func') client/inputfd.c:51:12: note: 'clitok_tropas' declared here 51 | TEG_STATUS clitok_tropas(char *str); | ^~~~~~~~~~~~~ client/inputfd.c:92:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 92 | { TOKEN_TARJETA, clitok_tarjeta }, | ^~~~~~~~~~~~~~ client/inputfd.c:92:33: note: (near initialization for 'tokens[17].func') client/inputfd.c:52:12: note: 'clitok_tarjeta' declared here 52 | TEG_STATUS clitok_tarjeta(char *str); | ^~~~~~~~~~~~~~ client/inputfd.c:93:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 93 | { TOKEN_CANJE, clitok_exchange }, | ^~~~~~~~~~~~~~~ client/inputfd.c:93:33: note: (near initialization for 'tokens[18].func') client/inputfd.c:53:12: note: 'clitok_exchange' declared here 53 | TEG_STATUS clitok_exchange(char *str); | ^~~~~~~~~~~~~~~ client/inputfd.c:94:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 94 | { TOKEN_MODALIDAD, clitok_modalidad}, | ^~~~~~~~~~~~~~~~ client/inputfd.c:94:33: note: (near initialization for 'tokens[19].func') client/inputfd.c:54:12: note: 'clitok_modalidad' declared here 54 | TEG_STATUS clitok_modalidad(char *str); | ^~~~~~~~~~~~~~~~ client/inputfd.c:95:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 95 | { TOKEN_MISSION, clitok_mission }, | ^~~~~~~~~~~~~~ client/inputfd.c:95:33: note: (near initialization for 'tokens[20].func') client/inputfd.c:55:12: note: 'clitok_mission' declared here 55 | TEG_STATUS clitok_mission(char *str); | ^~~~~~~~~~~~~~ client/inputfd.c:96:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 96 | { TOKEN_WINNER, clitok_winner }, | ^~~~~~~~~~~~~ client/inputfd.c:96:33: note: (near initialization for 'tokens[21].func') client/inputfd.c:56:12: note: 'clitok_winner' declared here 56 | TEG_STATUS clitok_winner(char *str); | ^~~~~~~~~~~~~ client/inputfd.c:97:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 97 | { TOKEN_LOST, clitok_lost }, | ^~~~~~~~~~~ client/inputfd.c:97:33: note: (near initialization for 'tokens[22].func') client/inputfd.c:57:12: note: 'clitok_lost' declared here 57 | TEG_STATUS clitok_lost(char *str); | ^~~~~~~~~~~ client/inputfd.c:98:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 98 | { TOKEN_EXIT, clitok_exit }, | ^~~~~~~~~~~ client/inputfd.c:98:33: note: (near initialization for 'tokens[23].func') client/inputfd.c:58:12: note: 'clitok_exit' declared here 58 | TEG_STATUS clitok_exit(char *str); | ^~~~~~~~~~~ client/inputfd.c:99:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 99 | { TOKEN_PVERSION, clitok_pversion }, | ^~~~~~~~~~~~~~~ client/inputfd.c:99:33: note: (near initialization for 'tokens[24].func') client/inputfd.c:59:12: note: 'clitok_pversion' declared here 59 | TEG_STATUS clitok_pversion(char *str); | ^~~~~~~~~~~~~~~ client/inputfd.c:100:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 100 | { TOKEN_SVERSION, clitok_sversion }, | ^~~~~~~~~~~~~~~ client/inputfd.c:100:33: note: (near initialization for 'tokens[25].func') client/inputfd.c:60:12: note: 'clitok_sversion' declared here 60 | TEG_STATUS clitok_sversion(char *str); | ^~~~~~~~~~~~~~~ client/inputfd.c:101:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 101 | { TOKEN_SURRENDER, clitok_surrender}, | ^~~~~~~~~~~~~~~~ client/inputfd.c:101:33: note: (near initialization for 'tokens[26].func') client/inputfd.c:62:12: note: 'clitok_surrender' declared here 62 | TEG_STATUS clitok_surrender(char *str); | ^~~~~~~~~~~~~~~~ client/inputfd.c:104:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 104 | { TOKEN_KICK, clitok_kick }, | ^~~~~~~~~~~ client/inputfd.c:104:33: note: (near initialization for 'tokens[29].func') client/inputfd.c:64:12: note: 'clitok_kick' declared here 64 | TEG_STATUS clitok_kick(char *str); | ^~~~~~~~~~~ client/inputfd.c:105:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(const char *)' [-Wincompatible-pointer-types] 105 | { TOKEN_SCORES, clitok_scores }, | ^~~~~~~~~~~~~ client/inputfd.c:105:33: note: (near initialization for 'tokens[30].func') client/inputfd.c:65:12: note: 'clitok_scores' declared here 65 | TEG_STATUS clitok_scores(const char *str); | ^~~~~~~~~~~~~ client/inputfd.c:106:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 106 | { TOKEN_RECONNECT, clitok_reconnect}, | ^~~~~~~~~~~~~~~~ client/inputfd.c:106:33: note: (near initialization for 'tokens[31].func') client/inputfd.c:66:12: note: 'clitok_reconnect' declared here 66 | TEG_STATUS clitok_reconnect(char *str); | ^~~~~~~~~~~~~~~~ client/inputfd.c:107:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 107 | { TOKEN_ENUM_CARDS, clitok_enum_cards}, | ^~~~~~~~~~~~~~~~~ client/inputfd.c:107:33: note: (near initialization for 'tokens[32].func') client/inputfd.c:67:12: note: 'clitok_enum_cards' declared here 67 | TEG_STATUS clitok_enum_cards(char *str); | ^~~~~~~~~~~~~~~~~ client/inputfd.c:108:33: error: initialization of 'TEG_STATUS (*)(void)' from incompatible pointer type 'TEG_STATUS (*)(char *)' [-Wincompatible-pointer-types] 108 | { TOKEN_NEW_ROUND, clitok_new_round}, | ^~~~~~~~~~~~~~~~ client/inputfd.c:108:33: note: (near initialization for 'tokens[33].func') client/inputfd.c:69:12: note: 'clitok_new_round' declared here 69 | TEG_STATUS clitok_new_round(char *str); | ^~~~~~~~~~~~~~~~ client/inputfd.c: In function 'clitok_exchange': client/inputfd.c:1320:17: error: too many arguments to function 'gui_canje'; expected 0, have 4 1320 | gui_canje(cant, p1, p2, p3); | ^~~~~~~~~ ~~~~ In file included from client/client.h:28, from client/inputfd.c:33: client/globals.h:50:19: note: declared here 50 | extern TEG_STATUS gui_canje(); | ^~~~~~~~~ client/inputfd.c: In function 'client_lookup': client/inputfd.c:1596:50: error: too many arguments to function 'tokens[i].func'; expected 0, have 1 1596 | return((tokens[i].func)(p->value)); | ~~~~~~~~~~^~~~~~ ~~~~~~~~ client/inputfd.c:73:21: note: declared here 73 | TEG_STATUS(*func)(); | ^~~~ gmake[2]: *** [Makefile:1465: client/libclient_a-inputfd.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... mv -f client/.deps/libclient_a-misc.Tpo client/.deps/libclient_a-misc.Po gmake[2]: Leaving directory '/home/pbulk/work/games/teg/work/teg-0.12.0' gmake[1]: *** [Makefile:2554: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/work/games/teg/work/teg-0.12.0' gmake: *** [Makefile:972: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/teg *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/teg