=> 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 their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Build dependency cwrappers>=20150314: found cwrappers-20180325 ===> Overriding tools for grub-0.97nb10 ===> Extracting for grub-0.97nb10 mv -f /tmp/pkgbuild/sysutils/grub/work.x86_64/grub-0.97/stage2/term.h /tmp/pkgbuild/sysutils/grub/work.x86_64/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 to INFO: [subst.mk:grubterm] Nothing changed in ./stage2/bios.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/boot.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/cmdline.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/common.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/disk_io.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/fsys_ext2fs.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/fsys_fat.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/fsys_ffs.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/fsys_iso9660.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/fsys_jfs.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/fsys_minix.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/fsys_reiserfs.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/fsys_ufs2.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/fsys_vstafs.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/fsys_xfs.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/gunzip.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/md5.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/smp-imps.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/stage1_5.c. INFO: [subst.mk:grubterm] Nothing changed in ./stage2/terminfo.c. INFO: [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