=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s 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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
===> 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 /pbulk/work/sysutils/grub/work/grub-0.97/stage2/term.h /pbulk/work/sysutils/grub/work/grub-0.97/stage2/grubterm.h
===> Patching for grub-0.97nb10
=> Applying pkgsrc patches for grub-0.97nb10
===> 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 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... x86_64--netbsd
checking host system type... x86_64--netbsd
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64--netbsd-gcc... gcc
checking for x86_64--netbsd-gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/sysutils/grub
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/grub