=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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 mame-0.195.tar.gz
=> Checksum RMD160 OK for mame-0.195.tar.gz
=> Checksum SHA512 OK for mame-0.195.tar.gz
===> Installing dependencies for mame-0.195nb2
==========================================================================
The following variables will affect the build process of this package,
mame-0.195nb2.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * PYTHON_VERSION_DEFAULT = 27

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * PYPACKAGE = python27

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.56.1
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.3.2
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency python27>=2.7.1nb2: found python27-2.7.14
=> Build dependency xorgproto>=2016.1: found xorgproto-2018.4
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.13
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency liberation-ttf-[0-9]*: found liberation-ttf-2.00.1nb1
=> Full dependency flac>=1.1.3nb1: found flac-1.3.2
=> Full dependency GConf>=2.32.4nb5: found GConf-3.2.3
=> Full dependency SDL2>=2.0.3nb8: found SDL2-2.0.8
=> Full dependency SDL2_ttf>=2.0.12nb2: found SDL2_ttf-2.0.14
=> Full dependency jpeg>=9: found jpeg-9c
=> Full dependency libXinerama>=1.0.1: found libXinerama-1.1.3nb1
=> Full dependency gtk2+>=2.24.32nb3: found gtk2+-2.24.32nb4
===> Overriding tools for mame-0.195nb2
===> Extracting for mame-0.195nb2
/bin/rm /data/scratch/emulators/mame/work/mame-mame0195/3rdparty/bx/include/compat/freebsd/signal.h
/bin/rm /data/scratch/emulators/mame/work/mame-mame0195/3rdparty/bx/include/compat/freebsd/dirent.h
/bin/mv /data/scratch/emulators/mame/work/mame-mame0195/3rdparty/genie/build/gmake.freebsd /data/scratch/emulators/mame/work/mame-mame0195/3rdparty/genie/build/gmake.bsd
===> Patching for mame-0.195nb2
=> Applying pkgsrc patches for mame-0.195nb2
=> Verifying /data/pkgsrc/emulators/mame/patches/patch-3rdparty_asio_include_asio_detail_config.hpp
=> Applying pkgsrc patch /data/pkgsrc/emulators/mame/patches/patch-3rdparty_asio_include_asio_detail_config.hpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-3rdparty_asio_include_asio_detail_config.hpp,v 1.1 2016/11/05 10:05:26 wiz Exp $
|
|gcc coming with NetBSD does not provide string_view.
|
|--- 3rdparty/asio/include/asio/detail/config.hpp.orig	2016-10-25 23:47:23.000000000 +0000
|+++ 3rdparty/asio/include/asio/detail/config.hpp
--------------------------
Patching file 3rdparty/asio/include/asio/detail/config.hpp using Plan A...
Hunk #1 succeeded at 714.
done
=> Verifying /data/pkgsrc/emulators/mame/patches/patch-3rdparty_bgfx_examples_common_font_font__manager.cpp
=> Applying pkgsrc patch /data/pkgsrc/emulators/mame/patches/patch-3rdparty_bgfx_examples_common_font_font__manager.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-3rdparty_bgfx_examples_common_font_font__manager.cpp,v 1.1 2016/01/14 23:12:01 wiz Exp $
|
|Compatibility with freetype2-2.6.2.
|
|--- 3rdparty/bgfx/examples/common/font/font_manager.cpp.orig	2015-12-30 07:18:51.000000000 +0000
|+++ 3rdparty/bgfx/examples/common/font/font_manager.cpp
--------------------------
Patching file 3rdparty/bgfx/examples/common/font/font_manager.cpp using Plan A...
Hunk #1 succeeded at 18 (offset 1 line).
done
=> Verifying /data/pkgsrc/emulators/mame/patches/patch-3rdparty_bx_include_bx_platform.h
=> Applying pkgsrc patch /data/pkgsrc/emulators/mame/patches/patch-3rdparty_bx_include_bx_platform.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-3rdparty_bx_include_bx_platform.h,v 1.6 2018/03/18 00:40:20 ryoon Exp $
|
|--- 3rdparty/bx/include/bx/platform.h.orig	2018-02-27 15:59:06.000000000 +0000
|+++ 3rdparty/bx/include/bx/platform.h
--------------------------
Patching file 3rdparty/bx/include/bx/platform.h using Plan A...
Hunk #1 succeeded at 35.
Hunk #2 succeeded at 237.
Hunk #3 succeeded at 248.
Hunk #4 succeeded at 384.
done
=> Verifying /data/pkgsrc/emulators/mame/patches/patch-3rdparty_bx_src_mutex.cpp
=> Applying pkgsrc patch /data/pkgsrc/emulators/mame/patches/patch-3rdparty_bx_src_mutex.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-3rdparty_bx_src_mutex.cpp,v 1.1 2018/03/18 00:40:20 ryoon Exp $
|
|--- 3rdparty/bx/src/mutex.cpp.orig	2018-02-27 15:59:06.000000000 +0000
|+++ 3rdparty/bx/src/mutex.cpp
--------------------------
Patching file 3rdparty/bx/src/mutex.cpp using Plan A...
Hunk #1 succeeded at 13.
done
=> Verifying /data/pkgsrc/emulators/mame/patches/patch-3rdparty_bx_src_thread.cpp
=> Applying pkgsrc patch /data/pkgsrc/emulators/mame/patches/patch-3rdparty_bx_src_thread.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-3rdparty_bx_src_thread.cpp,v 1.1 2018/03/18 00:40:20 ryoon Exp $
|
|--- 3rdparty/bx/src/thread.cpp.orig	2018-02-27 15:59:06.000000000 +0000
|+++ 3rdparty/bx/src/thread.cpp
--------------------------
Patching file 3rdparty/bx/src/thread.cpp using Plan A...
Hunk #1 succeeded at 11.
done
=> Verifying /data/pkgsrc/emulators/mame/patches/patch-makefile
=> Applying pkgsrc patch /data/pkgsrc/emulators/mame/patches/patch-makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-makefile,v 1.20 2017/09/09 22:40:58 dholland Exp $
|
|Treat all BSDs the same.
|Add missing rules for building with clang on FreeBSD and NetBSD.
|
|--- makefile.orig	2017-03-29 03:12:20.000000000 +0000
|+++ makefile
--------------------------
Patching file makefile using Plan A...
Hunk #1 succeeded at 183 (offset 3 lines).
Hunk #2 succeeded at 1374 (offset 17 lines).
Hunk #3 succeeded at 1397 (offset 3 lines).
done
=> Verifying /data/pkgsrc/emulators/mame/patches/patch-scripts_genie.lua
=> Applying pkgsrc patch /data/pkgsrc/emulators/mame/patches/patch-scripts_genie.lua
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-scripts_genie.lua,v 1.6 2017/01/04 23:05:12 wiz Exp $
|
|Precompilation is broken on NetBSD with gcc-5.3.
|Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD.
|
|--- scripts/genie.lua.orig	2016-12-27 21:02:43.000000000 +0000
|+++ scripts/genie.lua
--------------------------
Patching file scripts/genie.lua using Plan A...
Hunk #1 succeeded at 70.
Hunk #2 succeeded at 714 (offset 8 lines).
done
===> Creating toolchain wrappers for mame-0.195nb2
===> Configuring for mame-0.195nb2
=> Generating pkg-config file for builtin expat package.
=> Checking for portability problems in extracted files