=> 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 ffmpeg-3.4.2.tar.xz
=> Checksum RMD160 OK for ffmpeg-3.4.2.tar.xz
=> Checksum SHA512 OK for ffmpeg-3.4.2.tar.xz
===> Installing dependencies for ffplay3-3.4.2nb2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb1
=> Tool dependency gmake>=3.81: found gmake-4.1nb4
=> Tool dependency perl>=5.0: found perl-5.26.2
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency nasm>=2.13: found nasm-2.13.03
=> 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 SDL2>=2.0.3nb8: found SDL2-2.0.8
=> Full dependency ffmpeg3>=3.4.2nb4: found ffmpeg3-3.4.2nb6
=> Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.8nb1
===> Overriding tools for ffplay3-3.4.2nb2
===> Extracting for ffplay3-3.4.2nb2
===> Patching for ffplay3-3.4.2nb2
=> Applying pkgsrc patches for ffplay3-3.4.2nb2
=> Verifying /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-Makefile
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.3 2017/10/18 20:25:41 adam Exp $
|
|Do "install -c".
|
|--- Makefile.orig	2017-10-15 15:59:36.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 126.
done
=> Verifying /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.6 2018/05/27 15:24:32 tsutsui Exp $
|
|Enable PIC on NetBSD, even on i386 to avoid text relocations.
|
|--- configure.orig	2018-02-12 00:29:18.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 4940.
Hunk #2 succeeded at 5361.
done
=> Verifying /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-doc_Makefile
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-doc_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-doc_Makefile,v 1.1 2016/03/11 15:42:59 fhajny Exp $
|
|Make man pages and html docs versioned.
|
|--- doc/Makefile.orig	2016-02-15 02:29:37.000000000 +0000
|+++ doc/Makefile
--------------------------
Patching file doc/Makefile using Plan A...
Hunk #1 succeeded at 14.
Hunk #2 succeeded at 89 (offset -25 lines).
done
=> Verifying /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-libavformat_sctp.c
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-libavformat_sctp.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libavformat_sctp.c,v 1.1 2018/02/12 20:45:27 adam Exp $
|
|Fix for NetBSD 7.
|
|--- libavformat/sctp.c.orig	2018-02-12 19:57:53.000000000 +0000
|+++ libavformat/sctp.c
--------------------------
Patching file libavformat/sctp.c using Plan A...
Hunk #1 succeeded at 40.
done
=> Verifying /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-libavutil_common.h
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-libavutil_common.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libavutil_common.h,v 1.2 2017/05/17 15:28:51 he Exp $
|
|Add required int includes on various opensource platforms.
|
|--- libavutil/common.h.orig	2016-01-15 16:58:36.000000000 +0000
|+++ libavutil/common.h
--------------------------
Patching file libavutil/common.h using Plan A...
Hunk #1 succeeded at 44 (offset 1 line).
done
=> Verifying /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-libavutil_x86_asm.h
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-libavutil_x86_asm.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libavutil_x86_asm.h,v 1.2 2016/10/28 19:15:06 adam Exp $
|
|Avoid SunOS regset.h definition for REG_SP
|
|--- libavutil/x86/asm.h.orig	2016-10-28 18:31:25.000000000 +0000
|+++ libavutil/x86/asm.h
--------------------------
Patching file libavutil/x86/asm.h using Plan A...
Hunk #1 succeeded at 27.
done
=> Verifying /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-libavutil_x86_cpu.c
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay3/../../multimedia/ffmpeg3/patches/patch-libavutil_x86_cpu.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libavutil_x86_cpu.c,v 1.2 2017/05/17 15:28:51 he Exp $
|
|Make a part of the code depend on GCC >= 4.2.
|
|--- libavutil/x86/cpu.c.orig	2016-01-15 16:58:37.000000000 +0000
|+++ libavutil/x86/cpu.c
--------------------------
Patching file libavutil/x86/cpu.c using Plan A...
Hunk #1 succeeded at 116.
Hunk #2 succeeded at 141 (offset 2 lines).
done
===> Creating toolchain wrappers for ffplay3-3.4.2nb2
===> Configuring for ffplay3-3.4.2nb2
=> Fixing configuration path.
mkdir /data/scratch/multimedia/ffplay3/work/ffmpeg-3.4.2/tmp
=> Replacing Perl interpreter in doc/texi2pod.pl.
=> Replacing sh interpreter in configure ffbuild/version.sh.
INFO: [replace-interpreter] Nothing changed in configure.
INFO: [replace-interpreter] Nothing changed in ffbuild/version.sh.
=> Checking for portability problems in extracted files
pkg-config: not found
ERROR: libxml-2.0 not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/multimedia/ffplay3
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
*** Error code 1

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