=> Checksum BLAKE2s OK for retroarch-1.9.0/retroarch-assets.tar.gz
=> Checksum SHA512 OK for retroarch-1.9.0/retroarch-assets.tar.gz
=> Checksum BLAKE2s OK for retroarch-1.9.0/retroarch.tar.gz
=> Checksum SHA512 OK for retroarch-1.9.0/retroarch.tar.gz
===> Installing dependencies for retroarch-1.9.0nb28
==========================================================================
The supported build options for retroarch are:

	alsa caca debug ffmpeg freetype jack mbedtls
	openal opengl pulseaudio qt5 sixel

The currently selected options are:

	freetype jack mbedtls opengl

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.retroarch (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
retroarch-1.9.0nb28.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libretro-core-info>=1.9.0: found libretro-core-info-1.9.0
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.9nb1
=> Full dependency flac>=1.4.0: found flac-1.4.3
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.3
=> Full dependency jack>=1.9.21nb3: found jack-1.9.21nb3
=> Full dependency mbedtls>=2.28.3nb1: found mbedtls-2.28.8
=> Full dependency miniupnpc>=2.1: found miniupnpc-2.2.4
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency lame>=3.93.1nb2: found lame-3.100nb6
=> Full dependency libogg>=1.1: found libogg-1.3.5nb1
=> Full dependency libopus>=1.1: found libopus-1.5.2
=> Full dependency libsamplerate>=0.0.13nb1: found libsamplerate-0.2.2nb4
=> Full dependency libsndfile>=1.0.0: found libsndfile-1.2.2nb1
=> Full dependency libvorbis>=1.0.1: found libvorbis-1.3.7
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.9
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency png>=1.2.4: found png-1.6.44
===> Overriding tools for retroarch-1.9.0nb28
===> Extracting for retroarch-1.9.0nb28
===> Patching for retroarch-1.9.0nb28
=> Applying pkgsrc patches for retroarch-1.9.0nb28
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/retroarch/patches/patch-Makefile
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/retroarch/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.8 2021/03/05 11:18:39 nia Exp $
|
|Don't install a config file, retroarch generates one in HOME.
|
|--- Makefile.orig	2020-08-07 22:06:53.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 235.
Hunk #2 succeeded at 244.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/retroarch/patches/patch-audio_drivers_audioio.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/retroarch/patches/patch-audio_drivers_audioio.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-audio_drivers_audioio.c,v 1.2 2020/05/30 14:26:52 nia Exp $
|
|Proper write availability detection for NetBSD
|
|--- audio/drivers/audioio.c.orig	2020-05-27 18:11:31.000000000 +0000
|+++ audio/drivers/audioio.c
--------------------------
Patching file audio/drivers/audioio.c using Plan A...
Hunk #1 succeeded at 186.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/retroarch/patches/patch-frontend_drivers_platform__unix.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/retroarch/patches/patch-frontend_drivers_platform__unix.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-frontend_drivers_platform__unix.c,v 1.5 2020/05/30 14:26:52 nia Exp $
|
|Allow loading cores and core info from pkgsrc.
|
|--- frontend/drivers/platform_unix.c.orig	2020-05-27 18:11:31.000000000 +0000
|+++ frontend/drivers/platform_unix.c
--------------------------
Patching file frontend/drivers/platform_unix.c using Plan A...
Hunk #1 succeeded at 1743 (offset 35 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/retroarch/patches/patch-qb_config.libs.sh
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/retroarch/patches/patch-qb_config.libs.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-qb_config.libs.sh,v 1.3 2018/12/21 15:10:51 nia Exp $
|
|Try regular sort on SunOS.
|
|--- qb/config.libs.sh.orig	2018-10-06 22:00:31.000000000 +0000
|+++ qb/config.libs.sh
--------------------------
Patching file qb/config.libs.sh using Plan A...
Hunk #1 succeeded at 53 (offset 13 lines).
done
===> Creating toolchain wrappers for retroarch-1.9.0nb28
===> Configuring for retroarch-1.9.0nb28
=> Fixing absolute paths.
/bin/mkdir -p /Users/pbulk/build/emulators/retroarch/work/RetroArch-1.9.0/media/assets
/bin/mv /Users/pbulk/build/emulators/retroarch/work/retroarch-assets-*/* /Users/pbulk/build/emulators/retroarch/work/RetroArch-1.9.0/media/assets
Checking operating system ... Darwin 
Checking for suitable working C compiler ... clang works
Checking for suitable working C++ compiler ... clang++ works
Checking for pkg-config ... /opt/pkg/bin/pkgconf
Checking for availability of switch -std=gnu99 in clang ... yes
Checking for availability of switch -std=c++11 in clang++ ... yes
Checking for availability of switch -Wno-unused-result in clang ... yes
Checking for availability of switch -Wno-unused-variable in clang ... yes
Checking presence of package bcm_host ... no
Checking function bcm_host_init in -lbcm_host ... no
Checking presence of header file EGL/eglext.h ... no
Checking function ass_library_init in -lass ... no
Checking existence of -msse -msse2 ... yes
Checking function pthread_create in -lpthread ... yes
Checking function pthread_key_create in -lpthread ... yes
Checking function dlopen in -ldl ... yes
Checking function socket in -lc ... yes
Checking function getaddrinfo in -lc ... yes
Checking existence of -lminiupnpc ... yes
Checking function fcntl in -lc ... yes
Checking function getopt_long in -lc ... yes
Checking presence of predefined macro AUDIO_SETINFO in sys/audioio.h ... no
Checking presence of header file sys/soundcard.h ... no
Checking presence of header file soundcard.h ... no
Checking existence of -lossaudio ... no
Checking function AudioUnitInitialize in -framework AudioUnit ... yes
Checking function CTFontCreateWithName in -framework CoreText ... yes
Checking function NSApplicationMain in -framework AppKit ... yes
Checking existence of -framework AVFoundation ... yes
Checking existence of -framework CoreLocation ... yes
Checking function IOHIDManagerCreate in -framework IOKit ... yes
Checking presence of package rsound >= 1.1 ... no
Checking presence of package libroar >= 1.0.12 ... no
Checking presence of package jack >= 0.120.1 ... 1.9.21
Checking presence of package sdl2 >= 2.0.0 ... 2.30.9
Checking presence of package flac ... 1.4.3
Checking presence of header file mbedtls/entropy.h ... yes
Checking existence of -lmbedtls ... yes
Checking existence of -lmbedx509 ... yes
Checking existence of -lmbedcrypto ... yes
Checking existence of -ldinput8 ... no
Checking existence of -ld3d9 ... no
Checking existence of -ldsound ... no
Checking existence of -ld3dx8 ... no
Checking existence of -ld3dx9 ... no
Checking presence of header file OpenGL/gl.h ... yes
Checking existence of -framework OpenGL ... yes
Checking function cgCreateContext in -framework Cg ... no
Notice: EGL is disabled, OpenVG support will also be disabled.
Checking presence of package zlib ... 1.3.1
Checking function dlopen in -ldl ... yes
Checking presence of package freetype2 ... 26.2.20
Notice: X11 not present. Skipping X11 code paths.
Notice: Xinerama is disabled, Xinerama support will also be disabled.
Notice: XShm is disabled, XShm support will also be disabled.
Notice: Xrandr is disabled, Xrandr support will also be disabled.
Notice: Xvideo is disabled, XVideo support will also be disabled.
Checking presence of package xkbcommon >= 0.3.2 ... no
Checking presence of package wayland-cursor >= 1.12 ... no
Checking presence of package wayland-protocols >= 1.15 ... no
Checking presence of package wayland-scanner >= 1.12 ... no
Notice: wayland libraries not found, disabling wayland support.
Checking presence of header file linux/parport.h ... no
Checking function strlcpy in -lc ... yes
Checking function strcasestr in -lc ... yes
Checking function mmap in -lc ... yes
Notice: glslang is disabled, slang support will also be disabled.
Notice: glslang is disabled, OpenGL core support will also be disabled.
Creating make config: config.mk
Creating config header: config.h