It appears the presence of Wayland causes some bulk build issues. Most likely, Wayland is picked up during the configure step and used during the build, but since there is no proper *_DEPENDS, it is junked in the background. So the choice would be between disabling Wayland support or adding a proper dependency.
------------------------------------------------------------------------ >>> Building on amd64-1 under emulators/snes9x BDEPENDS = [textproc/intltool;devel/meson;x11/gtk+3;devel/sdl2;graphics/png] DIST = [emulators/snes9x:snes9x-1.60.tar.gz] FULLPKGNAME = snes9x-1.60p1 RDEPENDS = [x11/gtk+3;graphics/png;devel/sdl2;x11/gtk+3,-guic;devel/desktop-file-utils] (Junk lock failure for amd64-1 at 1636861005.30062) Received IO (Junk lock obtained for amd64-1 at 1636861024.46) Received IO Woken up emulators/snes9x >>> Running depends in emulators/snes9x at 1636861025.07 last junk was in graphics/ImageMagick /usr/sbin/pkg_add -aI -Drepair intltool-0.51.0p2 meson-0.60.1v0 png-1.6.37 sdl2-2.0.16 was: /usr/sbin/pkg_add -aI -Drepair gtk+3-3.24.30 intltool-0.51.0p2 meson-0.60.1v0 png-1.6.37 sdl2-2.0.16 /usr/sbin/pkg_add -aI -Drepair intltool-0.51.0p2 meson-0.60.1v0 png-1.6.37 sdl2-2.0.16 >>> Running show-prepare-results in emulators/snes9x at 1636861027.35 ===> emulators/snes9x ===> snes9x-1.60p1 depends on: meson->=0.60.1v0 -> meson-0.60.1v0 ===> snes9x-1.60p1 depends on: intltool->=0.41.1p0 -> intltool-0.51.0p2 ===> snes9x-1.60p1 depends on: sdl2-* -> sdl2-2.0.16 ===> snes9x-1.60p1 depends on: png-* -> png-1.6.37 ===> snes9x-1.60p1 depends on: gtk+3-* -> gtk+3-3.24.30 ===> Verifying specs: c++ c++abi pthread SDL2 X11 Xext Xrandr Xv atk-1.0 c cairo cairo-gobject epoxy gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-3 intl m pango-1.0 pangocairo-1.0 png z ===> found c++.8.0 c++abi.5.1 pthread.26.1 SDL2.0.10 X11.17.1 Xext.13.0 Xrandr.7.1 Xv.6.0 atk-1.0.21809.4 c.96.1 cairo.13.1 cairo-gobject.2.1 epoxy.4.1 gdk-3.2201.1 gdk_pixbuf-2.0.3200.3 gio-2.0.4200.14 glib-2.0.4201.7 gobject-2.0.4200.14 gtk-3.2201.0 intl.7.0 m.10.1 pango-1.0.3801.2 pangocairo-1.0.3801.2 png.18.0 z.6.0 gtk+3-3.24.30 intltool-0.51.0p2 meson-0.60.1v0 png-1.6.37 sdl2-2.0.16 (Junk lock released for amd64-1 at 1636861028.19) distfiles size=2863228 >>> Running patch in emulators/snes9x at 1636861028.21 ===> emulators/snes9x ===> Checking files for snes9x-1.60p1 `/usr/ports/distfiles/snes9x-1.60.tar.gz' is up to date. >> (SHA256) snes9x-1.60.tar.gz: OK ===> Extracting for snes9x-1.60p1 ===> Patching for snes9x-1.60p1 ===> Applying OpenBSD patch patch-gtk_meson_build Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$OpenBSD: patch-gtk_meson_build,v 1.2 2020/02/19 20:31:08 fcambus Exp $ | |No -ldl on OpenBSD. | |Index: gtk/meson.build |--- gtk/meson.build.orig |+++ gtk/meson.build -------------------------- Patching file gtk/meson.build using Plan A... Hunk #1 succeeded at 50. 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++ >>> Running configure in emulators/snes9x at 1636861028.75 ===> emulators/snes9x ===> Generating configure for snes9x-1.60p1 ===> Configuring for snes9x-1.60p1 The Meson build system Version: 0.60.1 Source dir: /usr/obj/ports/snes9x-1.60/snes9x-1.60/gtk Build dir: /usr/obj/ports/snes9x-1.60/build-amd64 Build type: native build Project name: snes9x-gtk Project version: 1.60 C compiler for the host machine: cc (clang 11.1.0 "OpenBSD clang version 11.1.0") C linker for the host machine: cc ld.lld 11.1.0 C++ compiler for the host machine: c++ (clang 11.1.0 "OpenBSD clang version 11.1.0") C++ linker for the host machine: c++ ld.lld 11.1.0 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: /usr/bin/pkg-config (0.29.2) Run-time dependency glib-2.0 found: YES 2.70.1 Run-time dependency gthread-2.0 found: YES 2.70.1 Run-time dependency gobject-2.0 found: YES 2.70.1 Run-time dependency sdl2 found: YES 2.0.16 Message: Building with GTK+-3.0 Run-time dependency gtk+-3.0 found: YES 3.24.30 Library X11 found: YES Library Xext found: YES Run-time dependency xrandr found: YES 1.5.2 Run-time dependency epoxy found: YES 1.5.9 Run-time dependency wayland-egl found: YES 18.1.0 Run-time dependency xv found: YES 1.0.11 Run-time dependency libpng found: YES 1.6.37 Found CMake: /usr/local/bin/cmake (3.20.3) Run-time dependency minizip found: NO (tried pkgconfig and cmake) Run-time dependency zlib found: YES 1.2.11 Checking for function "mkstemp" : YES Has header "strings.h" : YES Has header "stdint.h" : YES Message: Snes9x GTK+ Build Configuration [Locations] prefix: /usr/local datadir: share appdatadir: /usr/local/share/snes9x localedir: /usr/local/share/locale [Options] Build type: plain GTK+ version: 3 Wayland: true OpenGL: true slang shaders: false XVideo: true ALSA: false Open Sound System: false PulseAudio: false PortAudio: false HQ2X filter: true xBRZ filter: true Screenshot saving: true zlib compression: true System minizip: false Slang support needs the SPIRV-Cross directory in ../shaders It can be downloaded with: git submodule init ../shaders/SPIRV-Cross git submodule update ../shaders/SPIRV-Cross Build targets in project: 13 snes9x-gtk 1.60 User defined options auto_features : enabled buildtype : plain localstatedir : /var mandir : /usr/local/man prefix : /usr/local sharedstatedir: /var/db strip : True sysconfdir : /etc wrap_mode : nodownload alsa : false oss : false portaudio : false pulseaudio : false system-zip : false Found ninja-1.10.2 at /usr/local/bin/ninja >>> Running build in emulators/snes9x at 1636861037.72 ===> emulators/snes9x ===> Building for snes9x-1.60p1 exec /usr/bin/env -i LC_CTYPE="en_US.UTF-8" INTLTOOL_EXTRACT=/usr/local/bin/intltool-extract INTLTOOL_MERGE=/usr/local/bin/intltool-merge INTLTOOL_UPDATE=/usr/local/bin/intltool-update PORTSDIR="/usr/ports" LIBTOOL="/usr/bin/libtool" PATH='/usr/obj/ports/snes9x-1.60/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin' PREFIX='/usr/local' LOCALBASE='/usr/local' X11BASE='/usr/X11R6' CFLAGS='-O2 -pipe' TRUEPREFIX='/usr/local' DESTDIR='' HOME='/snes9x-1.60_writes_to_HOME' PICFLAG="-fpic" BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644 DIRMODE=755 INSTALL_COPY=-c INSTALL_STRIP=-s MANGRP=bin MANOWN=root MANMODE=644 BSD_INSTALL_PROGRAM="/usr/obj/ports/snes9x-1.60/bin/install -c -s -m 755" BSD_INSTALL_SCRIPT="/usr/obj/ports/snes9x-1.60/bin/install -c -m 755" BSD_INSTALL_DATA="/usr/obj/ports/snes9x-1.60/bin/install -c -m 644" BSD_INSTALL_MAN="/usr/obj/ports/snes9x-1.60/bin/install -c -m 644" BSD_INSTALL_PROGRAM_DIR="/usr/obj/ports/snes9x-1.60/bin/install -d -m 755" BSD_INSTALL_SCRIPT_DIR="/usr/obj/ports/snes9x-1.60/bin/install -d -m 755" BSD_INSTALL_DATA_DIR="/usr/obj/ports/snes9x-1.60/bin/install -d -m 755" BSD_INSTALL_MAN_DIR="/usr/obj/ports/snes9x-1.60/bin/install -d -m 755" /usr/local/bin/meson compile -C /usr/obj/ports/snes9x-1.60/build-amd64 -v -j 1 ninja: Entering directory `/usr/obj/ports/snes9x-1.60/build-amd64' [1/109] msgfmt ../snes9x-1.60/gtk/po/es.po -o po/es/LC_MESSAGES/snes9x-gtk.mo [2/109] msgfmt ../snes9x-1.60/gtk/po/fr_FR.po -o po/fr_FR/LC_MESSAGES/snes9x-gtk.mo [3/109] msgfmt ../snes9x-1.60/gtk/po/ja.po -o po/ja/LC_MESSAGES/snes9x-gtk.mo [4/109] msgfmt ../snes9x-1.60/gtk/po/pt_BR.po -o po/pt_BR/LC_MESSAGES/snes9x-gtk.mo [5/109] msgfmt ../snes9x-1.60/gtk/po/ru.po -o po/ru/LC_MESSAGES/snes9x-gtk.mo [6/109] msgfmt ../snes9x-1.60/gtk/po/s...@latin.po -o po/sr@latin/LC_MESSAGES/snes9x-gtk.mo [7/109] c++ -Ilibjma.a.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -fPIC -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fexceptions -MD -MQ libjma.a.p/.._jma_s9x-jma.cpp.o -MF libjma.a.p/.._jma_s9x-jma.cpp.o.d -o libjma.a.p/.._jma_s9x-jma.cpp.o -c ../snes9x-1.60/jma/s9x-jma.cpp [8/109] c++ -Ilibjma.a.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -fPIC -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fexceptions -MD -MQ libjma.a.p/.._jma_7zlzma.cpp.o -MF libjma.a.p/.._jma_7zlzma.cpp.o.d -o libjma.a.p/.._jma_7zlzma.cpp.o -c ../snes9x-1.60/jma/7zlzma.cpp [9/109] c++ -Ilibjma.a.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -fPIC -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fexceptions -MD -MQ libjma.a.p/.._jma_crc32.cpp.o -MF libjma.a.p/.._jma_crc32.cpp.o.d -o libjma.a.p/.._jma_crc32.cpp.o -c ../snes9x-1.60/jma/crc32.cpp [10/109] c++ -Ilibjma.a.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -fPIC -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fexceptions -MD -MQ libjma.a.p/.._jma_iiostrm.cpp.o -MF libjma.a.p/.._jma_iiostrm.cpp.o.d -o libjma.a.p/.._jma_iiostrm.cpp.o -c ../snes9x-1.60/jma/iiostrm.cpp [11/109] c++ -Ilibjma.a.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -fPIC -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fexceptions -MD -MQ libjma.a.p/.._jma_inbyte.cpp.o -MF libjma.a.p/.._jma_inbyte.cpp.o.d -o libjma.a.p/.._jma_inbyte.cpp.o -c ../snes9x-1.60/jma/inbyte.cpp [12/109] c++ -Ilibjma.a.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -fPIC -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fexceptions -MD -MQ libjma.a.p/.._jma_jma.cpp.o -MF libjma.a.p/.._jma_jma.cpp.o.d -o libjma.a.p/.._jma_jma.cpp.o -c ../snes9x-1.60/jma/jma.cpp [13/109] c++ -Ilibjma.a.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -fPIC -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fexceptions -MD -MQ libjma.a.p/.._jma_lzma.cpp.o -MF libjma.a.p/.._jma_lzma.cpp.o.d -o libjma.a.p/.._jma_lzma.cpp.o -c ../snes9x-1.60/jma/lzma.cpp [14/109] c++ -Ilibjma.a.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -fPIC -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fexceptions -MD -MQ libjma.a.p/.._jma_lzmadec.cpp.o -MF libjma.a.p/.._jma_lzmadec.cpp.o.d -o libjma.a.p/.._jma_lzmadec.cpp.o -c ../snes9x-1.60/jma/lzmadec.cpp [15/109] c++ -Ilibjma.a.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -fPIC -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fexceptions -MD -MQ libjma.a.p/.._jma_winout.cpp.o -MF libjma.a.p/.._jma_winout.cpp.o.d -o libjma.a.p/.._jma_winout.cpp.o -c ../snes9x-1.60/jma/winout.cpp [16/109] cc -Isourcify.p -I. -I../snes9x-1.60/gtk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -MD -MQ sourcify.p/src_sourcify.c.o -MF sourcify.p/src_sourcify.c.o.d -o sourcify.p/src_sourcify.c.o -c ../snes9x-1.60/gtk/src/sourcify.c [17/109] c++ -Isnes9x-gtk.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/X11R6/include/libdrm -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/fribidi -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/lzo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -pthread -D_REENTRANT -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fno-exceptions -fno-rtti -MD -MQ snes9x-gtk.p/src_gtk_display_driver_opengl.cpp.o -MF snes9x-gtk.p/src_gtk_display_driver_opengl.cpp.o.d -o snes9x-gtk.p/src_gtk_display_driver_opengl.cpp.o -c ../snes9x-1.60/gtk/src/gtk_display_driver_opengl.cpp In file included from ../snes9x-1.60/gtk/src/gtk_display_driver_opengl.cpp:14: In file included from ../snes9x-1.60/gtk/src/gtk_display_driver_opengl.h:25: ../snes9x-1.60/shaders/glsl.h:157:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct ^ GLSLShader ../snes9x-1.60/shaders/glsl.h:159:5: note: type is not C-compatible due to this member declaration bool load_shader(char *filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../snes9x-1.60/shaders/glsl.h:198:3: note: type is given name 'GLSLShader' for linkage purposes by this typedef declaration } GLSLShader; ^ 1 warning generated. [18/109] c++ -Isnes9x-gtk.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/X11R6/include/libdrm -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/fribidi -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/lzo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -pthread -D_REENTRANT -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fno-exceptions -fno-rtti -MD -MQ snes9x-gtk.p/src_gtk_glx_context.cpp.o -MF snes9x-gtk.p/src_gtk_glx_context.cpp.o.d -o snes9x-gtk.p/src_gtk_glx_context.cpp.o -c ../snes9x-1.60/gtk/src/gtk_glx_context.cpp [19/109] c++ -Isnes9x-gtk.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/X11R6/include/libdrm -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/fribidi -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/lzo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -pthread -D_REENTRANT -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fno-exceptions -fno-rtti -MD -MQ snes9x-gtk.p/.._shaders_glsl.cpp.o -MF snes9x-gtk.p/.._shaders_glsl.cpp.o.d -o snes9x-gtk.p/.._shaders_glsl.cpp.o -c ../snes9x-1.60/shaders/glsl.cpp In file included from ../snes9x-1.60/shaders/glsl.cpp:11: ../snes9x-1.60/shaders/glsl.h:157:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct ^ GLSLShader ../snes9x-1.60/shaders/glsl.h:159:5: note: type is not C-compatible due to this member declaration bool load_shader(char *filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../snes9x-1.60/shaders/glsl.h:198:3: note: type is given name 'GLSLShader' for linkage purposes by this typedef declaration } GLSLShader; ^ ../snes9x-1.60/shaders/glsl.cpp:271:15: warning: unused function 'string_to_format' [-Wunused-function] static GLuint string_to_format(char *format) ^ 2 warnings generated. [20/109] c++ -Isnes9x-gtk.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/X11R6/include/libdrm -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/fribidi -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/lzo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -pthread -D_REENTRANT -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fno-exceptions -fno-rtti -MD -MQ snes9x-gtk.p/.._shaders_shader_helpers.cpp.o -MF snes9x-gtk.p/.._shaders_shader_helpers.cpp.o.d -o snes9x-gtk.p/.._shaders_shader_helpers.cpp.o -c ../snes9x-1.60/shaders/shader_helpers.cpp [21/109] c++ -Isnes9x-gtk.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/X11R6/include/libdrm -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/fribidi -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/lzo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -pthread -D_REENTRANT -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fno-exceptions -fno-rtti -MD -MQ snes9x-gtk.p/src_gtk_shader_parameters.cpp.o -MF snes9x-gtk.p/src_gtk_shader_parameters.cpp.o.d -o snes9x-gtk.p/src_gtk_shader_parameters.cpp.o -c ../snes9x-1.60/gtk/src/gtk_shader_parameters.cpp In file included from ../snes9x-1.60/gtk/src/gtk_shader_parameters.cpp:14: ../snes9x-1.60/shaders/glsl.h:157:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct ^ GLSLShader ../snes9x-1.60/shaders/glsl.h:159:5: note: type is not C-compatible due to this member declaration bool load_shader(char *filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../snes9x-1.60/shaders/glsl.h:198:3: note: type is given name 'GLSLShader' for linkage purposes by this typedef declaration } GLSLShader; ^ 1 warning generated. [22/109] c++ -Isnes9x-gtk.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/X11R6/include/libdrm -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/fribidi -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/lzo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -pthread -D_REENTRANT -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fno-exceptions -fno-rtti -MD -MQ snes9x-gtk.p/src_gtk_wayland_egl_context.cpp.o -MF snes9x-gtk.p/src_gtk_wayland_egl_context.cpp.o.d -o snes9x-gtk.p/src_gtk_wayland_egl_context.cpp.o -c ../snes9x-1.60/gtk/src/gtk_wayland_egl_context.cpp FAILED: snes9x-gtk.p/src_gtk_wayland_egl_context.cpp.o c++ -Isnes9x-gtk.p -I. -I../snes9x-1.60/gtk -I../snes9x-1.60/apu/bapu -I.. -I../snes9x-1.60 -I../snes9x-1.60/gtk/src -I../snes9x-1.60/unzip -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/X11R6/include/libdrm -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/fribidi -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/lzo -I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 '-DGETTEXT_PACKAGE="snes9x-gtk"' -O2 -pipe -pthread -D_REENTRANT -DSNES9X_GTK -DUNZIP_SUPPORT -DNETPLAY_SUPPORT -DJMA_SUPPORT -Wall -W -Wno-unused-parameter '-DDATADIR="/usr/local/share/snes9x"' '-DSNES9XLOCALEDIR="/usr/local/share/locale"' -DUSE_OPENGL -DUSE_WAYLAND -DUSE_XV -DHAVE_LIBPNG -DZLIB -DUSE_HQ2X -DUSE_XBRZ -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DPTR_NOT_INT -fno-exceptions -fno-rtti -MD -MQ snes9x-gtk.p/src_gtk_wayland_egl_context.cpp.o -MF snes9x-gtk.p/src_gtk_wayland_egl_context.cpp.o.d -o snes9x-gtk.p/src_gtk_wayland_egl_context.cpp.o -c ../snes9x-1.60/gtk/src/gtk_wayland_egl_context.cpp ../snes9x-1.60/gtk/src/gtk_wayland_egl_context.cpp:82:10: error: use of undeclared identifier 'GDK_IS_WAYLAND_WINDOW' if (!GDK_IS_WAYLAND_WINDOW(window)) ^ ../snes9x-1.60/gtk/src/gtk_wayland_egl_context.cpp:88:15: error: use of undeclared identifier 'gdk_wayland_display_get_wl_display'; did you mean 'gdk_x11_display_get_xdisplay'? display = gdk_wayland_display_get_wl_display(gdk_window_get_display(gdk_window)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gdk_x11_display_get_xdisplay /usr/local/include/gtk-3.0/gdk/x11/gdkx11display.h:57:10: note: 'gdk_x11_display_get_xdisplay' declared here Display *gdk_x11_display_get_xdisplay (GdkDisplay *display); ^ ../snes9x-1.60/gtk/src/gtk_wayland_egl_context.cpp:88:15: error: incompatible pointer types assigning to 'struct wl_display *' from 'Display *' (aka '_XDisplay *') display = gdk_wayland_display_get_wl_display(gdk_window_get_display(gdk_window)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../snes9x-1.60/gtk/src/gtk_wayland_egl_context.cpp:89:14: error: use of undeclared identifier 'gdk_wayland_window_get_wl_surface' parent = gdk_wayland_window_get_wl_surface(gdk_window); ^ 4 errors generated. ninja: build stopped: subcommand failed. *** Error 1 in emulators/snes9x (/usr/ports/devel/meson/meson.port.mk:56 'do-build') *** Error 2 in emulators/snes9x (/usr/ports/infrastructure/mk/bsd.port.mk:2957 '/usr/obj/ports/snes9x-1.60/build-amd64/.build_done': @cd /us...) *** Error 2 in emulators/snes9x (/usr/ports/infrastructure/mk/bsd.port.mk:2607 'build': @lock=snes9x-1.60p1; export _LOCKS_HELD=" snes9x-1....) ===> Exiting emulators/snes9x with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1636861057.37 max_stuck=19.16/waiting-for-lock #103=19.77/depends=2.28/show-prepare-results=0.85/patch=0.54/configure=8.97/build=19.66 Error: job failed with 512 on amd64-1 at 1636861057 -- Christian "naddy" Weisgerber na...@mips.inka.de