>>> Building on sparc64-2c under games/gnukem BDEPENDS = [lang/gcc/8,-c++;lang/gcc/8,-libs;archivers/xz;lang/gcc/8;devel/gmake;devel/sdl2-mixer] DIST = [games/gnukem:davegnukem_1.0.3.orig-data.tar.xz;games/gnukem:davegnukem_1.0.3.orig.tar.xz] FULLPKGNAME = gnukem-1.0.3p0 RDEPENDS = [lang/gcc/8,-libs;devel/desktop-file-utils;devel/sdl2-mixer;x11/gtk+4,-guic] Avoided depends for g++-8.4.0p25 gcc-8.4.0p25 gcc-libs-8.4.0p25 sdl2-mixer-2.8.0p1 gmake-4.4.1 xz-5.6.3 distfiles size=20235152 >>> Running patch in games/gnukem at 1729320264.28 ===> games/gnukem ===> Building from scratch gnukem-1.0.3p0 ===> gnukem-1.0.3p0 depends on: gcc->=8,<9 -> gcc-8.4.0p25 ===> gnukem-1.0.3p0 depends on: g++->=8,<9 -> g++-8.4.0p25 ===> gnukem-1.0.3p0 depends on: gmake-* -> gmake-4.4.1 ===> gnukem-1.0.3p0 depends on: xz->=5.4.0 -> xz-5.6.3 ===> gnukem-1.0.3p0 depends on: sdl2-mixer-* -> sdl2-mixer-2.8.0p1 ===> gnukem-1.0.3p0 depends on: gcc-libs->=8,<9 -> gcc-libs-8.4.0p25 ===> Verifying specs: estdc++>=17 pthread SDL2 SDL2_mixer c m estdc++>=19 ===> found estdc++.19.0 pthread.27.1 SDL2.0.15 SDL2_mixer.1.1 c.100.3 m.10.1 ===> Checking files for gnukem-1.0.3p0 `/usr/ports/distfiles/davegnukem_1.0.3.orig.tar.xz' is up to date. `/usr/ports/distfiles/davegnukem_1.0.3.orig-data.tar.xz' is up to date. >> (SHA256) davegnukem_1.0.3.orig.tar.xz: OK >> (SHA256) davegnukem_1.0.3.orig-data.tar.xz: OK ===> Extracting for gnukem-1.0.3p0 mv /usr/obj/ports/gnukem-1.0.3/gnukem_data-1.0.3 /usr/obj/ports/gnukem-1.0.3/dave_gnukem-1.0.3/data ===> Patching for gnukem-1.0.3p0 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix up Makefile. | |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 22. Hunk #2 succeeded at 64. Hunk #3 succeeded at 91. done ===> Applying OpenBSD patch patch-src_djimage_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix big endian issue | |Index: src/djimage.cpp |--- src/djimage.cpp.orig |+++ src/djimage.cpp -------------------------- Patching file src/djimage.cpp using Plan A... Hunk #1 succeeded at 257. Hunk #2 succeeded at 283. Hunk #3 succeeded at 319. done ===> Applying OpenBSD patch patch-src_sdl_djgraph_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |OpenBSD$ | |Revert commit/a94bae1f70b9110431f8a21f0118141c25a343d8 | |Index: src/sdl/djgraph.cpp |--- src/sdl/djgraph.cpp.orig |+++ src/sdl/djgraph.cpp -------------------------- Patching file src/sdl/djgraph.cpp using Plan A... Hunk #1 succeeded at 756. done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/local/bin/eg++ ===> Compiler link: g++ -> /usr/local/bin/eg++ >>> Running configure in games/gnukem at 1729320283.40 ===> games/gnukem ===> Generating configure for gnukem-1.0.3p0 ===> Configuring for gnukem-1.0.3p0 >>> Running build in games/gnukem at 1729320285.06 ===> games/gnukem ===> Building for gnukem-1.0.3p0 davegnukem build options: CXXFLAGS = -O2 -pipe -std=c++14 -Wall -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -DDATA_DIR="/usr/local/share/davegnukem/" -DVERSION="'v1.0.3 - 29 Nov 2022'" LDFLAGS = -L/usr/local/lib -lSDL2 -L/usr/X11R6/lib -R/usr/X11R6/lib -lSDL2_mixer CXX = c++ c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/block.cpp -o src/block.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/bullet.cpp -o src/bullet.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/console.cpp -o src/console.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/credits.cpp -o src/credits.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/datadir.cpp -o src/datadir.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/djfile.cpp -o src/djfile.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/djfonts.cpp -o src/djfonts.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/djimage.cpp -o src/djimage.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/djlog.cpp -o src/djlog.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/djstring.cpp -o src/djstring.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/djtypes.cpp -o src/djtypes.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/ed.cpp -o src/ed.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/ed_DrawBoxContents.cpp -o src/ed_DrawBoxContents.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/ed_common.cpp -o src/ed_common.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/ed_lvled.cpp -o src/ed_lvled.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/ed_macros.cpp -o src/ed_macros.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/ed_spred.cpp -o src/ed_spred.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/ed_standalone_original.cpp -o src/ed_standalone_original.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/effect_viewportshadow.cpp -o src/effect_viewportshadow.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/game.cpp -o src/game.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/gameending.cpp -o src/gameending.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/graph.cpp -o src/graph.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/hero.cpp -o src/hero.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/hiscores.cpp -o src/hiscores.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/instructions.cpp -o src/instructions.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/inventory.cpp -o src/inventory.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/keys.cpp -o src/keys.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/level.cpp -o src/level.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/m_misc.cpp -o src/m_misc.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/main.cpp -o src/main.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/menu.cpp -o src/menu.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/mission.cpp -o src/mission.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/mixins.cpp -o src/mixins.o c++ -O2 -pipe -std=c++14 -Wall `sdl2-config --cflags` -DDATA_DIR=\"/usr/local/share/davegnukem/\" -DVERSION=\"'v1.0.3 - 29 Nov 2022'\" -c src/sdl/djgraph.cpp -o src/sdl/djgraph.o src/sdl/djgraph.cpp: In function 'void djgFlip(djVisual*, djVisual*, bool)': src/sdl/djgraph.cpp:262:3: error: expected primary-expression before 'else' else ^~~~ gmake: *** [Makefile:49: src/sdl/djgraph.o] Error 1 *** Error 2 in games/gnukem (/usr/ports/infrastructure/mk/bsd.port.mk:3067 '/usr/obj/ports/gnukem-1.0.3/.build_done': @cd /usr/obj/ports/gnu...) *** Error 2 in games/gnukem (/usr/ports/infrastructure/mk/bsd.port.mk:2710 'build': @lock=gnukem-1.0.3p0; export _LOCKS_HELD=" gnukem-1.0.3...) ===> Exiting games/gnukem 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 1729320561.39 max_stuck=22.76/patch=19.14/configure=1.66/build=276.43 Error: job failed with 512 on sparc64-2c at 1729320561