=> 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 grub-2.00.tar.gz
=> Checksum RMD160 OK for grub-2.00.tar.gz
=> Checksum SHA512 OK for grub-2.00.tar.gz
=> Checksum SHA1 OK for unifont-5.1.20080820.pcf.gz
=> Checksum RMD160 OK for unifont-5.1.20080820.pcf.gz
=> Checksum SHA512 OK for unifont-5.1.20080820.pcf.gz
===> Installing dependencies for grub2-2.00nb5
==========================================================================
The supported build options for grub2 are:

	debug freetype

The currently selected options are:

	freetype

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.grub2 (not defined)

==========================================================================
=> Tool dependency bison>=1.0: found bison-3.0.4nb3
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency help2man>=1.36: found help2man-1.47.5
=> Build dependency dejavu-ttf>=2.34nb1: found dejavu-ttf-2.37
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Build dependency cwrappers>=20150314: found cwrappers-20171108
=> Full dependency freetype2>=2.4.11: found freetype2-2.8.1
===> Overriding tools for grub2-2.00nb5
===> Extracting for grub2-2.00nb5
/bin/mv /data/scratch/sysutils/grub2/work/unifont-5.1.20080820.pcf /data/scratch/sysutils/grub2/work/grub-2.00/unifont.pcf
===> Patching for grub2-2.00nb5
=> Applying pkgsrc patches for grub2-2.00nb5
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2012/07/29 21:44:13 gsutre Exp $
|
|Strengthen the test for working -nostdinc -isystem.  Otherwise,
|configure believes that -nostdinc -isystem works with gcc44, which
|makes the build fail afterwards (for a file including stddef.h).
|
|--- configure.orig	2012-06-26 11:59:16.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 21169.
done
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_lib_posix__wrap_sys_types.h
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_lib_posix__wrap_sys_types.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-grub-core_lib_posix__wrap_sys_types.h,v 1.1 2012/07/29 21:44:13 gsutre Exp $
|
|Include stddef rather than defining size_t to avoid conflict.
|
|--- grub-core/lib/posix_wrap/sys/types.h.orig	2012-05-28 15:52:37.000000000 +0000
|+++ grub-core/lib/posix_wrap/sys/types.h
--------------------------
Patching file grub-core/lib/posix_wrap/sys/types.h using Plan A...
Hunk #1 succeeded at 21.
done
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_lib_posix__wrap_wchar.h
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_lib_posix__wrap_wchar.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-grub-core_lib_posix__wrap_wchar.h,v 1.1 2012/07/29 21:44:13 gsutre Exp $
|
|Include stddef rather than defining wchar_t to avoid conflict.
|
|--- grub-core/lib/posix_wrap/wchar.h.orig	2012-02-08 20:34:24.000000000 +0000
|+++ grub-core/lib/posix_wrap/wchar.h
--------------------------
Patching file grub-core/lib/posix_wrap/wchar.h using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_lib_xzembed_xz__dec__lzma2.c
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_lib_xzembed_xz__dec__lzma2.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-grub-core_lib_xzembed_xz__dec__lzma2.c,v 1.1 2014/09/05 12:14:24 gsutre Exp $
|
|Make -Wattributes not cause error.
|Upstream commit 64463dfde40b4cf5e551899d656d3ef50b7a008a.
|
|--- grub-core/lib/xzembed/xz_dec_lzma2.c.orig	2010-12-01 14:45:43.000000000 +0000
|+++ grub-core/lib/xzembed/xz_dec_lzma2.c
--------------------------
Patching file grub-core/lib/xzembed/xz_dec_lzma2.c using Plan A...
Hunk #1 succeeded at 24.
done
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_loader_i386_pc_plan9.c
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_loader_i386_pc_plan9.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-grub-core_loader_i386_pc_plan9.c,v 1.1 2012/07/29 21:44:13 gsutre Exp $
|
|Prevent warning with lang/gcc44, leading to build failure.
|
|--- grub-core/loader/i386/pc/plan9.c.orig	2012-03-04 00:00:08.000000000 +0000
|+++ grub-core/loader/i386/pc/plan9.c
--------------------------
Patching file grub-core/loader/i386/pc/plan9.c using Plan A...
Hunk #1 succeeded at 102.
done
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_net_bootp.c
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_net_bootp.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-grub-core_net_bootp.c,v 1.1 2016/05/03 14:53:14 nonaka Exp $
|
|--- grub-core/net/bootp.c.orig  2012-06-22 05:15:48.000000000 +0900
|+++ grub-core/net/bootp.c       2016-04-27 22:57:02.990825737 +0900
--------------------------
Patching file grub-core/net/bootp.c using Plan A...
Hunk #1 succeeded at 52.
done
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_script_yylex.l
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_script_yylex.l
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-grub-core_script_yylex.l,v 1.1 2012/08/12 13:15:12 marino Exp $
|
|Fix grub_script.yy.c errors:
|* 'yy_fatal_error' defined but not used
|* In function 'yy_scan_bytes':
|  comparison between signed and unsigned integer expression 
|
|--- grub-core/script/yylex.l.orig	2012-06-08 20:24:15.000000000 +0000
|+++ grub-core/script/yylex.l
--------------------------
Patching file grub-core/script/yylex.l using Plan A...
Hunk #1 succeeded at 29.
Hunk #2 succeeded at 39.
done
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-stpcpy-1.diff
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-stpcpy-1.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-stpcpy-1.diff,v 1.1 2012/07/29 21:44:13 gsutre Exp $
|
|Add gnulib's stpcpy.
|
|=== modified file 'grub-core/gnulib/Makefile.am'
|--- grub-core/gnulib/Makefile.am	2010-09-20 23:09:23 +0000
|+++ grub-core/gnulib/Makefile.am	2012-07-28 13:09:43 +0000
--------------------------
Patching file grub-core/gnulib/Makefile.am using Plan A...
Hunk #1 succeeded at 9.
Hunk #2 succeeded at 859.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|=== added file 'grub-core/gnulib/stpcpy.c'
|--- grub-core/gnulib/stpcpy.c	1970-01-01 00:00:00 +0000
|+++ grub-core/gnulib/stpcpy.c	2012-07-28 13:09:38 +0000
--------------------------
(Creating file grub-core/gnulib/stpcpy.c...)
Patching file grub-core/gnulib/stpcpy.c using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|=== modified file 'm4/gnulib-cache.m4'
|--- m4/gnulib-cache.m4	2010-09-20 23:09:23 +0000
|+++ m4/gnulib-cache.m4	2012-07-28 13:09:43 +0000
--------------------------
Patching file m4/gnulib-cache.m4 using Plan A...
Hunk #1 succeeded at 15.
Hunk #2 succeeded at 28.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|=== modified file 'm4/gnulib-comp.m4'
|--- m4/gnulib-comp.m4	2010-09-20 23:09:23 +0000
|+++ m4/gnulib-comp.m4	2012-07-28 13:09:44 +0000
--------------------------
Patching file m4/gnulib-comp.m4 using Plan A...
Hunk #1 succeeded at 73.
Hunk #2 succeeded at 222.
Hunk #3 succeeded at 486.
Hunk #4 succeeded at 581.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|=== added file 'm4/stpcpy.m4'
|--- m4/stpcpy.m4	1970-01-01 00:00:00 +0000
|+++ m4/stpcpy.m4	2012-07-28 13:09:38 +0000
--------------------------
(Creating file m4/stpcpy.m4...)
Patching file m4/stpcpy.m4 using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-stpcpy-2-gen.diff
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-stpcpy-2-gen.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-stpcpy-2-gen.diff,v 1.1 2012/07/29 21:44:13 gsutre Exp $
|
|Add gnulib's stpcpy.  Generated files only.
|
|diff -Naurp grub-2.00/Makefile.in grub-2.00.stpcpy/Makefile.in
|--- Makefile.in	2012-06-26 14:12:41.000000000 +0200
|+++ Makefile.in	2012-07-28 16:02:25.351302756 +0200
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 6070.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naurp grub-2.00/aclocal.m4 grub-2.00.stpcpy/aclocal.m4
|--- aclocal.m4	2012-06-26 13:59:13.000000000 +0200
|+++ aclocal.m4	2012-07-28 15:57:51.202749270 +0200
--------------------------
Patching file aclocal.m4 using Plan A...
Hunk #1 succeeded at 1088.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naurp grub-2.00/configure grub-2.00.stpcpy/configure
|--- configure	2012-06-26 13:59:16.000000000 +0200
|+++ configure	2012-07-28 15:57:56.658680680 +0200
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 6778.
Hunk #2 succeeded at 17953.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naurp grub-2.00/docs/Makefile.in grub-2.00.stpcpy/docs/Makefile.in
|--- docs/Makefile.in	2012-06-26 13:59:17.000000000 +0200
|+++ docs/Makefile.in	2012-07-28 16:02:37.319152299 +0200
--------------------------
Patching file docs/Makefile.in using Plan A...
Hunk #1 succeeded at 89.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naurp grub-2.00/grub-core/Makefile.in grub-2.00.stpcpy/grub-core/Makefile.in
|--- grub-core/Makefile.in	2012-06-26 14:12:27.000000000 +0200
|+++ grub-core/Makefile.in	2012-07-28 16:02:31.483225667 +0200
--------------------------
Patching file grub-core/Makefile.in using Plan A...
Hunk #1 succeeded at 23878.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naurp grub-2.00/grub-core/gnulib/Makefile.in grub-2.00.stpcpy/grub-core/gnulib/Makefile.in
|--- grub-core/gnulib/Makefile.in	2012-06-26 14:00:29.000000000 +0200
|+++ grub-core/gnulib/Makefile.in	2012-07-28 16:05:07.073269635 +0200
--------------------------
Patching file grub-core/gnulib/Makefile.in using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 101.
Hunk #3 succeeded at 843.
Hunk #4 succeeded at 904.
Hunk #5 succeeded at 1013.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naurp grub-2.00/util/bash-completion.d/Makefile.in grub-2.00.stpcpy/util/bash-completion.d/Makefile.in
|--- util/bash-completion.d/Makefile.in	2012-06-26 14:00:29.000000000 +0200
|+++ util/bash-completion.d/Makefile.in	2012-07-28 16:02:28.407264338 +0200
--------------------------
Patching file util/bash-completion.d/Makefile.in using Plan A...
Hunk #1 succeeded at 87.
done
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-util_getroot.c
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-util_getroot.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-util_getroot.c,v 1.1 2014/09/05 12:14:24 gsutre Exp $
|
|Fix grub-emu build.
|
|* exec_pipe: Define only on Linux or when either libzfs or libnvpair is unavailable.
|* find_root_devices_from_poolname: Remove unused path variable.
|
|Taken from upstream commit 794c8c33758792627113ae98ec495b9856960d92.
|
|--- util/getroot.c.orig	2012-06-22 15:42:07.000000000 +0000
|+++ util/getroot.c
--------------------------
Patching file util/getroot.c using Plan A...
Hunk #1 succeeded at 220.
Hunk #2 succeeded at 261.
Hunk #3 succeeded at 274.
done
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-util_grub-mkfont.c
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-util_grub-mkfont.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-util_grub-mkfont.c,v 1.1 2014/07/11 10:58:43 jperkin Exp $
|
|Fix ftsynth.h include.
|
|--- util/grub-mkfont.c.orig	2012-03-10 12:17:57.000000000 +0000
|+++ util/grub-mkfont.c
--------------------------
Patching file util/grub-mkfont.c using Plan A...
Hunk #1 succeeded at 39.
done
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-util_grub.d_10__netbsd.in
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-util_grub.d_10__netbsd.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-util_grub.d_10__netbsd.in,v 1.1 2012/07/29 21:44:13 gsutre Exp $
|
|Make sure that /netbsd is the main boot menu entry.
|Fix indentation for filesystem module.
|
|--- util/grub.d/10_netbsd.in.orig	2012-07-25 13:23:50.000000000 +0000
|+++ util/grub.d/10_netbsd.in
--------------------------
Patching file util/grub.d/10_netbsd.in using Plan A...
Hunk #1 succeeded at 74.
Hunk #2 succeeded at 147.
done
=> Fixing installation of OS configuration scripts.
=> Fixing configuration paths in scripts.
=> Fixing tabulations for sed in scripts.
INFO: [subst.mk:fix-sed-tabs] Nothing changed in ./util/grub.d/00_header.in.
INFO: [subst.mk:fix-sed-tabs] Nothing changed in ./util/grub.d/10_xnu.in.
INFO: [subst.mk:fix-sed-tabs] Nothing changed in ./util/grub.d/40_custom.in.
INFO: [subst.mk:fix-sed-tabs] Nothing changed in ./util/grub.d/41_custom.in.
===> Creating toolchain wrappers for grub2-2.00nb5
===> Configuring for grub2-2.00nb5
=> Fixing dejavu search paths in configure.
=> 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
=> Fixing locale directory references.
=> 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... x86_64--netbsd
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... build-aux/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for cmp... /usr/bin/cmp
checking for bison... /usr/pkg/bin/bison -y
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for gawk... (cached) /usr/bin/awk
checking for style of include used by make... GNU
checking for x86_64--netbsd-gcc... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking dependency style of clang... gcc3
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... (cached) /usr/pkg/bin/bison -y
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for makeinfo... /data/scratch/sysutils/grub2/work/.tools/bin/makeinfo
checking for x86_64--netbsd-gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ISO C89... (cached) none needed
checking dependency style of clang... (cached) gcc3
checking how to run the C preprocessor... clang -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether clang and cc understand -c and -o together... yes
checking dependency style of clang... gcc3
checking whether NLS is requested... yes
checking for msgfmt... /data/scratch/sysutils/grub2/work/.tools/bin/msgfmt
checking for gmsgfmt... /data/scratch/sysutils/grub2/work/.tools/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking for GNU gettext in libintl... (cached) yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking size of long... 8
checking whether our compiler is apple cc... no
checking for help2man... /usr/pkg/bin/help2man
checking for posix_memalign... yes
checking for memalign... no
checking for asprintf... yes
checking for vasprintf... yes
checking for getextmntent... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for struct statfs.f_fstypename... no
checking for struct statfs.f_mntfromname... no
checking util.h usability... yes
checking util.h presence... yes
checking for util.h... yes
checking for opendisk in -lutil... yes
checking for getrawpartition in -lutil... yes
checking for gcc... gcc
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking whether getenv is declared... yes
checking whether clearerr_unlocked is declared... no
checking whether feof_unlocked is declared... no
checking whether ferror_unlocked is declared... no
checking whether fflush_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking for flockfile... yes
checking for funlockfile... yes
checking for btowc... yes
checking for isblank... yes
checking for iswctype... yes
checking for mbsrtowcs... yes
checking for mempcpy... no
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... no
checking for getdelim... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for memchr... yes
checking for nl_langinfo... yes
checking for wcscoll... yes
checking for sleep... yes
checking for strndup... yes
checking for vasnprintf... no
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for iswblank... yes
checking for features.h... no
checking for linewrap.h... no
checking for errno.h... yes
checking for float.h... yes
checking for wctype.h... yes
checking for getopt.h... yes
checking for langinfo.h... yes
checking for sys/mman.h... yes
checking for locale.h... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for wchar.h... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for sys/socket.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/wait.h... yes
checking for sysexits.h... yes
checking for unistd.h... (cached) yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... fr_FR.ISO8859-1
checking whether system is Windows or MSDOS... no
checking whether // is distinct from /... no
checking whether the preprocessor supports include_next... yes
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for mbstate_t... yes
checking whether getdelim is declared... yes
checking whether getline is declared... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... no
checking for working fcntl.h... no (bad O_NOATIME)
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for a traditional japanese locale... ja_JP.eucJP
checking for a transitional chinese locale... zh_CN.GB18030
checking for a french Unicode locale... fr_FR.UTF-8
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wchar_t... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking for working strerror function... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... no
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... no
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... no
checking whether strcasecmp is declared without a macro... yes
checking whether strncasecmp is declared without a macro... yes
checking whether strndup is declared... (cached) yes
checking whether strnlen is declared... (cached) yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether snprintf returns a byte count as in C99... yes
checking for snprintf... yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... no
checking whether vsnprintf is declared... yes
checking whether iswblank is declared... no
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking whether program_invocation_name is defined... no
checking whether program_invocation_short_name is defined... no
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... yes
checking whether // is distinct from /... (cached) no
checking for error_at_line... no
checking for working POSIX fnmatch... yes
checking for working getdelim function... yes
checking for getline... yes
checking for working getline function... yes
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines T_FMT_AMPM... yes
checking whether langinfo.h defines ERA... yes
checking whether langinfo.h defines YESEXPR... yes
checking whether nl_langinfo is declared without a macro... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbsrtowcs works... yes
checking for mempcpy... (cached) no
checking whether program_invocation_name is declared... (cached) no
checking whether program_invocation_short_name is declared... (cached) no
checking for rawmemchr... no
checking for working re_compile_pattern... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether isblank is declared... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking whether sleep is declared... yes
checking for working sleep... yes
checking for ssize_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether stdint.h conforms to C99... yes
checking whether dprintf is declared without a macro... yes
checking whether fpurge is declared without a macro... yes
checking whether fseeko is declared without a macro... yes
checking whether ftello is declared without a macro... yes
checking whether getdelim is declared without a macro... yes
checking whether getline is declared without a macro... yes
checking whether popen is declared without a macro... yes
checking whether renameat is declared without a macro... no
checking whether snprintf is declared without a macro... yes
checking whether tmpfile is declared without a macro... yes
checking whether vdprintf is declared without a macro... yes
checking whether vsnprintf is declared without a macro... yes
checking for random.h... no
checking for struct random_data... no
checking whether _Exit is declared without a macro... yes
checking whether atoll is declared without a macro... yes
checking whether canonicalize_file_name is declared without a macro... no
checking whether getloadavg is declared without a macro... yes
checking whether getsubopt is declared without a macro... no
checking whether grantpt is declared without a macro... yes
checking whether mkdtemp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... no
checking whether ptsname is declared without a macro... yes
checking whether random_r is declared without a macro... no
checking whether initstat_r is declared without a macro... no
checking whether srandom_r is declared without a macro... no
checking whether setstate_r is declared without a macro... no
checking whether realpath is declared without a macro... yes
checking whether rpmatch is declared without a macro... no
checking whether setenv is declared without a macro... yes
checking whether strtod is declared without a macro... yes
checking whether strtoll is declared without a macro... yes
checking whether strtoull is declared without a macro... yes
checking whether unlockpt is declared without a macro... yes
checking whether unsetenv is declared without a macro... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking whether strncasecmp is declared... (cached) yes
checking for strchrnul... yes
checking for working strndup... yes
checking for working strnlen... yes
checking whether chown is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... yes
checking whether environ is declared without a macro... no
checking whether euidaccess is declared without a macro... no
checking whether faccessat is declared without a macro... yes
checking whether fchdir is declared without a macro... yes
checking whether fchownat is declared without a macro... yes
checking whether fsync is declared without a macro... yes
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... yes
checking whether getdtablesize is declared without a macro... yes
checking whether getgroups is declared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether linkat is declared without a macro... yes
checking whether lseek is declared without a macro... yes
checking whether pipe2 is declared without a macro... yes
checking whether pread is declared without a macro... yes
checking whether pwrite is declared without a macro... yes
checking whether readlink is declared without a macro... yes
checking whether readlinkat is declared without a macro... yes
checking whether rmdir is declared without a macro... yes
checking whether sleep is declared without a macro... yes
checking whether symlink is declared without a macro... yes
checking whether symlinkat is declared without a macro... yes
checking whether ttyname_r is declared without a macro... yes
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... yes
checking whether usleep is declared without a macro... yes
checking for ptrdiff_t... yes
checking for vsnprintf... yes
checking whether snprintf respects a size of 1... yes
checking whether btowc is declared without a macro... yes
checking whether wctob is declared without a macro... yes
checking whether mbsinit is declared without a macro... yes
checking whether mbrtowc is declared without a macro... yes
checking whether mbrlen is declared without a macro... yes
checking whether mbsrtowcs is declared without a macro... yes
checking whether mbsnrtowcs is declared without a macro... yes
checking whether wcrtomb is declared without a macro... yes
checking whether wcsrtombs is declared without a macro... yes
checking whether wcsnrtombs is declared without a macro... yes
checking whether wcwidth is declared without a macro... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether wcrtomb return value is correct... yes
checking whether iswcntrl works... yes
checking for stdint.h... (cached) yes
checking for x86_64--netbsd-objcopy... no
checking for objcopy... objcopy
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-nm... no
checking for nm... nm
checking whether -falign-loops works... yes
checking whether -fno-dwarf2-cfi-asm works... yes
checking whether -fno-asynchronous-unwind-tables works... yes
checking whether our target compiler is apple cc... no
checking for command to convert module to ELF format... 
checking whether `clang' generates calls to `__enable_execute_stack()'... configure: error: clang failed to produce assembly code
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/sysutils/grub2
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/sysutils/grub2