=> 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 gcc-8.1.0.tar.xz
=> Checksum RMD160 OK for gcc-8.1.0.tar.xz
=> Checksum SHA512 OK for gcc-8.1.0.tar.xz
===> Installing dependencies for mingw-w64-i686-gcc-8.1.0
=> 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 cwrappers>=20150314: found cwrappers-20180325
=> Full dependency mingw-w64-i686-binutils-[0-9]*: found mingw-w64-i686-binutils-2.30
=> Full dependency gmp>=5.0.1: found gmp-6.1.2
=> Full dependency mpfr>=4.0.0: found mpfr-4.0.1
=> Full dependency mpcomplex>=1.0.3nb1: found mpcomplex-1.1.0
=> Full dependency mingw-w64-i686-crt>=5.0.4: found mingw-w64-i686-crt-5.0.4
===> Overriding tools for mingw-w64-i686-gcc-8.1.0
===> Extracting for mingw-w64-i686-gcc-8.1.0
===> Patching for mingw-w64-i686-gcc-8.1.0
=> Applying pkgsrc patches for mingw-w64-i686-gcc-8.1.0
=> Verifying /data/pkgsrc/cross/mingw-w64-i686-gcc/../../cross/mingw-w64-x86_64-gcc/patches/patch-contrib_download__prerequisites
=> Applying pkgsrc patch /data/pkgsrc/cross/mingw-w64-i686-gcc/../../cross/mingw-w64-x86_64-gcc/patches/patch-contrib_download__prerequisites
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-contrib_download__prerequisites,v 1.1 2018/06/07 19:21:47 ryoon Exp $
|
|* Fix a POSIX portability issue
|
|--- contrib/download_prerequisites.orig	2018-01-29 13:30:02.000000000 +0000
|+++ contrib/download_prerequisites
--------------------------
Patching file contrib/download_prerequisites using Plan A...
Hunk #1 succeeded at 122.
done
===> Creating toolchain wrappers for mingw-w64-i686-gcc-8.1.0
===> Configuring for mingw-w64-i686-gcc-8.1.0
=> 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 build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking target system type... i686-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... /usr/bin/awk
checking for libatomic support... yes
checking for libitm support... no
checking for libsanitizer support... no
checking for libvtv support... yes
checking for libmpx support... no
checking for libhsail-rt support... no
checking for x86_64--netbsd-gcc... clang
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... no
checking for x86_64--netbsd-gnatbind... no
checking for gnatbind... no
checking for x86_64--netbsd-gnatmake... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for isl 0.15 or later... no
required isl version is 0.15 or later
The following languages will be built: c,c++,fortran,lto,objc,obj-c++
*** This configuration is not supported in the following subdirectories:
     target-libgomp target-libitm target-libsanitizer target-libmpx target-libffi target-libgo gnattools gotools target-libada target-libhsail-rt target-liboffloadmic
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... 
checking for --enable-vtable-verify... no
checking for bison... no
checking for byacc... no
checking for yacc... yacc
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... /data/scratch/cross/mingw-w64-i686-gcc/work/.tools/bin/makeinfo
checking for expect... no
checking for runtest... no
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for x86_64--netbsd-as... no
checking for as... as
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking for ld... (cached) /usr/bin/ld
checking for x86_64--netbsd-ld... (cached) /usr/bin/ld
checking for x86_64--netbsd-lipo... no
checking for lipo... no
checking for x86_64--netbsd-nm... no
checking for nm... nm
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-windres... no
checking for windres... no
checking for x86_64--netbsd-windmc... no
checking for windmc... no
checking for x86_64--netbsd-objcopy... no
checking for objcopy... objcopy
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking for x86_64--netbsd-readelf... no
checking for readelf... readelf
checking for i686-w64-mingw32-cc... no
checking for i686-w64-mingw32-gcc... no
checking for i686-w64-mingw32-c++... no
checking for i686-w64-mingw32-g++... no
checking for i686-w64-mingw32-cxx... no
checking for i686-w64-mingw32-gxx... no
checking for i686-w64-mingw32-gcc... no
checking for i686-w64-mingw32-gfortran... no
checking for i686-w64-mingw32-gccgo... no
checking for ar... /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin/ar
checking for as... /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin/as
checking for dlltool... /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin/dlltool
checking for ld... /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin/ld
checking for lipo... no
checking for i686-w64-mingw32-lipo... no
checking for nm... /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin/nm
checking for objcopy... /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin/objcopy
checking for objdump... /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin/objdump
checking for ranlib... /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin/ranlib
checking for readelf... /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin/readelf
checking for strip... /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin/strip
checking for windres... no
checking for i686-w64-mingw32-windres... i686-w64-mingw32-windres
checking for windmc... no
checking for i686-w64-mingw32-windmc... i686-w64-mingw32-windmc
checking where to find the target ar... pre-installed in /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin
checking where to find the target as... pre-installed in /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... pre-installed in /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin
checking where to find the target gcc... just compiled
checking where to find the target gfortran... just compiled
checking where to find the target gccgo... pre-installed
checking where to find the target ld... pre-installed in /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed in /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin
checking where to find the target objcopy... pre-installed in /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin
checking where to find the target objdump... pre-installed in /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin
checking where to find the target ranlib... pre-installed in /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin
checking where to find the target readelf... pre-installed in /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin
checking where to find the target strip... pre-installed in /usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin
checking where to find the target windres... pre-installed
checking where to find the target windmc... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile