=> 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 gupnp-tools-0.8.9.tar.xz
=> Checksum RMD160 OK for gupnp-tools-0.8.9.tar.xz
=> Checksum SHA512 OK for gupnp-tools-0.8.9.tar.xz
===> Installing dependencies for gupnp-tools-0.8.9nb21
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.56.1
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb1
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb2
=> Tool dependency gmake>=3.81: found gmake-4.1nb4
=> Tool dependency perl>=5.0: found perl-5.26.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> 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 gupnp>=1.0.2nb2: found gupnp-1.0.2nb2
=> Full dependency gupnp-av>=0.12.7nb10: found gupnp-av-0.12.7nb10
=> Full dependency gtk3+>=3.22.29nb1: found gtk3+-3.22.30nb1
=> Full dependency gnome-icon-theme>=2.12.1nb2: found gnome-icon-theme-3.12.0nb2
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.23nb1
=> Full dependency gtksourceview3>=3.24.7nb1: found gtksourceview3-3.24.7nb1
===> Overriding tools for gupnp-tools-0.8.9nb21
===> Extracting for gupnp-tools-0.8.9nb21
===> Patching for gupnp-tools-0.8.9nb21
=> Applying pkgsrc patches for gupnp-tools-0.8.9nb21
=> Verifying /data/pkgsrc/net/gupnp-tools/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/net/gupnp-tools/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.5 2015/01/20 10:28:53 wiz Exp $
|
|Add UUID support for *BSD
|https://bugzilla.gnome.org/show_bug.cgi?id=743234
|
|--- src/network-light/upnp.c.orig	2013-10-20 11:15:48.000000000 +0000
|+++ src/network-light/upnp.c
--------------------------
Patching file src/network-light/upnp.c using Plan A...
Hunk #1 succeeded at 27.
Hunk #2 succeeded at 339.
done
===> Creating toolchain wrappers for gupnp-tools-0.8.9nb21
===> Configuring for gupnp-tools-0.8.9nb21
cp ../../net/gupnp/files/uuid.pc /data/scratch/net/gupnp-tools/work/.buildlink/lib/pkgconfig/
cp: /data/scratch/net/gupnp-tools/work/.buildlink/lib/pkgconfig/uuid.pc: Permission denied
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/net/gupnp-tools
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/net/gupnp-tools