+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/grub-0.97nb10/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/grub-0.97nb10/work.log
=> 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 = ncurses
        * 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 = ncurses

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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency ncurses>=6.5: found ncurses-6.5
===> Overriding tools for grub-0.97nb10
===> Extracting for grub-0.97nb10
/bin/mv /home/pbulk/build/sysutils/grub/work/grub-0.97/stage2/term.h /home/pbulk/build/sysutils/grub/work/grub-0.97/stage2/grubterm.h
===> Patching for grub-0.97nb10
=> Applying pkgsrc patches for grub-0.97nb10
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-ae
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-ag
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-ah
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-ai
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-aj
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-ak
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-al
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub/patches/patch-an
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-redhat-linux-gcc... cc
checking for x86_64-redhat-linux-gcc... (cached) cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
*** Error code 77

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/grub