>>> Building on sparc64-0c under emulators/desmume BDEPENDS = [lang/gcc/16;graphics/gdk-pixbuf2;lang/gcc/16,-libs;devel/sdl2;archivers/zziplib;graphics/agg;textproc/intltool;lang/gcc/16,-c++;x11/gtk+2;audio/soundtouch;archivers/xz] DIST = [emulators/desmume:desmume-0.9.13.tar.xz] FULLPKGNAME = desmume-0.9.13 RDEPENDS = [graphics/gdk-pixbuf2;archivers/zziplib;graphics/agg;devel/sdl2;lang/gcc/16,-libs;x11/gtk+2;audio/soundtouch;devel/desktop-file-utils] (Junk lock obtained for sparc64-0c at 1786430462.35) >>> Running depends in emulators/desmume at 1786430462.50 last junk was in graphics/libmypaint /usr/sbin/pkg_add -aI -Drepair agg-2.5p9 gdk-pixbuf-2.44.7 gtk+2-2.24.33p8 intltool-0.51.0p2 sdl2-2.32.10p0 soundtouch-2.3.3 zziplib-0.13.80 was: /usr/sbin/pkg_add -aI -Drepair agg-2.5p9 g++-16.1.0p6 gcc-16.1.0p6 gcc-libs-16.1.0p6 gdk-pixbuf-2.44.7 gtk+2-2.24.33p8 intltool-0.51.0p2 sdl2-2.32.10p0 soundtouch-2.3.3 xz-5.8.3 zziplib-0.13.80 /usr/sbin/pkg_add -aI -Drepair agg-2.5p9 gdk-pixbuf-2.44.7 gtk+2-2.24.33p8 intltool-0.51.0p2 sdl2-2.32.10p0 soundtouch-2.3.3 zziplib-0.13.80 >>> Running show-prepare-results in emulators/desmume at 1786430492.43 ===> emulators/desmume ===> Building from scratch desmume-0.9.13 ===> desmume-0.9.13 depends on: intltool->=0.41.1p0 -> intltool-0.51.0p2 ===> desmume-0.9.13 depends on: gcc->=16,<17 -> gcc-16.1.0p6 ===> desmume-0.9.13 depends on: g++->=16,<17 -> g++-16.1.0p6 ===> desmume-0.9.13 depends on: xz->=5.4.0 -> xz-5.8.3 ===> desmume-0.9.13 depends on: zziplib-* -> zziplib-0.13.80 ===> desmume-0.9.13 depends on: soundtouch-* -> soundtouch-2.3.3 ===> desmume-0.9.13 depends on: sdl2-* -> sdl2-2.32.10p0 ===> desmume-0.9.13 depends on: agg-* -> agg-2.5p9 ===> desmume-0.9.13 depends on: gdk-pixbuf-* -> gdk-pixbuf-2.44.7 ===> desmume-0.9.13 depends on: gtk+2-* -> gtk+2-2.24.33p8 ===> desmume-0.9.13 depends on: gcc-libs->=16,<17 -> gcc-libs-16.1.0p6 ===> Verifying specs: estdc++>=22 pthread GL GLU SDL2 SoundTouch X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender agg atk-1.0 c cairo fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0 harfbuzz intl m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcap z zzip ===> found estdc++.22.0 pthread.28.1 GL.19.2 GLU.9.0 SDL2.0.15 SoundTouch.4.0 X11.19.0 Xcomposite.4.0 Xcursor.5.1 Xdamage.4.0 Xext.13.0 Xfixes.6.1 Xi.12.2 Xinerama.6.0 Xrandr.7.1 Xrender.6.0 agg.3.0 atk-1.0.21810.5 c.103.0 cairo.13.5 fontconfig.14.1 freetype.31.1 gdk-x11-2.0.2400.0 gdk_pixbuf-2.0.3200.3 gio-2.0.4200.23 glib-2.0.4201.16 gobject-2.0.4200.23 gthread-2.0.4200.23 gtk-x11-2.0.2400.0 harfbuzz.19.1 intl.8.2 m.10.1 pango-1.0.3801.8 pangocairo-1.0.3801.4 pangoft2-1.0.3801.4 pcap.10.0 z.7.2 zzip.16.1 agg-2.5p9 g++-16.1.0p6 gcc-16.1.0p6 gcc-libs-16.1.0p6 gdk-pixbuf-2.44.7 gtk+2-2.24.33p8 intltool-0.51.0p2 sdl2-2.32.10p0 soundtouch-2.3.3 xz-5.8.3 zziplib-0.13.80 Don't run junk because nojunk in cad/coil64 (Junk lock released for sparc64-0c at 1786430506.35) Woken up net/kristall distfiles size=10437780 >>> Running patch in emulators/desmume at 1786430506.46 ===> emulators/desmume ===> Checking files for desmume-0.9.13 `/usr/ports/distfiles/desmume-0.9.13.tar.xz' is up to date. >> (SHA256) all files: OK ===> Extracting for desmume-0.9.13 ===> Patching for desmume-0.9.13 ===> Applying OpenBSD patch patch-desmume_src_arm_jit_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |BSS is immutable so mark it as mutable so that mprotect RWX works | |see: mimmutable(2) |https://github.com/google/syzkaller/commit/bc009f82ea71c399f19eef28f115ff5cda7be4ba | |Index: desmume/src/arm_jit.cpp |--- desmume/src/arm_jit.cpp.orig |+++ desmume/src/arm_jit.cpp -------------------------- Patching file desmume/src/arm_jit.cpp using Plan A... Hunk #1 succeeded at 205. done ===> Applying OpenBSD patch patch-desmume_src_frontend_posix_gtk2_main_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |https://forums.desmume.org/viewtopic.php?id=10415 | |Index: desmume/src/frontend/posix/gtk2/main.cpp |--- desmume/src/frontend/posix/gtk2/main.cpp.orig |+++ desmume/src/frontend/posix/gtk2/main.cpp -------------------------- Patching file desmume/src/frontend/posix/gtk2/main.cpp using Plan A... Hunk #1 succeeded at 3551. done ===> Applying OpenBSD patch patch-desmume_src_libretro-common_rthreads_rthreads_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |OpenBSD does not implement pthread_setname_np | |Index: desmume/src/libretro-common/rthreads/rthreads.c |--- desmume/src/libretro-common/rthreads/rthreads.c.orig |+++ desmume/src/libretro-common/rthreads/rthreads.c -------------------------- Patching file desmume/src/libretro-common/rthreads/rthreads.c using Plan A... Hunk #1 succeeded at 54. Hunk #2 succeeded at 324. done ===> Applying OpenBSD patch patch-desmume_src_utils_task_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |OpenBSD does not implement pthread_setname_np | |Index: desmume/src/utils/task.cpp |--- desmume/src/utils/task.cpp.orig |+++ desmume/src/utils/task.cpp -------------------------- Patching file desmume/src/utils/task.cpp using Plan A... Hunk #1 succeeded at 28. Hunk #2 succeeded at 70. done ===> Applying OpenBSD patch patch-desmume_src_wifi_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Missing includes for INADDR_ANY | |Index: desmume/src/wifi.cpp |--- desmume/src/wifi.cpp.orig |+++ desmume/src/wifi.cpp -------------------------- Patching file desmume/src/wifi.cpp using Plan A... Hunk #1 succeeded at 44. 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 emulators/desmume at 1786430513.99 ===> emulators/desmume ===> Generating configure for desmume-0.9.13 ===> Configuring for desmume-0.9.13 Using /usr/obj/ports/desmume-0.9.13/config.site (generated) configure: WARNING: unrecognized options: --disable-gtk-doc configure: loading site script /usr/obj/ports/desmume-0.9.13/config.site checking build system type... sparc64-unknown-openbsd8.0 checking host system type... sparc64-unknown-openbsd8.0 checking for a BSD-compatible install... /usr/obj/ports/desmume-0.9.13/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... mkdir -p checking for gawk... (cached) awk checking whether make sets $(MAKE)... (cached) yes checking whether make supports nested variables... yes checking how to create a pax tar archive... pax checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking whether make supports the include directive... yes (GNU style) checking dependency style of c++... gcc3 checking for ranlib... (cached) ranlib checking for gcc... cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... yes checking for gzopen in -lz... yes checking for main in -lpcap... yes checking for zzip_open in -lzzip... yes checking whether zzip use void * as second parameter... yes checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for sdl2-config... /usr/local/bin/sdl2-config checking for GL/gl.h... (cached) yes checking for GL/glu.h... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for GTK... yes checking for GTHREAD... yes checking for update-desktop-database... /usr/local/bin/update-desktop-database checking for LUA... no checking for LUA... yes checking for ALSA... no checking for LIBAGG... yes checking for LIBSOUNDTOUCH... yes checking whether __SSE2__ is declared... no checking whether __AVX2__ is declared... no checking whether __ALTIVEC__ is declared... no checking whether to enable maintainer-specific portions of Makefiles... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating cli/Makefile config.status: creating cli/doc/Makefile config.status: creating gtk2/Makefile config.status: creating gtk2/doc/Makefile config.status: creating gtk-glade/Makefile config.status: creating gtk-glade/doc/Makefile config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-gtk-doc >>> Running build in emulators/desmume at 1786430553.60 ===> emulators/desmume ===> Building for desmume-0.9.13 Making all in . depbase=`echo ../../armcpu.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -DPACKAGE_NAME=\"desmume\" -DPACKAGE_TARNAME=\"desmume\" -DPACKAGE_VERSION=\"svn\" -DPACKAGE_STRING=\"desmume\ svn\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"desmume\" -DVERSION=\"svn\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DWORDS_BIGENDIAN=1 -DSVN_REV=0 -DSVN_REV_STR=\"0\" -DHAVE_LIBZ=1 -DHAVE_LIBZZIP=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_LIBSOUNDTOUCH=1 -DFAKE_MIC=1 -DHOST_BSD=1 -DHOST_32=1 -I. -I./../../../src/ -I./../../../src/libretro-common/include -I./../../../src/frontend -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/agg2 -I/usr/local/include/soundtouch -I/usr/local/include -I/usr/X11R6/include -O2 -pipe -MT ../../armcpu.o -MD -MP -MF $depbase.Tpo -c -o ../../armcpu.o ../../armcpu.cpp && mv -f $depbase.Tpo $depbase.Po In file included from ../../armcpu.h:26, from ../../armcpu.cpp:24: ../../types.h: In function 's32 atomic_add_32(volatile s32*, s32)': ../../types.h:417:172: error: 'memory_order_relaxed' is not a member of 'std::memory_order' 417 | inline s32 atomic_add_32(volatile s32 *V, s32 M) { return std::atomic_fetch_add_explicit((volatile std::atomic *)V, M, std::memory_order::memory_order_relaxed) + M; } | ^~~~~~~~~~~~~~~~~~~~ ../../types.h: In function 's32 atomic_add_barrier32(volatile s32*, s32)': ../../types.h:418:164: error: 'memory_order_seq_cst' is not a member of 'std::memory_order' 418 | inline s32 atomic_add_barrier32(volatile s32 *V, s32 M) { return std::atomic_fetch_add_explicit((volatile std::atomic *)V, M, std::memory_order::memory_order_seq_cst) + M; } | ^~~~~~~~~~~~~~~~~~~~ ../../types.h: In function 's32 atomic_or_32(volatile s32*, s32)': ../../types.h:425:171: error: 'memory_order_relaxed' is not a member of 'std::memory_order' 425 | inline s32 atomic_or_32(volatile s32 *V, s32 M) { return std::atomic_fetch_or_explicit((volatile std::atomic *)V, M, std::memory_order::memory_order_relaxed) | M; } | ^~~~~~~~~~~~~~~~~~~~ ../../types.h: In function 's32 atomic_or_barrier32(volatile s32*, s32)': ../../types.h:426:163: error: 'memory_order_seq_cst' is not a member of 'std::memory_order' 426 | inline s32 atomic_or_barrier32(volatile s32 *V, s32 M) { return std::atomic_fetch_or_explicit((volatile std::atomic *)V, M, std::memory_order::memory_order_seq_cst) | M; } | ^~~~~~~~~~~~~~~~~~~~ ../../types.h: In function 's32 atomic_and_32(volatile s32*, s32)': ../../types.h:427:172: error: 'memory_order_relaxed' is not a member of 'std::memory_order' 427 | inline s32 atomic_and_32(volatile s32 *V, s32 M) { return std::atomic_fetch_and_explicit((volatile std::atomic *)V, M, std::memory_order::memory_order_relaxed) & M; } | ^~~~~~~~~~~~~~~~~~~~ ../../types.h: In function 's32 atomic_and_barrier32(volatile s32*, s32)': ../../types.h:428:164: error: 'memory_order_seq_cst' is not a member of 'std::memory_order' 428 | inline s32 atomic_and_barrier32(volatile s32 *V, s32 M) { return std::atomic_fetch_and_explicit((volatile std::atomic *)V, M, std::memory_order::memory_order_seq_cst) & M; } | ^~~~~~~~~~~~~~~~~~~~ ../../types.h: In function 's32 atomic_xor_32(volatile s32*, s32)': ../../types.h:429:172: error: 'memory_order_relaxed' is not a member of 'std::memory_order' 429 | inline s32 atomic_xor_32(volatile s32 *V, s32 M) { return std::atomic_fetch_xor_explicit((volatile std::atomic *)V, M, std::memory_order::memory_order_relaxed) ^ M; } | ^~~~~~~~~~~~~~~~~~~~ ../../types.h: In function 's32 atomic_xor_barrier32(volatile s32*, s32)': ../../types.h:430:164: error: 'memory_order_seq_cst' is not a member of 'std::memory_order' 430 | inline s32 atomic_xor_barrier32(volatile s32 *V, s32 M) { return std::atomic_fetch_xor_explicit((volatile std::atomic *)V, M, std::memory_order::memory_order_seq_cst) ^ M; } | ^~~~~~~~~~~~~~~~~~~~ ../../types.h: In function 'bool atomic_test_and_set_32(volatile s32*, s32)': ../../types.h:432:204: error: 'memory_order_relaxed' is not a member of 'std::memory_order' 432 | inline bool atomic_test_and_set_32(volatile s32 *V, s32 M) { return (std::atomic_fetch_or_explicit((volatile std::atomic *)V,(0x80>>((M)&0x07)), std::memory_order::memory_order_relaxed) & (0x80>>((M)&0x07))) ? true : false; } | ^~~~~~~~~~~~~~~~~~~~ ../../types.h: In function 'bool atomic_test_and_set_barrier32(volatile s32*, s32)': ../../types.h:433:196: error: 'memory_order_seq_cst' is not a member of 'std::memory_order' 433 | inline bool atomic_test_and_set_barrier32(volatile s32 *V, s32 M) { return (std::atomic_fetch_or_explicit((volatile std::atomic *)V,(0x80>>((M)&0x07)), std::memory_order::memory_order_seq_cst) & (0x80>>((M)&0x07))) ? true : false; } | ^~~~~~~~~~~~~~~~~~~~ ../../types.h: In function 'bool atomic_test_and_clear_32(volatile s32*, s32)': ../../types.h:434:203: error: 'memory_order_relaxed' is not a member of 'std::memory_order' 434 | inline bool atomic_test_and_clear_32(volatile s32 *V, s32 M) { return (std::atomic_fetch_and_explicit((volatile std::atomic *)V,~(s32)(0x80>>((M)&0x07)), std::memory_order::memory_order_relaxed) & (0x80>>((M)&0x07))) ? true : false; } | ^~~~~~~~~~~~~~~~~~~~ ../../types.h: In function 'bool atomic_test_and_clear_barrier32(volatile s32*, s32)': ../../types.h:435:203: error: 'memory_order_seq_cst' is not a member of 'std::memory_order' 435 | inline bool atomic_test_and_clear_barrier32(volatile s32 *V, s32 M) { return (std::atomic_fetch_and_explicit((volatile std::atomic *)V,~(s32)(0x80>>((M)&0x07)), std::memory_order::memory_order_seq_cst) & (0x80>>((M)&0x07))) ? true : false; } | ^~~~~~~~~~~~~~~~~~~~ In file included from ../../armcpu.cpp:30: ../../MMU_timing.h: In instantiation of 'class CacheController<13, 2, 5>': ../../MMU_timing.h:254:26: required from here 254 | CacheController<13,2,5> arm9codeCache; // 8192 bytes, 4-way associative, 32-byte blocks | ^~~~~~~~~~~~~ ../../MMU_timing.h:163:39: warning: arithmetic between different enumeration types 'CacheController<13, 2, 5>::' and 'CacheController<13, 2, 5>::' is deprecated [-Wdeprecated-enum-enum-conversion] 163 | enum { DATAPERWORD = WORDSIZE * ASSOCIATIVITY }; | ~~~~~~~~~^~~~~~~~~~~~~~~ ../../MMU_timing.h:164:43: warning: arithmetic between different enumeration types 'CacheController<13, 2, 5>::' and 'CacheController<13, 2, 5>::' is deprecated [-Wdeprecated-enum-enum-conversion] 164 | enum { DATAPERBLOCK = DATAPERWORD * WORDSPERBLOCK }; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../MMU_timing.h:165:33: warning: arithmetic between different enumeration types 'CacheController<13, 2, 5>::' and 'CacheController<13, 2, 5>::' is deprecated [-Wdeprecated-enum-enum-conversion] 165 | enum { NUMBLOCKS = SIZE / DATAPERBLOCK }; | ~~~~~^~~~~~~~~~~~~~ ../../MMU_timing.h: In instantiation of 'class CacheController<12, 2, 5>': ../../MMU_timing.h:255:26: required from here 255 | CacheController<12,2,5> arm9dataCache; // 4096 bytes, 4-way associative, 32-byte blocks | ^~~~~~~~~~~~~ ../../MMU_timing.h:163:39: warning: arithmetic between different enumeration types 'CacheController<12, 2, 5>::' and 'CacheController<12, 2, 5>::' is deprecated [-Wdeprecated-enum-enum-conversion] 163 | enum { DATAPERWORD = WORDSIZE * ASSOCIATIVITY }; | ~~~~~~~~~^~~~~~~~~~~~~~~ ../../MMU_timing.h:164:43: warning: arithmetic between different enumeration types 'CacheController<12, 2, 5>::' and 'CacheController<12, 2, 5>::' is deprecated [-Wdeprecated-enum-enum-conversion] 164 | enum { DATAPERBLOCK = DATAPERWORD * WORDSPERBLOCK }; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../MMU_timing.h:165:33: warning: arithmetic between different enumeration types 'CacheController<12, 2, 5>::' and 'CacheController<12, 2, 5>::' is deprecated [-Wdeprecated-enum-enum-conversion] 165 | enum { NUMBLOCKS = SIZE / DATAPERBLOCK }; | ~~~~~^~~~~~~~~~~~~~ *** Error 1 in . (Makefile:1781 '../../armcpu.o') *** Error 1 in /usr/obj/ports/desmume-0.9.13/desmume-0.9.13/desmume/src/frontend/posix (Makefile:1826 'all-recursive': @fail=; if (target_o...) *** Error 2 in emulators/desmume (/usr/ports/infrastructure/mk/bsd.port.mk:3079 '/usr/obj/ports/desmume-0.9.13/.build_done': @cd /usr/obj/po...) *** Error 2 in emulators/desmume (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=desmume-0.9.13; export _LOCKS_HELD=" desmume...) ===> Exiting emulators/desmume 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 1786430571.67 max_stuck=15.38/depends=29.97/show-prepare-results=14.02/patch=7.47/configure=39.66/build=18.17 Error: job failed with 512 on sparc64-0c at 1786430571