>>> Building on amd64-1 under games/clonekeen BDEPENDS = [devel/sdl] DIST = [games/clonekeen:clonekeen-src-84.tar.gz] FULLPKGNAME = clonekeen-8.4p7 RDEPENDS = [devel/sdl] (Junk lock obtained for amd64-1 at 1779825752.88) >>> Running depends in games/clonekeen at 1779825752.94 last junk was in www/p5-Test-LWP-UserAgent /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 was: /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 >>> Running show-prepare-results in games/clonekeen at 1779825756.93 ===> games/clonekeen ===> Building from scratch clonekeen-8.4p7 ===> clonekeen-8.4p7 depends on: sdl-* -> sdl-1.2.15p12 ===> Verifying specs: SDL c m pthread c++ c++abi pthread ===> found SDL.8.0 c.103.0 m.10.1 pthread.28.1 c++.12.0 c++abi.9.0 sdl-1.2.15p12 (Junk lock released for amd64-1 at 1779825757.66) distfiles size=756931 >>> Running build in games/clonekeen at 1779825757.70 ===> games/clonekeen ===> Checking files for clonekeen-8.4p7 `/usr/ports/distfiles/clonekeen-src-84.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for clonekeen-8.4p7 ===> Patching for clonekeen-8.4p7 ===> Applying OpenBSD patch patch-src_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/Makefile.orig Tue May 25 03:11:52 2010 |+++ src/Makefile Sun Oct 24 20:57:53 2010 -------------------------- Patching file src/Makefile using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 17. Hunk #3 succeeded at 35. done ===> Applying OpenBSD patch patch-src_eseq_ep2_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/eseq_ep2.c |--- src/eseq_ep2.c.orig |+++ src/eseq_ep2.c -------------------------- Patching file src/eseq_ep2.c using Plan A... Hunk #1 succeeded at 356. done ===> Applying OpenBSD patch patch-src_gamepdo_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/gamepdo.c |--- src/gamepdo.c.orig |+++ src/gamepdo.c -------------------------- Patching file src/gamepdo.c using Plan A... Hunk #1 succeeded at 7. done ===> Applying OpenBSD patch patch-src_keen_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/keen.h.orig Sun Oct 24 22:28:25 2010 |+++ src/keen.h Sun Oct 24 22:28:50 2010 -------------------------- Patching file src/keen.h using Plan A... Hunk #1 succeeded at 765. done ===> Applying OpenBSD patch patch-src_menu_custommap_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/menu_custommap.c |--- src/menu_custommap.c.orig |+++ src/menu_custommap.c -------------------------- Patching file src/menu_custommap.c using Plan A... Hunk #1 succeeded at 4. done ===> Applying OpenBSD patch patch-src_menu_keysetup_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/menu_keysetup.c |--- src/menu_keysetup.c.orig |+++ src/menu_keysetup.c -------------------------- Patching file src/menu_keysetup.c using Plan A... Hunk #1 succeeded at 4. done ===> Applying OpenBSD patch patch-src_menu_options_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/menu_options.c |--- src/menu_options.c.orig |+++ src/menu_options.c -------------------------- Patching file src/menu_options.c using Plan A... Hunk #1 succeeded at 7. done ===> Applying OpenBSD patch patch-src_menu_savegames_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/menu_savegames.c |--- src/menu_savegames.c.orig |+++ src/menu_savegames.c -------------------------- Patching file src/menu_savegames.c using Plan A... Hunk #1 succeeded at 3. done ===> Applying OpenBSD patch patch-src_menumanager_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/menumanager.c |--- src/menumanager.c.orig |+++ src/menumanager.c -------------------------- Patching file src/menumanager.c using Plan A... Hunk #1 succeeded at 10. done ===> Applying OpenBSD patch patch-src_misc_ui_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/misc_ui.c |--- src/misc_ui.c.orig |+++ src/misc_ui.c -------------------------- Patching file src/misc_ui.c using Plan A... Hunk #1 succeeded at 2. Hunk #2 succeeded at 133. done ===> Applying OpenBSD patch patch-src_savegame_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Make sure the saves are in the user's home dir where they have write access | |--- src/savegame.c.orig Tue May 25 03:11:52 2010 |+++ src/savegame.c Sun Oct 24 23:11:23 2010 -------------------------- Patching file src/savegame.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 151. Hunk #3 succeeded at 241. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for clonekeen-8.4p7 ===> Configuring for clonekeen-8.4p7 ===> Building for clonekeen-8.4p7 cc -I/usr/local/include -Wno-int-conversion -c main.c -o main.o cc -I/usr/local/include -Wno-int-conversion -c sanity.c -o sanity.o sanity.c:140:18: warning: cast to smaller integer type 'char' from 'char *' [-Wpointer-to-int-cast] 140 | wheretogetit = (char)(*list)[i+2]; | ^~~~~~~~~~~~~~~~~~ sanity.c:155:22: warning: comparison between pointer and integer ('char' and 'char *') [-Wpointer-integer-compare] 155 | if (wheretogetit == COMESWITHKEEN || 1) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ sanity.c:156:19: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 156 | getFromWhere = kFromOriginal; | ^ ~~~~~~~~~~~~~ sanity.c:158:19: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 158 | getFromWhere = kFromCloneKeen; | ^ ~~~~~~~~~~~~~~ 4 warnings generated. cc -I/usr/local/include -Wno-int-conversion -c game.c -o game.o cc -I/usr/local/include -Wno-int-conversion -c gamedo.c -o gamedo.o gamedo.c:683:19: warning: left operand of comma operator has no effect [-Wunused-value] 683 | IsStopPoint(x, (x, ((objects[o].y>>CSF)+ysize-1)), o)) | ^ gamedo.c:953:45: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 953 | sprintf(debugmsg, "p1x/y: %d/%d [%d,%d]", player[0].x, player[0].y, player[0].x>>CSF,player[0].y>>CSF); | ~~ ^~~~~~~~~~~ | %lu gamedo.c:953:71: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 953 | sprintf(debugmsg, "p1x/y: %d/%d [%d,%d]", player[0].x, player[0].y, player[0].x>>CSF,player[0].y>>CSF); | ~~ ^~~~~~~~~~~~~~~~ | %lu gamedo.c:999:23: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 999 | sprintf(temp, "%d", player[p].inventory.score); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ | %lu 4 warnings generated. cc -I/usr/local/include -Wno-int-conversion -c gamepdo.c -o gamepdo.o cc -I/usr/local/include -Wno-int-conversion -c gamepdo_wm.c -o gamepdo_wm.o cc -I/usr/local/include -Wno-int-conversion -c editor/editor.c -o editor/editor.o cc -I/usr/local/include -Wno-int-conversion -c editor/autolight.c -o editor/autolight.o editor/autolight.c:201:1: warning: non-void function does not return a value [-Wreturn-type] 201 | } | ^ 1 warning generated. cc -I/usr/local/include -Wno-int-conversion -c console.c -o console.o cc -I/usr/local/include -Wno-int-conversion -c fileio.c -o fileio.o fileio.c:73:5: warning: call to undeclared function 'stat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | stat("trying '%s'", fname); | ^ 1 warning generated. cc -I/usr/local/include -Wno-int-conversion -c maploader.c -o maploader.o maploader.c:459:1: warning: non-void function does not return a value [-Wreturn-type] 459 | } | ^ 1 warning generated. cc -I/usr/local/include -Wno-int-conversion -c map.c -o map.o cc -I/usr/local/include -Wno-int-conversion -c graphics.c -o graphics.o cc -I/usr/local/include -Wno-int-conversion -c palette.c -o palette.o cc -I/usr/local/include -Wno-int-conversion -c fonts.c -o fonts.o fonts.c:17:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | (*drawingfunc)(x, y, c); | ^ 1 warning generated. cc -I/usr/local/include -Wno-int-conversion -c misc.c -o misc.o cc -I/usr/local/include -Wno-int-conversion -c misc_ui.c -o misc_ui.o cc -I/usr/local/include -Wno-int-conversion -c graphicmaker.c -o graphicmaker.o cc -I/usr/local/include -Wno-int-conversion -c ini.c -o ini.o cc -I/usr/local/include -Wno-int-conversion -c intro.c -o intro.o cc -I/usr/local/include -Wno-int-conversion -c menumanager.c -o menumanager.o menumanager.c:17:35: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] 17 | "1-Player Game", MNU_CALLFP, goto_epmenu, 1, | ^~~~~~~~~~~ menumanager.c:18:35: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] 18 | "2-Player Game", MNU_CALLFP, goto_epmenu, 2, | ^~~~~~~~~~~ menumanager.c:19:32: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 19 | "Editor", MNU_SWITCHMENU, edloadmap_menu, 0, | ^~~~~~~~~~~~~~ menumanager.c:20:35: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 20 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, | ^~~~~~~~~~~~~ menumanager.c:21:33: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 21 | "Options", MNU_SWITCHMENU, option_menu, 0, | ^~~~~~~~~~~ menumanager.c:22:31: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 22 | "About", MNU_SWITCHMENU, about_menu, 0, | ^~~~~~~~~~ menumanager.c:24:26: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] 24 | "Quit", MNU_CALLFP, mmhandler_quit, 0, | ^~~~~~~~~~~~~~ menumanager.c:29:34: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 29 | "New Game", MNU_SWITCHMENU, selectep_menu, 0, | ^~~~~~~~~~~~~ menumanager.c:30:35: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 30 | "Save Game", MNU_SWITCHMENU, savegame_menu, 0, | ^~~~~~~~~~~~~ menumanager.c:31:35: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 31 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, | ^~~~~~~~~~~~~ menumanager.c:32:33: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 32 | "Options", MNU_SWITCHMENU, option_menu, 0, | ^~~~~~~~~~~ menumanager.c:34:31: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] 34 | "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, | ^~~~~~~~~~~~~~~~~~~~~~ menumanager.c:35:34: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 35 | "End Game", MNU_SWITCHMENU, endgame_menu, 0, | ^~~~~~~~~~~~ menumanager.c:36:26: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] 36 | "Quit", MNU_CALLFP, mmhandler_quit, 0, | ^~~~~~~~~~~~~~ menumanager.c:41:34: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 41 | "New Game", MNU_SWITCHMENU, selectep_menu, 0, | ^~~~~~~~~~~~~ menumanager.c:42:35: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 42 | "Save Game", MNU_SWITCHMENU, savegame_menu, 0, | ^~~~~~~~~~~~~ menumanager.c:43:35: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 43 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, | ^~~~~~~~~~~~~ menumanager.c:44:33: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 44 | "Options", MNU_SWITCHMENU, option_menu, 0, | ^~~~~~~~~~~ menumanager.c:46:34: error: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] 46 | "End Game", MNU_SWITCHMENU, endgame_menu, 0, | ^~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** Error 1 in /usr/obj/ports/clonekeen-8.4/keen/src (Makefile:165 'menumanager.o') *** Error 2 in games/clonekeen (/usr/ports/infrastructure/mk/bsd.port.mk:3079 '/usr/obj/ports/clonekeen-8.4/.build_done': @cd /usr/obj/ports...) *** Error 2 in games/clonekeen (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=clonekeen-8.4p7; export _LOCKS_HELD=" clonekee...) ===> Exiting games/clonekeen with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1779825761.29 max_stuck=0.00/depends=4.01/show-prepare-results=0.77/build=3.62 Error: job failed with 512 on amd64-1 at 1779825761