=> 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.02.tar.gz
=> Checksum RMD160 OK for grub-2.02.tar.gz
=> Checksum SHA512 OK for grub-2.02.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.02
==========================================================================
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 gmake>=3.81: found gmake-4.1nb4
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency help2man>=1.36: found help2man-1.47.6
=> Build dependency dejavu-ttf>=2.34nb1: found dejavu-ttf-2.37
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency freetype2>=2.4.11: found freetype2-2.9.1nb1
===> Overriding tools for grub2-2.02
===> Extracting for grub2-2.02
/bin/mv /data/scratch/sysutils/grub2/work/unifont-5.1.20080820.pcf /data/scratch/sysutils/grub2/work/grub-2.02/unifont.pcf
===> Patching for grub2-2.02
=> Applying pkgsrc patches for grub2-2.02
=> Verifying /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_osdep_bsd_hostdisk.c
=> Applying pkgsrc patch /data/pkgsrc/sysutils/grub2/patches/patch-grub-core_osdep_bsd_hostdisk.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-grub-core_osdep_bsd_hostdisk.c,v 1.1 2018/05/23 07:56:53 triaxx Exp $
|
|Fix build error for NetBSD:
| * undefined RAW_FLOPPY_MAJOR macro
| * undefined fd variable
|
|--- grub-core/osdep/bsd/hostdisk.c.orig    2015-05-21 15:50:29.000000000 +0000
|+++ grub-core/osdep/bsd/hostdisk.c
--------------------------
Patching file grub-core/osdep/bsd/hostdisk.c using Plan A...
Hunk #1 succeeded at 50.
Hunk #2 succeeded at 64.
Hunk #3 succeeded at 84.
Hunk #4 succeeded at 93.
done
=> Fixing installation of OS configuration scripts.
=> Fixing configuration paths in scripts.
WARNING: [subst.mk:fix-paths-1] Ignoring non-existent file "./util/grub-install.in".
=> 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_illumos.in.
INFO: [subst.mk:fix-sed-tabs] Nothing changed in ./util/grub.d/10_windows.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.02
===> Configuring for grub2-2.02
=> 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 whether make supports nested variables... 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 whether clang understands -c and -o together... yes
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 whether clang understands -c and -o together... (cached) yes
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 Minix Amsterdam compiler... no
checking for x86_64--netbsd-ar... no
checking for ar... ar
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 _XOPEN_SOURCE should be defined... no
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking dependency style of clang... gcc3
checking for clang++... yes
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 clang... /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... /usr/lib/libintl.so
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 size of off_t... 8
checking for help2man... /usr/pkg/bin/help2man
checking for posix_memalign... yes
checking for memalign... no
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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking whether sys/types.h defines makedev... 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 whether -Wtrampolines work... no
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 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 symlink... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for isascii... yes
checking for mprotect... yes
checking for _set_invalid_parameter_handler... no
checking for nl_langinfo... yes
checking for wcscoll... yes
checking for sleep... yes
checking for strndup... yes
checking for vasnprintf... no
checking for snprintf... yes
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for wcwidth... yes
checking for features.h... no
checking for linewrap.h... no
checking for wctype.h... yes
checking for getopt.h... yes
checking for langinfo.h... yes
checking for unistd.h... (cached) yes
checking for xlocale.h... no
checking for wchar.h... yes
checking for sys/mman.h... yes
checking for stdint.h... (cached) yes
checking for sys/socket.h... yes
checking for strings.h... (cached) yes
checking for sysexits.h... 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 // is distinct from /... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for complete errno.h... no
checking for EMULTIHOP value... yes
checking for ENOLINK value... yes
checking for EOVERFLOW value... 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 whether getenv is declared... yes
checking for working fcntl.h... no (bad O_NOATIME)
checking whether we are using the GNU C Library >= 2.1 or uClibc... no
checking for wchar_t... yes
checking whether NULL can be used in arbitrary expressions... yes
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 whether alarm is declared... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether strerror(0) succeeds... no
checking whether ffsl is declared without a macro... no
checking whether ffsll is declared without a macro... no
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 strerror_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 ffs is declared without a macro... yes
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 pid_t... yes
checking for mode_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking where to find the exponent in a 'double'... word 1 bit 20
checking whether snprintf returns a byte count as in C99... yes
checking for snprintf... (cached) 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 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 whether conversion from 'int' to 'long double' works... yes
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 whether locale.h conforms to POSIX:2001... yes
checking whether struct lconv is properly defined... yes
checking whether setlocale is declared without a macro... yes
checking whether duplocale is declared without a macro... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL pwc argument... 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 whether mbswidth is declared in <wchar.h>... no
checking for mbstate_t... (cached) yes
checking for mempcpy... (cached) no
checking whether YESEXPR works... yes
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 for working stdalign.h... yes
checking whether NULL can be used in arbitrary expressions... (cached) 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 gets is declared without a macro... yes
checking whether pclose 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 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 initstate is declared without a macro... yes
checking whether initstate_r is declared without a macro... no
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 posix_openpt is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether ptsname_r is declared without a macro... yes
checking whether random is declared without a macro... yes
checking whether random_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 secure_getenv is declared without a macro... no
checking whether setenv is declared without a macro... yes
checking whether setstate is declared without a macro... yes
checking whether setstate_r is declared without a macro... no
checking whether srandom is declared without a macro... yes
checking whether srandom_r is declared without a macro... no
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 strcasecmp... yes
checking for strncasecmp... yes
checking whether strncasecmp is declared... (cached) yes
checking for strchrnul... yes
checking whether strchrnul works... yes
checking for working strndup... yes
checking for working strnlen... yes
checking whether chdir is declared without a macro... yes
checking whether chown is declared without a macro... yes
checking whether dup 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 fdatasync 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 group_member is declared without a macro... no
checking whether isatty 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 pipe 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 sethostname 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 printf supports POSIX/XSI format strings with positions... 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 wmemchr is declared without a macro... yes
checking whether wmemcmp is declared without a macro... yes
checking whether wmemcpy is declared without a macro... yes
checking whether wmemmove is declared without a macro... yes
checking whether wmemset is declared without a macro... yes
checking whether wcslen is declared without a macro... yes
checking whether wcsnlen is declared without a macro... yes
checking whether wcscpy is declared without a macro... yes
checking whether wcpcpy is declared without a macro... no
checking whether wcsncpy is declared without a macro... yes
checking whether wcpncpy is declared without a macro... no
checking whether wcscat is declared without a macro... yes
checking whether wcsncat is declared without a macro... yes
checking whether wcscmp is declared without a macro... yes
checking whether wcsncmp is declared without a macro... yes
checking whether wcscasecmp is declared without a macro... yes
checking whether wcsncasecmp is declared without a macro... yes
checking whether wcscoll is declared without a macro... yes
checking whether wcsxfrm is declared without a macro... yes
checking whether wcsdup is declared without a macro... yes
checking whether wcschr is declared without a macro... yes
checking whether wcsrchr is declared without a macro... yes
checking whether wcscspn is declared without a macro... yes
checking whether wcsspn is declared without a macro... yes
checking whether wcspbrk is declared without a macro... yes
checking whether wcsstr is declared without a macro... yes
checking whether wcstok is declared without a macro... yes
checking whether wcswidth 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 towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking whether wctype is declared without a macro... yes
checking whether iswctype is declared without a macro... yes
checking whether wctrans is declared without a macro... yes
checking whether towctrans is declared without a macro... yes
checking whether wcwidth is declared... (cached) yes
checking whether wcwidth works reasonably in UTF-8 locales... no
checking for stdint.h... (cached) yes
checking which extra warnings work...  -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-declarations -Wformat=2
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 for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking which extra warnings work...  -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-declarations -Wformat=2
checking if compiling with clang... yes
checking for options to compile assembly... -no-integrated-as
checking whether -falign-loops works... no
checking whether -malign-loops works... yes
checking whether -freg-struct-return works... yes
checking for options to get soft-float... -Xclang -msoft-float
checking whether -fno-dwarf2-cfi-asm works... yes
checking whether -mno-stack-arg-probe works... no
checking whether -fno-asynchronous-unwind-tables works... yes
checking whether -fno-unwind-tables works... yes
checking for target linking format... -melf_i386
checking whether option -Qn works... yes
checking whether `clang' has `-fPIE' as default... no
checking whether linker accepts -no-pie... yes
checking whether linker accepts -nopie... yes
checking whether linker needs disabling of PIE to work... no
checking whether `clang' has `-fPIC' as default... no
checking whether `clang' accepts `-fstack-protector'... yes
checking whether `clang' accepts `-mstack-arg-probe'... no
checking if C symbols get an underscore after compilation... no
checking whether target compiler is working... yes
checking whether objcopy works for absolute addresses... yes
checking whether linker accepts --build-id=none... yes
checking if __bss_start is defined by the compiler... yes
checking if edata is defined by the compiler... yes
checking if _edata is defined by the compiler... yes
checking if end is defined by the compiler... yes
checking if _end is defined by the compiler... yes
checking whether nm works... yes
checking whether nm accepts -P... yes
checking whether nm accepts --defined-only... yes
checking whether -nostdinc -isystem works... no
checking whether -Wtrampolines work... no
checking for x86_64--netbsd-freetype-config... no
checking for freetype-config... freetype-config
pkg-config: not found
pkg-config: not found
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking whether byte ordering is bigendian... no
checking for freetype-config... freetype-config
pkg-config: not found
pkg-config: not found
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
md5sum: not found
checking for fuse_main_real in -lfuse... no
checking libdevmapper.h usability... no
checking libdevmapper.h presence... no
checking for libdevmapper.h... no
checking for lzma_code in -llzma... yes
checking lzma.h usability... yes
checking lzma.h presence... yes
checking for lzma.h... yes
checking libzfs.h usability... no
checking libzfs.h presence... no
checking for libzfs.h... no
checking libnvpair.h usability... no
checking libnvpair.h presence... no
checking for libnvpair.h... no
checking for libzfs_init in -lzfs... yes
checking for nvlist_lookup_string in -lnvpair... yes
checking whether ln -s can handle directories properly... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating grub-core/Makefile
config.status: creating grub-core/gnulib/Makefile
config.status: creating po/Makefile.in
config.status: creating docs/Makefile
config.status: creating util/bash-completion.d/Makefile
config.status: creating stamp-h
config.status: creating config.h
config.status: creating config-util.h
config.status: linking include/grub/i386 to include/grub/cpu
config.status: linking include/grub/i386/pc to include/grub/machine
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
*******************************************************
GRUB2 will be compiled with following components:
Platform: i386-pc
With devmapper support: No (need libdevmapper header)
With memory debugging: No
With disk cache statistics: No
With boot time statistics: No
efiemu runtime: No (explicitly disabled)
grub-mkfont: Yes
grub-mount: No (need FUSE library)
starfield theme: Yes
With DejaVuSans font from /usr/pkg/share/fonts/X11/TTF/DejaVuSans.ttf
With libzfs support: Yes
Build-time grub-mkfont: Yes
With unifont from ./unifont.pcf
With liblzma from -llzma (support for XZ-compressed mips images)
*******************************************************