=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for RetroArch-1.7.7.tar.xz
=> Checksum RMD160 OK for RetroArch-1.7.7.tar.xz
=> Checksum SHA512 OK for RetroArch-1.7.7.tar.xz
===> Installing dependencies for retroarch-1.7.7nb11
==========================================================================
The supported build options for retroarch are:

	alsa caca ffmpeg freetype jack libdrm mbedtls
	openal opengl pulseaudio qt5 sdl2 sixel x11

The currently selected options are:

	freetype mbedtls opengl sdl2 x11

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)

==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2020.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.14
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency libretro-core-info>=1.7.7: found libretro-core-info-1.7.7
=> Full dependency libretro-database>=0: found libretro-database-20180904
=> Full dependency mbedtls>=0.10.0: found mbedtls-2.16.6
=> Full dependency libX11>=1.5: found libX11-1.6.9
=> Full dependency libxcb>=1.6: found libxcb-1.14
=> Full dependency libXext>=1.1: found libXext-1.3.4
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.4nb1
=> Full dependency libXinerama>=1.0.1: found libXinerama-1.1.4
=> Full dependency libXv>=1.0.1: found libXv-1.0.11nb1
=> Full dependency libxkbcommon>=0.4.0nb1: found libxkbcommon-0.10.0
=> Full dependency MesaLib>=20.0.1nb1: found MesaLib-20.0.4nb1
=> Full dependency SDL2>=2.0.10nb4: found SDL2-2.0.12nb3
=> Full dependency flac>=1.1.3nb1: found flac-1.3.3
=> Full dependency freetype2>=2.8.1: found freetype2-2.10.1
=> Full dependency miniupnpc>=2.1: found miniupnpc-2.1
===> Overriding tools for retroarch-1.7.7nb11
===> Extracting for retroarch-1.7.7nb11
===> Patching for retroarch-1.7.7nb11
=> Applying pkgsrc patches for retroarch-1.7.7nb11
=> Verifying /data/pkgsrc/emulators/retroarch/patches/patch-Makefile
=> Applying pkgsrc patch /data/pkgsrc/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.5 2019/05/08 12:40:05 nia Exp $
|
|Install retroarch.cfg to examples.
|
|Don't install deprecated and unsupported cg2glsl script.
|
|--- Makefile.orig	2019-05-08 06:06:22.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 231.
Hunk #2 succeeded at 266.
done
=> Verifying /data/pkgsrc/emulators/retroarch/patches/patch-audio_drivers_audioio.c
=> Applying pkgsrc patch /data/pkgsrc/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.1 2019/05/11 11:56:33 nia Exp $
|
|Attempt to improve the portability of the Sun audio driver.
|
|--- audio/drivers/audioio.c.orig	2019-05-08 06:06:22.000000000 +0000
|+++ audio/drivers/audioio.c
--------------------------
Patching file audio/drivers/audioio.c using Plan A...
Hunk #1 succeeded at 47.
Hunk #2 succeeded at 106.
Hunk #3 succeeded at 124.
Hunk #4 succeeded at 165.
done
=> Verifying /data/pkgsrc/emulators/retroarch/patches/patch-configuration.c
=> Applying pkgsrc patch /data/pkgsrc/emulators/retroarch/patches/patch-configuration.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configuration.c,v 1.1 2019/05/08 12:40:05 nia Exp $
|
|Add audioio as a default audio driver on supported platforms.
|
|--- configuration.c.orig	2019-05-08 06:06:22.000000000 +0000
|+++ configuration.c
--------------------------
Patching file configuration.c using Plan A...
Hunk #1 succeeded at 178.
Hunk #2 succeeded at 400.
Hunk #3 succeeded at 667.
done
=> Verifying /data/pkgsrc/emulators/retroarch/patches/patch-frontend_drivers_platform__unix.c
=> Applying pkgsrc patch /data/pkgsrc/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.4 2019/05/18 12:27:47 nia Exp $
|
|Pick up paths from pkgsrc.
|
|Avoid dereferencing a null pointer returned from getenv (see pull/8805).
|
|--- frontend/drivers/platform_unix.c.orig	2019-05-08 06:06:23.000000000 +0000
|+++ frontend/drivers/platform_unix.c
--------------------------
Patching file frontend/drivers/platform_unix.c using Plan A...
Hunk #1 succeeded at 1868.
Hunk #2 succeeded at 1889.
Hunk #3 succeeded at 2506.
done
=> Verifying /data/pkgsrc/emulators/retroarch/patches/patch-input_include_xfree86__keycodes.h
=> Applying pkgsrc patch /data/pkgsrc/emulators/retroarch/patches/patch-input_include_xfree86__keycodes.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-input_include_xfree86__keycodes.h,v 1.1 2019/05/18 14:58:53 nia Exp $
|
|Support non-evdev special keys...
|
|--- input/include/xfree86_keycodes.h.orig	2019-05-08 06:06:23.000000000 +0000
|+++ input/include/xfree86_keycodes.h
--------------------------
Patching file input/include/xfree86_keycodes.h using Plan A...
Hunk #1 succeeded at 101.
Hunk #2 succeeded at 110.
Hunk #3 succeeded at 139.
done
=> Verifying /data/pkgsrc/emulators/retroarch/patches/patch-libretro-common_features_features__cpu.c
=> Applying pkgsrc patch /data/pkgsrc/emulators/retroarch/patches/patch-libretro-common_features_features__cpu.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libretro-common_features_features__cpu.c,v 1.1 2019/05/20 12:42:40 nia Exp $
|
|Use clock_gettime on BSD.
|
|--- libretro-common/features/features_cpu.c.orig	2019-05-08 06:06:23.000000000 +0000
|+++ libretro-common/features/features_cpu.c
--------------------------
Patching file libretro-common/features/features_cpu.c using Plan A...
Hunk #1 succeeded at 26.
Hunk #2 succeeded at 168.
done
=> Verifying /data/pkgsrc/emulators/retroarch/patches/patch-qb_config.libs.sh
=> Applying pkgsrc patch /data/pkgsrc/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 42 (offset 2 lines).
done
===> Creating toolchain wrappers for retroarch-1.7.7nb11
===> Configuring for retroarch-1.7.7nb11
=> Checking for portability problems in extracted files
Checking operating system ... BSD 
Checking for suitable working C compiler ... clang works
Checking for suitable working C++ compiler ... clang++ works
Checking for pkg-config ... /usr/pkg/bin/pkgconf
Checking for availability of switch -std=gnu99 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 function sd_get_machine_names in -lsystemd ... no
Checking presence of package bcm_host ... no
Checking function bcm_host_init in -lbcm_host ... no
Checking presence of package egl ... 20.0.4
Checking function ass_library_init in -lass ... no
Checking function pthread_create in -lpthread ... yes
Checking function dlopen in -lc ... 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 ... yes
Checking presence of header file sys/soundcard.h ... yes
Checking presence of header file soundcard.h ... yes
Checking existence of -lossaudio ... yes
Checking presence of package rsound >= 1.1 ... no
Checking presence of package libroar >= 1.0.12 ... no
Checking presence of package sdl >= 1.2.10 ... no
Checking presence of package sdl2 >= 2.0.0 ... 2.0.12
Checking presence of package flac ... 1.3.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 presence of package libusb-1.0 >= 1.0.13 ... no
Checking presence of header file GL/gl.h ... yes
Checking existence of -lGL ... yes
Checking function cgCreateContext in -lCg -lCgGL ... no
Checking presence of package zlib ... 1.2.10
Checking function dlopen in -lc ... yes
Checking presence of package vg ... no
Checking presence of package libv4l2 ... no
Checking presence of package freetype2 ... 23.1.17
Checking presence of package x11 ... 1.6.9
Checking presence of package xcb ... 1.14
Checking presence of package wayland-cursor >= 1.12 ... 1.18.0
Checking presence of package wayland-protocols >= 1.15 ... 1.20
Checking presence of package wayland-scanner >= 1.12 ... 1.18.0
Checking presence of package xkbcommon >= 0.3.2 ... 0.10.0
Checking presence of package xext ... 1.3.4
Checking presence of package xxf86vm ... 1.1.4
Notice: wayland libraries not found, disabling wayland support.
Checking existence of -lXrandr ... yes
Checking presence of package xinerama ... 1.1.4
Checking presence of package xv ... 1.0.11
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
Checking function vkCreateInstance in -lvulkan ... no
Creating make config: config.mk
Creating config header: config.h