=> Bootstrap dependency digest>=20010302: found digest-20160304
WARNING: [license.mk] Every package should define a LICENSE.
===> 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 xf86-video-intel-2.99.917.tar.bz2
=> Checksum RMD160 OK for xf86-video-intel-2.99.917.tar.bz2
=> Checksum SHA512 OK for xf86-video-intel-2.99.917.tar.bz2
===> Installing dependencies for xf86-video-intel-2.99.917nb5
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.0.1
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency x11-links>=1.04: found x11-links-1.05
=> Build dependency compositeproto>=0.3.1: found compositeproto-0.4.2
=> Build dependency fixesproto>=4.0.0: found fixesproto-5.0
=> Build dependency xproto>=7.0.31: found xproto-7.0.31
=> Build dependency damageproto>=1.1.0: found damageproto-1.2.1
=> Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3.1
=> Build dependency scrnsaverproto>=1.1.0: found scrnsaverproto-1.2.2
=> Build dependency randrproto>=1.5.0: found randrproto-1.5.0
=> Build dependency xineramaproto>=1.1.1: found xineramaproto-1.2.1
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency modular-xorg-server>=1.18: found modular-xorg-server-1.19.1
=> Full dependency libXvMC>=1.0.2: found libXvMC-1.0.10
===> Overriding tools for xf86-video-intel-2.99.917nb5
===> Extracting for xf86-video-intel-2.99.917nb5
===> Patching for xf86-video-intel-2.99.917nb5
=> Applying pkgsrc patches for xf86-video-intel-2.99.917nb5
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_backlight.c
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_backlight.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_backlight.c,v 1.2 2015/05/22 05:40:36 richard Exp $
|
|SunOS needs <sys/mkdev.h> for major()
|
|--- src/backlight.c.orig	2014-11-18 21:50:39.000000000 +0000
|+++ src/backlight.c
--------------------------
Patching file src/backlight.c using Plan A...
Hunk #1 succeeded at 49.
Hunk #2 succeeded at 87.
done
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_compat-api.h
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_compat-api.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_compat-api.h,v 1.1 2016/12/07 21:59:54 wiz Exp $
|
|Upstream patches for xorg-server-1.19.
|
|--- src/compat-api.h.orig	2014-11-18 21:50:39.000000000 +0000
|+++ src/compat-api.h
--------------------------
Patching file src/compat-api.h using Plan A...
Hunk #1 succeeded at 30.
Hunk #2 succeeded at 43.
Hunk #3 succeeded at 228.
done
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_legacy_i810_i810__dri.c
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_legacy_i810_i810__dri.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_legacy_i810_i810__dri.c,v 1.1 2015/04/20 13:39:00 khorben Exp $
|
|CID 1107540: Make the code safe avoiding random stack access. In
|the first loop where there is a singleton point to pptSrc, only
|access that singleton, no matter what.
|
|November 2013 patch from NetBSD xsrc:
|http://mail-index.netbsd.org/source-changes/2013/11/14/msg049188.html
|
|--- src/legacy/i810/i810_dri.c.orig	2014-08-29 09:33:11.000000000 +0000
|+++ src/legacy/i810/i810_dri.c
--------------------------
Patching file src/legacy/i810/i810_dri.c using Plan A...
Hunk #1 succeeded at 1104.
done
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_legacy_i810_i810__video.c
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_legacy_i810_i810__video.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_legacy_i810_i810__video.c,v 1.1 2016/12/07 21:59:54 wiz Exp $
|
|Upstream patches for xorg-server-1.19.
|
|--- src/legacy/i810/i810_video.c.orig	2014-08-29 09:33:11.000000000 +0000
|+++ src/legacy/i810/i810_video.c
--------------------------
Patching file src/legacy/i810/i810_video.c using Plan A...
Hunk #1 succeeded at 77.
Hunk #2 succeeded at 422.
Hunk #3 succeeded at 1145.
Hunk #4 succeeded at 1183.
Hunk #5 succeeded at 1415.
done
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_sna_sna.h
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_sna_sna.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_sna_sna.h,v 1.1 2016/12/07 21:59:54 wiz Exp $
|
|Upstream patches for xorg-server-1.19.
|
|--- src/sna/sna.h.orig	2014-12-20 13:29:05.000000000 +0000
|+++ src/sna/sna.h
--------------------------
Patching file src/sna/sna.h using Plan A...
Hunk #1 succeeded at 364.
done
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_sna_sna__accel.c
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_sna_sna__accel.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_sna_sna__accel.c,v 1.1 2016/12/07 21:59:54 wiz Exp $
|
|Upstream patches for xorg-server-1.19.
|
|--- src/sna/sna_accel.c.orig	2014-12-20 13:29:27.000000000 +0000
|+++ src/sna/sna_accel.c
--------------------------
Patching file src/sna/sna_accel.c using Plan A...
Hunk #1 succeeded at 115.
Hunk #2 succeeded at 17816.
Hunk #3 succeeded at 17834.
Hunk #4 succeeded at 18010.
done
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_sna_sna__acpi.c
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_sna_sna__acpi.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_sna_sna__acpi.c,v 1.1 2016/12/07 21:59:54 wiz Exp $
|
|Upstream patches for xorg-server-1.19.
|
|--- src/sna/sna_acpi.c.orig	2014-08-29 09:33:11.000000000 +0000
|+++ src/sna/sna_acpi.c
--------------------------
Patching file src/sna/sna_acpi.c using Plan A...
Hunk #1 succeeded at 92.
Hunk #2 succeeded at 136.
Hunk #3 succeeded at 207.
done
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_sna_sna__display.c
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_sna_sna__display.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_sna_sna__display.c,v 1.1 2015/05/22 05:40:36 richard Exp $
|
|SunOS needs <alloca.h> for alloca()
|
|--- src/sna/sna_display.c.orig	2014-12-20 13:45:31.000000000 +0000
|+++ src/sna/sna_display.c
--------------------------
Patching file src/sna/sna_display.c using Plan A...
Hunk #1 succeeded at 72.
done
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_sna_sna__dri2.c
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_sna_sna__dri2.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_sna_sna__dri2.c,v 1.1 2015/03/03 01:02:05 khorben Exp $
|
|--- src/sna/sna_dri2.c.orig	2014-12-20 12:46:23.000000000 +0000
|+++ src/sna/sna_dri2.c
--------------------------
Patching file src/sna/sna_dri2.c using Plan A...
Hunk #1 succeeded at 247.
done
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_sna_sna__driver.c
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_sna_sna__driver.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_sna_sna__driver.c,v 1.1 2016/12/07 21:59:54 wiz Exp $
|
|Upstream patches for xorg-server-1.19.
|
|--- src/sna/sna_driver.c.orig	2014-12-11 13:52:11.000000000 +0000
|+++ src/sna/sna_driver.c
--------------------------
Patching file src/sna/sna_driver.c using Plan A...
Hunk #1 succeeded at 732.
Hunk #2 succeeded at 779.
Hunk #3 succeeded at 974.
Hunk #4 succeeded at 1198.
done
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_uxa_intel.h
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_uxa_intel.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_uxa_intel.h,v 1.1 2016/12/07 21:59:54 wiz Exp $
|
|Upstream patches for xorg-server-1.19.
|
|--- src/uxa/intel.h.orig	2014-12-09 20:41:25.000000000 +0000
|+++ src/uxa/intel.h
--------------------------
Patching file src/uxa/intel.h using Plan A...
Hunk #1 succeeded at 196.
done
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_uxa_intel__display.c
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_uxa_intel__display.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_uxa_intel__display.c,v 1.1 2016/12/07 21:59:54 wiz Exp $
|
|Upstream patches for xorg-server-1.19.
|
|--- src/uxa/intel_display.c.orig	2014-12-09 20:43:16.000000000 +0000
|+++ src/uxa/intel_display.c
--------------------------
Patching file src/uxa/intel_display.c using Plan A...
Hunk #1 succeeded at 2072.
Hunk #2 succeeded at 2087.
Hunk #3 succeeded at 2259.
Hunk #4 succeeded at 2287.
done
=> Verifying /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_uxa_intel__driver.c
=> Applying pkgsrc patch /data/pkgsrc-current/x11/xf86-video-intel/patches/patch-src_uxa_intel__driver.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_uxa_intel__driver.c,v 1.2 2016/12/07 21:59:54 wiz Exp $
|
|Upstream patches for xorg-server-1.19.
|
|--- src/uxa/intel_driver.c.orig	2014-12-09 20:43:22.000000000 +0000
|+++ src/uxa/intel_driver.c
--------------------------
Patching file src/uxa/intel_driver.c using Plan A...
Hunk #1 succeeded at 642.
Hunk #2 succeeded at 663.
Hunk #3 succeeded at 682.
Hunk #4 succeeded at 700.
Hunk #5 succeeded at 958.
done
===> Creating toolchain wrappers for xf86-video-intel-2.99.917nb5
pkg_info: can't find package `_BLNK_PKG_DBDIR.MesaLib_not_found'
pkg_info: can't find package `_BLNK_PKG_DBDIR.libXdamage_not_found'
pkg_info: can't find package `_BLNK_PKG_DBDIR.libXv_not_found'
src=/usr/X11R7/lib/pkgconfig/compositeproto.pc  dst=/data/scratch/x11/xf86-video-intel/work/.buildlink/lib/pkgconfig/compositeext.pc;  /bin/mkdir -p /data/scratch/x11/xf86-video-intel/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
src=/usr/X11R7/lib/pkgconfig/fixesproto.pc  dst=/data/scratch/x11/xf86-video-intel/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /data/scratch/x11/xf86-video-intel/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for xf86-video-intel-2.99.917nb5
=> Generating pkg-config file for builtin expat package.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for x86_64--netbsd-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking for a sed that does not truncate output... /usr/bin/sed
checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
checking if gcc -std=gnu99 supports-Wall... yes
checking if gcc -std=gnu99 supports-Wpointer-arith... yes
checking if gcc -std=gnu99 supports-Wmissing-declarations... yes
checking if gcc -std=gnu99 supports-Wformat=2... yes
checking if gcc -std=gnu99 supports-Wstrict-prototypes... yes
checking if gcc -std=gnu99 supports-Wmissing-prototypes... yes
checking if gcc -std=gnu99 supports-Wnested-externs... yes
checking if gcc -std=gnu99 supports-Wbad-function-cast... yes
checking if gcc -std=gnu99 supports-Wold-style-definition... yes
checking if gcc -std=gnu99 supports-Wdeclaration-after-statement... yes
checking if gcc -std=gnu99 supports-Wunused... yes
checking if gcc -std=gnu99 supports-Wuninitialized... yes
checking if gcc -std=gnu99 supports-Wshadow... yes
checking if gcc -std=gnu99 supports-Wcast-qual... yes
checking if gcc -std=gnu99 supports-Wmissing-noreturn... yes
checking if gcc -std=gnu99 supports-Wmissing-format-attribute... yes
checking if gcc -std=gnu99 supports-Wredundant-decls... yes
checking if gcc -std=gnu99 supports-Werror=implicit... yes
checking if gcc -std=gnu99 supports-Werror=nonnull... yes
checking if gcc -std=gnu99 supports-Werror=init-self... yes
checking if gcc -std=gnu99 supports-Werror=main... yes
checking if gcc -std=gnu99 supports-Werror=missing-braces... yes
checking if gcc -std=gnu99 supports-Werror=sequence-point... yes
checking if gcc -std=gnu99 supports-Werror=return-type... yes
checking if gcc -std=gnu99 supports-Werror=trigraphs... yes
checking if gcc -std=gnu99 supports-Werror=array-bounds... yes
checking if gcc -std=gnu99 supports-Werror=write-strings... yes
checking if gcc -std=gnu99 supports-Werror=address... yes
checking if gcc -std=gnu99 supports-Werror=int-to-pointer-cast... yes
checking if gcc -std=gnu99 supports-Werror=pointer-to-int-cast... yes
checking if gcc -std=gnu99 supports-pedantic... yes
checking if gcc -std=gnu99 supports-Werror... yes
checking if gcc -std=gnu99 supports-Werror=attributes... yes
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xorg-macros', required by 'virtual:world', not found
checking whether make supports nested variables... (cached) yes
checking if gcc -std=gnu99 supports-Wno-cast-qual... yes
checking if gcc -std=gnu99 supports-Wno-redundant-decls... yes
checking if gcc -std=gnu99 supports-Wno-maybe-uninitialized... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /data/scratch/x11/xf86-video-intel/work/.cwrapper/bin/ld
checking if the linker (/data/scratch/x11/xf86-video-intel/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /data/scratch/x11/xf86-video-intel/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/data/scratch/x11/xf86-video-intel/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for strlcpy... yes
checking for strlcat... yes
checking for strndup... yes
checking for native atomic primitives... Intel
checking for UDEV... no
checking for X11... no
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for sys/ipc.h... (cached) yes
checking for X11/extensions/XShm.h... yes
checking for X11/extensions/shmproto.h... yes
checking for X11/extensions/shmstr.h... yes
checking whether shmctl IPC_RMID allows subsequent attaches... no
checking for X11_DRI3... no
checking for IVO_EXTRA... yes
checking for X11/extensions/Xinerama.h... yes
checking for IVO_EXTRA... yes
checking for IVO... no
checking sys/timerfd.h usability... no
checking sys/timerfd.h presence... no
checking for sys/timerfd.h... no
checking whether to build additional tools... no
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if DPMSExtension is defined... yes
checking for DRM... yes
checking for PCIACCESS... yes
checking sys/sysinfo.h usability... no
checking sys/sysinfo.h presence... no
checking for sys/sysinfo.h... no
checking for DRMINTEL... yes
checking for XORG... yes
checking vgaHW.h usability... yes
checking vgaHW.h presence... yes
checking for vgaHW.h... yes
checking xaa.h usability... no
checking xaa.h presence... no
checking for xaa.h... no
checking whether to include XAA support... no
checking for dgaproc.h... yes
checking whether to include DGA support... yes
checking if XF86DRI is defined... no
checking whether to include DRI1 support... no
configure: error: DRI1 requested but prerequisites not found
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc-current/x11/xf86-video-intel
*** Error code 1

Stop.
make: stopped in /data/pkgsrc-current/x11/xf86-video-intel