>>> Building on sparc64-2b under games/wrath BDEPENDS = [devel/sdl2;lang/gcc/15;devel/gmake;graphics/jpeg] DIST = [games/wrath:wrath-1.0-d7a494fb.tar.gz] FULLPKGNAME = wrath-1.0 RDEPENDS = [graphics/jpeg;devel/sdl2] Avoided depends for gcc-15.2.0p5 gmake-4.4.1p0 sdl2-2.32.8 jpeg-3.1.3v0 distfiles size=2710199 >>> Running patch in games/wrath at 1766332217.25 ===> games/wrath ===> Building from scratch wrath-1.0 ===> wrath-1.0 depends on: gcc->=15,<16 -> gcc-15.2.0p5 ===> wrath-1.0 depends on: gmake-* -> gmake-4.4.1p0 ===> wrath-1.0 depends on: sdl2-* -> sdl2-2.32.8 ===> wrath-1.0 depends on: jpeg-* -> jpeg-3.1.3v0 ===> Verifying specs: SDL2 X11 c jpeg m z ===> found SDL2.0.15 X11.19.0 c.102.2 jpeg.71.0 m.10.1 z.7.1 ===> Checking files for wrath-1.0 `/usr/ports/distfiles/wrath-1.0-d7a494fb.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for wrath-1.0 ===> Patching for wrath-1.0 ===> Applying OpenBSD patch patch-makefile_inc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: makefile.inc |--- makefile.inc.orig |+++ makefile.inc -------------------------- Patching file makefile.inc using Plan A... Hunk #1 succeeded at 191 (offset 1 line). done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in games/wrath at 1766332227.42 ===> games/wrath ===> Generating configure for wrath-1.0 ===> Configuring for wrath-1.0 >>> Running build in games/wrath at 1766332229.03 ===> games/wrath ===> Building for wrath-1.0 gmake SDL_CONFIG=sdl2-config sdl-release gmake[1]: Entering directory '/usr/obj/ports/wrath-1.0/wrath-darkplaces-d7a494fbe76f45a84d1df0c7360c0c4848042e45' gmake bin-release \ DP_MAKE_TARGET=bsd DP_SOUND_API=BSD \ EXE='wrath-sdl' CFLAGS_FEATURES='-DCONFIG_MENU -DCONFIG_CD -DCONFIG_VIDEO_CAPTURE' LDFLAGS_COMMON='-lm -lz -ljpeg `sdl2-config --libs` -lX11' LEVEL=1 gmake[2]: Entering directory '/usr/obj/ports/wrath-1.0/wrath-darkplaces-d7a494fbe76f45a84d1df0c7360c0c4848042e45' ========== wrath-sdl (release) ========== gmake prepare BUILD_DIR=build-obj/release/wrath-sdl gmake[3]: Entering directory '/usr/obj/ports/wrath-1.0/wrath-darkplaces-d7a494fbe76f45a84d1df0c7360c0c4848042e45' mkdir -p build-obj/release/wrath-sdl cp -f makefile.inc build-obj/release/wrath-sdl/ cp -f makefile build-obj/release/wrath-sdl/ gmake[3]: Leaving directory '/usr/obj/ports/wrath-1.0/wrath-darkplaces-d7a494fbe76f45a84d1df0c7360c0c4848042e45' gmake -C build-obj/release/wrath-sdl wrath-sdl \ DP_MAKE_TARGET=bsd DP_SOUND_API=BSD \ CFLAGS='-MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -I/usr/local/include -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -DCONFIG_MENU -DCONFIG_CD -DCONFIG_VIDEO_CAPTURE -fno-strict-aliasing -O2 -pipe '\ LDFLAGS='-fno-strict-aliasing -O2 -pipe -DSVNREVISION=`{ test -d .svn && svnversion; } || { test -d .git && git describe --always; } || echo -` -DBUILDTYPE=release -lm -lz -ljpeg `sdl2-config --libs` -lX11' LEVEL=2 gmake[3]: Entering directory '/usr/obj/ports/wrath-1.0/wrath-darkplaces-d7a494fbe76f45a84d1df0c7360c0c4848042e45/build-obj/release/wrath-sdl' cc -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -I/usr/local/include -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -DCONFIG_MENU -DCONFIG_CD -DCONFIG_VIDEO_CAPTURE -fno-strict-aliasing -O2 -pipe -c ../../../sys_sdl.c -o sys_sdl.o `sdl2-config --cflags` cc -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -I/usr/local/include -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -DCONFIG_MENU -DCONFIG_CD -DCONFIG_VIDEO_CAPTURE -fno-strict-aliasing -O2 -pipe -c ../../../vid_sdl.c -o vid_sdl.o `sdl2-config --cflags` ../../../vid_sdl.c: In function 'VID_BuildJoyState': ../../../vid_sdl.c:743:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 743 | SDL_GameController *controller = vid_sdlcontroller; | ^~~~~~~~~~~~~~~~~~ ../../../vid_sdl.c:804:30: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 804 | for(j = 0; j < (sizeof(axisList) / sizeof(axis_t)); j++) | ^ ../../../vid_sdl.c:809:30: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 809 | for(j = 0; j < (sizeof(buttonList) / sizeof(SDL_GameControllerButton)); j++) | ^ ../../../vid_sdl.c:814:30: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 814 | for(n = 0; n < (sizeof(axisButtonList) / sizeof(axisbutton_t)); j++, n++) | ^ ../../../vid_sdl.c: In function 'VID_EnableJoystick': ../../../vid_sdl.c:2200:50: error: passing argument 1 of 'SDL_IsGameController' makes integer from pointer without a cast [-Wint-conversion] 2200 | if (SDL_IsGameController(vid_sdljoystick)) | ^~~~~~~~~~~~~~~ | | | SDL_Joystick * {aka struct _SDL_Joystick *} In file included from /usr/local/include/SDL2/SDL_events.h:37, from /usr/local/include/SDL2/SDL.h:40, from ../../../vid_sdl.c:20: /usr/local/include/SDL2/SDL_gamecontroller.h:287:59: note: expected 'int' but argument is of type 'SDL_Joystick *' {aka 'struct _SDL_Joystick *'} 287 | extern DECLSPEC SDL_bool SDLCALL SDL_IsGameController(int joystick_index); | ~~~~^~~~~~~~~~~~~~ ../../../vid_sdl.c:2201:57: warning: passing argument 1 of 'SDL_GameControllerClose' from incompatible pointer type [-Wincompatible-pointer-types] 2201 | SDL_GameControllerClose(vid_sdljoystick); | ^~~~~~~~~~~~~~~ | | | SDL_Joystick * {aka struct _SDL_Joystick *} /usr/local/include/SDL2/SDL_gamecontroller.h:1071:74: note: expected 'SDL_GameController *' {aka 'struct _SDL_GameController *'} but argument is of type 'SDL_Joystick *' {aka 'struct _SDL_Joystick *'} 1071 | extern DECLSPEC void SDLCALL SDL_GameControllerClose(SDL_GameController *gamecontroller); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../../vid_sdl.c:2211:49: warning: assignment to 'SDL_Joystick *' {aka 'struct _SDL_Joystick *'} from incompatible pointer type 'SDL_GameController *' {aka 'struct _SDL_GameController *'} [-Wincompatible-pointer-types] 2211 | vid_sdljoystick = SDL_GameControllerOpen(sdlindex); | ^ ../../../vid_sdl.c:2212:51: warning: assignment to 'SDL_GameController *' {aka 'struct _SDL_GameController *'} from incompatible pointer type 'SDL_Joystick *' {aka 'struct _SDL_Joystick *'} [-Wincompatible-pointer-types] 2212 | vid_sdlcontroller = vid_sdljoystick; | ^ ../../../vid_sdl.c:2215:91: warning: passing argument 1 of 'SDL_GameControllerName' from incompatible pointer type [-Wincompatible-pointer-types] 2215 | const char *joystickname = SDL_GameControllerName(vid_sdljoystick); | ^~~~~~~~~~~~~~~ | | | SDL_Joystick * {aka struct _SDL_Joystick *} /usr/local/include/SDL2/SDL_gamecontroller.h:424:80: note: expected 'SDL_GameController *' {aka 'struct _SDL_GameController *'} but argument is of type 'SDL_Joystick *' {aka 'struct _SDL_Joystick *'} 424 | extern DECLSPEC const char *SDLCALL SDL_GameControllerName(SDL_GameController *gamecontroller); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../../vid_sdl.c: In function 'VID_ControllerType': ../../../vid_sdl.c:2952:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2952 | SDL_GameControllerType sdltype = SDL_GameControllerTypeForIndex(index); | ^~~~~~~~~~~~~~~~~~~~~~ ../../../vid_sdl.c: In function 'VID_ControllerRumble': ../../../vid_sdl.c:2978:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2978 | SDL_GameController *controller = vid_sdlcontroller; | ^~~~~~~~~~~~~~~~~~ ../../../vid_sdl.c: In function 'VID_ControllerRumbleTriggers': ../../../vid_sdl.c:2995:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2995 | SDL_GameController *controller = vid_sdlcontroller; | ^~~~~~~~~~~~~~~~~~ ../../../vid_sdl.c: At top level: ../../../vid_sdl.c:2762:17: warning: 'VID_InitModeSoft' defined but not used [-Wunused-function] 2762 | static qboolean VID_InitModeSoft(viddef_mode_t *mode) | ^~~~~~~~~~~~~~~~ gmake[3]: *** [makefile.inc:515: vid_sdl.o] Error 1 gmake[3]: Leaving directory '/usr/obj/ports/wrath-1.0/wrath-darkplaces-d7a494fbe76f45a84d1df0c7360c0c4848042e45/build-obj/release/wrath-sdl' gmake[2]: *** [makefile.inc:474: bin-release] Error 2 gmake[2]: Leaving directory '/usr/obj/ports/wrath-1.0/wrath-darkplaces-d7a494fbe76f45a84d1df0c7360c0c4848042e45' gmake[1]: *** [makefile.inc:420: sdl-release] Error 2 gmake[1]: Leaving directory '/usr/obj/ports/wrath-1.0/wrath-darkplaces-d7a494fbe76f45a84d1df0c7360c0c4848042e45' gmake: *** [makefile.inc:441: sdl2-release] Error 2 *** Error 2 in games/wrath (/usr/ports/infrastructure/mk/bsd.port.mk:3067 '/usr/obj/ports/wrath-1.0/.build_done': @cd /usr/obj/ports/wrath-1...) *** Error 2 in games/wrath (/usr/ports/infrastructure/mk/bsd.port.mk:2710 'build': @lock=wrath-1.0; export _LOCKS_HELD=" wrath-1.0"; /usr...) ===> Exiting games/wrath 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 1766332237.28 max_stuck=0.00/patch=10.12/configure=1.68/build=8.33 Error: job failed with 512 on sparc64-2b at 1766332237