=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for grub-0.97.tar.gz
=> Checksum RMD160 OK for grub-0.97.tar.gz
=> Checksum SHA512 OK for grub-0.97.tar.gz
===> Installing dependencies for grub-0.97nb10
==========================================================================
The following variables will affect the build process of this package,
grub-0.97nb10.  Their current value is shown below:

        * CURSES_DEFAULT = curses
        * GRUB_NETWORK_CARDS (not defined)
        * GRUB_PRESET_COMMAND (not defined)
        * GRUB_SCAN_ARGS (not defined)

Based on these variables, the following variables have been set:

        * CURSES_TYPE = curses

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.3nb2
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for grub-0.97nb10
===> Extracting for grub-0.97nb10
mv -f /scratch/work/sysutils/grub/work/grub-0.97/stage2/term.h /scratch/work/sysutils/grub/work/grub-0.97/stage2/grubterm.h
===> Patching for grub-0.97nb10
=> Applying pkgsrc patches for grub-0.97nb10
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-aa
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.3 2006/10/17 21:55:33 bad Exp $
|
|--- stage2/pc_slice.h.orig	2003-07-09 13:45:53.000000000 +0200
|+++ stage2/pc_slice.h	2006-09-18 00:36:35.000000000 +0200
--------------------------
Patching file stage2/pc_slice.h using Plan A...
Hunk #1 succeeded at 246.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-ab
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.3 2006/10/17 21:55:33 bad Exp $
|
|--- stage2/disk_io.c.orig	2004-05-23 18:35:24.000000000 +0200
|+++ stage2/disk_io.c	2006-09-18 01:12:19.000000000 +0200
--------------------------
Patching file stage2/disk_io.c using Plan A...
Hunk #1 succeeded at 632.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-ac
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.4 2006/02/03 09:59:32 jmmv Exp $
|
|--- stage2/boot.c.orig	2004-03-30 13:44:08.000000000 +0200
|+++ stage2/boot.c
--------------------------
Patching file stage2/boot.c using Plan A...
Hunk #1 succeeded at 22.
Hunk #2 succeeded at 105.
Hunk #3 succeeded at 625.
Hunk #4 succeeded at 897.
Hunk #5 succeeded at 1004.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-ad
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.4 2005/10/23 19:53:24 rillig Exp $
|
|--- stage2/netbsd_reboot.h	1970-01-01 01:00:00.000000000 +0100
|+++ stage2/netbsd_reboot.h	2005-07-25 21:49:37.000000000 +0200
--------------------------
(Creating file stage2/netbsd_reboot.h...)
Patching file stage2/netbsd_reboot.h using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-ae
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.4 2010/02/21 16:44:52 wiz Exp $
|
|--- stage2/shared.h	2004-06-19 18:40:09.000000000 +0200
|+++ stage2/shared.h	2005-07-25 21:33:19.000000000 +0200
--------------------------
Patching file stage2/shared.h using Plan A...
Hunk #1 succeeded at 911.
Hunk #2 succeeded at 975.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-af
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.3 2006/10/17 21:55:33 bad Exp $
|
|--- stage2/fsys_ffs.c.orig	2003-07-09 13:45:52.000000000 +0200
|+++ stage2/fsys_ffs.c	2006-09-20 00:38:40.000000000 +0200
--------------------------
Patching file stage2/fsys_ffs.c using Plan A...
Hunk #1 succeeded at 83.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-ag
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.3 2006/10/17 21:55:33 bad Exp $
|
|--- stage2/fsys_ufs2.c.orig	2004-06-19 14:17:52.000000000 +0200
|+++ stage2/fsys_ufs2.c
--------------------------
Patching file stage2/fsys_ufs2.c using Plan A...
Hunk #1 succeeded at 88.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-ah
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-ah
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ah,v 1.4 2006/12/17 19:21:43 jmmv Exp $
|
|--- docs/grub.info.orig	2005-05-08 05:00:05.000000000 +0200
|+++ docs/grub.info
--------------------------
Patching file docs/grub.info using Plan A...
Hunk #1 succeeded at 881.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-ai
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-ai
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ai,v 1.2 2005/11/12 06:35:24 jlam Exp $
|
|--- util/grub-install.in.orig	2004-07-24 14:57:31.000000000 -0400
|+++ util/grub-install.in
--------------------------
Patching file util/grub-install.in using Plan A...
Hunk #1 succeeded at 119.
Hunk #2 succeeded at 321.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-aj
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-aj
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aj,v 1.1 2003/07/13 17:35:06 wiz Exp $
|
|--- stage2/bios.c.orig	Sun Dec 30 08:33:23 2001
|+++ stage2/bios.c
--------------------------
Patching file stage2/bios.c using Plan A...
Hunk #1 succeeded at 20.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-ak
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-ak
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ak,v 1.3 2007/06/25 13:05:56 tron Exp $
|
|--- /build/pkg_comp/default/pkg_comp/obj/pkgsrc/sysutils/grub/default/grub-0.97/netboot/etherboot.h	2003-07-09 13:45:37.000000000 +0200
|+++ netboot/etherboot.h	2007-06-24 15:28:38.000000000 +0200
--------------------------
Patching file netboot/etherboot.h using Plan A...
Hunk #1 succeeded at 531.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-al
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-al
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-al,v 1.3 2007/06/25 13:05:57 tron Exp $
|
|--- /build/pkg_comp/default/pkg_comp/obj/pkgsrc/sysutils/grub/default/grub-0.97/netboot/sis900.c	2003-07-09 13:45:38.000000000 +0200
|+++ netboot/sis900.c	2007-06-24 18:15:38.000000000 +0200
--------------------------
Patching file netboot/sis900.c using Plan A...
Hunk #1 succeeded at 901.
Hunk #2 succeeded at 940.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-am
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-am,v 1.3 2007/06/25 13:05:57 tron Exp $
|
|--- /build/pkg_comp/default/pkg_comp/obj/pkgsrc/sysutils/grub/default/grub-0.97/netboot/natsemi.c	2003-07-09 13:45:38.000000000 +0200
|+++ netboot/natsemi.c	2007-06-24 18:25:21.000000000 +0200
--------------------------
Patching file netboot/natsemi.c using Plan A...
Hunk #1 succeeded at 608.
Hunk #2 succeeded at 647.
done
=> Verifying /tree/pkgsrc/sysutils/grub/patches/patch-an
=> Applying pkgsrc patch /tree/pkgsrc/sysutils/grub/patches/patch-an
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-an,v 1.3 2010/02/21 16:44:52 wiz Exp $
|
|--- stage2/char_io.c
|+++ stage2/char_io.c
--------------------------
Patching file stage2/char_io.c using Plan A...
Hunk #1 succeeded at 1175.
Hunk #2 succeeded at 1192.
done
===> Creating toolchain wrappers for grub-0.97nb10
===> Configuring for grub-0.97nb10
=> Changing references to <term.h> to <grubterm.h>
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/bios.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/boot.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/cmdline.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/common.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/disk_io.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/fsys_ext2fs.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/fsys_fat.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/fsys_ffs.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/fsys_iso9660.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/fsys_jfs.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/fsys_minix.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/fsys_reiserfs.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/fsys_ufs2.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/fsys_vstafs.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/fsys_xfs.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/gunzip.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/md5.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/smp-imps.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/stage1_5.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/terminfo.c".
WARNING: [subst.mk:grubterm] Nothing changed in "stage2/tparm.c".
=> 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 pbulk -g users
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking build system type... i486--netbsdelf
checking host system type... i486--netbsdelf
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i486--netbsdelf-gcc... gcc
checking for i486--netbsdelf-gcc... (cached) gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking whether -Wundef works... yes
checking whether -falign-loops works... yes
checking for i486--netbsdelf-objcopy... no
checking for objcopy... objcopy
checking if C symbols get an underscore after compilation... no
checking whether objcopy works for absolute addresses... yes
checking whether addr32 must be in the same line as the instruction... yes
checking for .code16 addr32 assembler support... yes
checking whether an absolute indirect call/jump must not be prefixed with an asterisk... no
checking if start is defined by the compiler... no
checking if _start is defined by the compiler... 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 for opendisk in -lutil... yes
checking for wgetch in -lncurses... no
checking for wgetch in -lcurses... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
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 for string.h... (cached) yes
checking for strings.h... (cached) yes
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating stage1/Makefile
config.status: creating stage2/Makefile
config.status: creating docs/Makefile
config.status: creating lib/Makefile
config.status: creating util/Makefile
config.status: creating grub/Makefile
config.status: creating netboot/Makefile
config.status: creating util/grub-image
config.status: creating util/grub-install
config.status: creating util/grub-md5-crypt
config.status: creating util/grub-terminfo
config.status: creating util/grub-set-default
config.status: creating config.h
config.status: executing depfiles commands