=> 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 handbrake/HandBrake-1.3.1-source.tar.bz2
=> Checksum RMD160 OK for handbrake/HandBrake-1.3.1-source.tar.bz2
=> Checksum SHA512 OK for handbrake/HandBrake-1.3.1-source.tar.bz2
=> Checksum SHA1 OK for handbrake/dav1d-0.5.1.tar.bz2
=> Checksum RMD160 OK for handbrake/dav1d-0.5.1.tar.bz2
=> Checksum SHA512 OK for handbrake/dav1d-0.5.1.tar.bz2
=> Checksum SHA1 OK for handbrake/ffmpeg-4.2.2.tar.bz2
=> Checksum RMD160 OK for handbrake/ffmpeg-4.2.2.tar.bz2
=> Checksum SHA512 OK for handbrake/ffmpeg-4.2.2.tar.bz2
=> Checksum SHA1 OK for handbrake/libbluray-1.1.2.tar.bz2
=> Checksum RMD160 OK for handbrake/libbluray-1.1.2.tar.bz2
=> Checksum SHA512 OK for handbrake/libbluray-1.1.2.tar.bz2
=> Checksum SHA1 OK for handbrake/libdvdnav-6.0.1.tar.bz2
=> Checksum RMD160 OK for handbrake/libdvdnav-6.0.1.tar.bz2
=> Checksum SHA512 OK for handbrake/libdvdnav-6.0.1.tar.bz2
=> Checksum SHA1 OK for handbrake/libdvdread-6.0.2.tar.bz2
=> Checksum RMD160 OK for handbrake/libdvdread-6.0.2.tar.bz2
=> Checksum SHA512 OK for handbrake/libdvdread-6.0.2.tar.bz2
=> Checksum SHA1 OK for handbrake/x265_3.2.1.tar.gz
=> Checksum RMD160 OK for handbrake/x265_3.2.1.tar.gz
=> Checksum SHA512 OK for handbrake/x265_3.2.1.tar.gz
===> Installing dependencies for handbrake-1.3.1nb4
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.20.2
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.64.2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency automake>=1.9: found automake-1.16.2
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb9
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb4
=> Tool dependency bash-[0-9]*: found bash-5.0.17
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency perl>=5.0: found perl-5.30.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cmake-[0-9]*: found cmake-3.17.3
=> Build dependency nasm>=2.05.01: found nasm-2.14.02nb1
=> Build dependency xorgproto>=2016.1: found xorgproto-2020.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.14nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17
=> Full dependency lame>=3.96.1nb4: found lame-3.100nb1
=> Full dependency libopus>=1.1: found libopus-1.3.1
=> Full dependency libsamplerate>=0.1.2nb3: found libsamplerate-0.1.9
=> Full dependency speex>=1.2rc1: found speex-1.2.0
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.20.2
=> Full dependency gstreamer1>=1.16.2nb1: found gstreamer1-1.16.2nb1
=> Full dependency libass>=0.14.0nb4: found libass-0.14.0nb4
=> Full dependency libtheora>=1.0alpha3nb1: found libtheora-1.1.1nb2
=> Full dependency libvpx>=1.6.1: found libvpx-1.8.2
=> Full dependency x264-devel>=20180224: found x264-devel-20191217
=> Full dependency libxml2>=2.9.10nb2: found libxml2-2.9.10nb2
=> Full dependency gtk3+>=3.24.14nb2: found gtk3+-3.24.20nb1
=> Full dependency jansson>=2.4nb1: found jansson-2.13.1
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.24nb1
===> 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'.
===> Overriding tools for handbrake-1.3.1nb4
===> Extracting for handbrake-1.3.1nb4
/bin/mkdir -p /data/scratch/multimedia/handbrake/work/HandBrake-1.3.1/download
cp /data/scratch/multimedia/handbrake/work/.distfiles/handbrake/ffmpeg-4.2.2.tar.bz2  /data/scratch/multimedia/handbrake/work/HandBrake-1.3.1/download/
cp /data/scratch/multimedia/handbrake/work/.distfiles/handbrake/libbluray-1.1.2.tar.bz2  /data/scratch/multimedia/handbrake/work/HandBrake-1.3.1/download/
cp /data/scratch/multimedia/handbrake/work/.distfiles/handbrake/libdvdnav-6.0.1.tar.bz2  /data/scratch/multimedia/handbrake/work/HandBrake-1.3.1/download/
cp /data/scratch/multimedia/handbrake/work/.distfiles/handbrake/libdvdread-6.0.2.tar.bz2  /data/scratch/multimedia/handbrake/work/HandBrake-1.3.1/download/
cp /data/scratch/multimedia/handbrake/work/.distfiles/handbrake/x265_3.2.1.tar.gz  /data/scratch/multimedia/handbrake/work/HandBrake-1.3.1/download/
cp /data/scratch/multimedia/handbrake/work/.distfiles/handbrake/dav1d-0.5.1.tar.bz2  /data/scratch/multimedia/handbrake/work/HandBrake-1.3.1/download/
===> Patching for handbrake-1.3.1nb4
=> Applying pkgsrc patches for handbrake-1.3.1nb4
=> Verifying /data/pkgsrc/multimedia/handbrake/patches/patch-contrib_libbluray_P04-netbsd-pthread__equal-check.patch
=> Applying pkgsrc patch /data/pkgsrc/multimedia/handbrake/patches/patch-contrib_libbluray_P04-netbsd-pthread__equal-check.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-contrib_libbluray_P04-netbsd-pthread__equal-check.patch,v 1.2 2020/02/13 23:12:37 ryoon Exp $
|
|* mutex: Switch the POSIX backend to PTHREAD_MUTEX_RECURSIVE
|  https://code.videolan.org/videolan/libbluray/merge_requests/17
|  via multimedia/libbluray
|
|--- contrib/libbluray/P04-netbsd-pthread_equal-check.patch.orig	2020-02-13 18:46:05.315624115 +0000
|+++ contrib/libbluray/P04-netbsd-pthread_equal-check.patch
--------------------------
(Creating file contrib/libbluray/P04-netbsd-pthread_equal-check.patch...)
Patching file contrib/libbluray/P04-netbsd-pthread_equal-check.patch using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /data/pkgsrc/multimedia/handbrake/patches/patch-libhb_fifo.c
=> Applying pkgsrc patch /data/pkgsrc/multimedia/handbrake/patches/patch-libhb_fifo.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libhb_fifo.c,v 1.2 2020/02/12 13:54:56 ryoon Exp $
|
|* On NetBSD malloc() is defined in stdlib.h.
|
|--- libhb/fifo.c.orig	2020-01-04 16:28:06.000000000 +0000
|+++ libhb/fifo.c
--------------------------
Patching file libhb/fifo.c using Plan A...
Hunk #1 succeeded at 16.
done
===> Creating toolchain wrappers for handbrake-1.3.1nb4
===> Configuring for handbrake-1.3.1nb4
=> Generating pkg-config file for builtin expat package.
=> Generating pkg-config files for builtin xz package.
=> Checking for portability problems in extracted files
ERROR: unable to continue; configure stop.
probe: build tuple...(pass) x86_64-unknown-netbsd9.99
find: ar...(pass) /usr/bin/ar
find: cp...(pass) /data/scratch/multimedia/handbrake/work/.tools/bin/cp
find: gm4...(pass) /usr/pkg/bin/gm4
find: mkdir...(pass) /data/scratch/multimedia/handbrake/work/.tools/bin/mkdir
find: gpatch...(pass) /data/scratch/multimedia/handbrake/work/.tools/bin/patch
find: rm...(pass) /data/scratch/multimedia/handbrake/work/.tools/bin/rm
find: ranlib...(pass) /usr/bin/ranlib
find: strip...(pass) /data/scratch/multimedia/handbrake/work/.tools/bin/strip
find: gtar...(pass) /usr/bin/tar
find: python3.7...(pass) /usr/pkg/bin/python3.7
find: clang...(pass) /data/scratch/multimedia/handbrake/work/.cwrapper/bin/clang
find: gmake...(pass) /data/scratch/multimedia/handbrake/work/.tools/bin/gmake
find: autoconf...(pass) /data/scratch/multimedia/handbrake/work/.tools/bin/autoconf
find: automake...(pass) /data/scratch/multimedia/handbrake/work/.tools/bin/automake
find: libtool...(pass) /data/scratch/multimedia/handbrake/work/.cwrapper/bin/libtool
find: lipo...(fail) not found
find: pkg-config...(pass) /data/scratch/multimedia/handbrake/work/.tools/bin/pkg-config
find: meson...(fail) not found
  : name[0] = meson
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/multimedia/handbrake
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/multimedia/handbrake