=> 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-4.0.1.tar.xz
=> Checksum RMD160 OK for ffmpeg-4.0.1.tar.xz
=> Checksum SHA512 OK for ffmpeg-4.0.1.tar.xz
===> Installing dependencies for ffplay4-4.0.1
=> 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 ffmpeg4>=4.0: found ffmpeg4-4.0.1
=> Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.8nb1
===> Overriding tools for ffplay4-4.0.1
===> Extracting for ffplay4-4.0.1
===> Patching for ffplay4-4.0.1
=> Applying pkgsrc patches for ffplay4-4.0.1
=> Verifying /data/pkgsrc/multimedia/ffplay4/../../multimedia/ffmpeg4/patches/patch-Makefile
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay4/../../multimedia/ffmpeg4/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.1 2018/04/26 07:56:57 adam Exp $
|
|Do "install -c".
|
|--- Makefile.orig	2018-04-20 10:02:55.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 125.
done
=> Verifying /data/pkgsrc/multimedia/ffplay4/../../multimedia/ffmpeg4/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay4/../../multimedia/ffmpeg4/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.2 2018/05/27 16:28:12 tsutsui Exp $
|
|Enable PIC on NetBSD, even on i386 to avoid text relocations.
|Do not use 'rsync'.
|
|--- configure.orig	2018-04-20 10:02:55.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 2165.
Hunk #2 succeeded at 5043 (offset 1 line).
Hunk #3 succeeded at 5430 (offset 1 line).
Hunk #4 succeeded at 6194 (offset 1 line).
done
=> Verifying /data/pkgsrc/multimedia/ffplay4/../../multimedia/ffmpeg4/patches/patch-doc_Makefile
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay4/../../multimedia/ffmpeg4/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 2018/04/26 07:56:57 adam 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/ffplay4/../../multimedia/ffmpeg4/patches/patch-libavformat_sctp.c
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay4/../../multimedia/ffmpeg4/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/04/26 07:56:57 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/ffplay4/../../multimedia/ffmpeg4/patches/patch-libavutil_common.h
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay4/../../multimedia/ffmpeg4/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.1 2018/04/26 07:56:57 adam 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/ffplay4/../../multimedia/ffmpeg4/patches/patch-libavutil_x86_asm.h
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay4/../../multimedia/ffmpeg4/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.1 2018/04/26 07:56:57 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/ffplay4/../../multimedia/ffmpeg4/patches/patch-libavutil_x86_cpu.c
=> Applying pkgsrc patch /data/pkgsrc/multimedia/ffplay4/../../multimedia/ffmpeg4/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.1 2018/04/26 07:56:57 adam 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 117 (offset 1 line).
Hunk #2 succeeded at 141 (offset 2 lines).
done
===> Creating toolchain wrappers for ffplay4-4.0.1
===> Configuring for ffplay4-4.0.1
mkdir /data/scratch/multimedia/ffplay4/work/ffmpeg-4.0.1/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/ffplay4
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
*** Error code 1

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