+ 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/static-tcsh-6.24.13/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/static-tcsh-6.24.13/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for tcsh-6.24.13.tar.gz
=> Checksum SHA512 OK for tcsh-6.24.13.tar.gz
===> Installing dependencies for static-tcsh-6.24.13
==========================================================================
The supported build options for static-tcsh are:

	nls

The currently selected options are:

	nls

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.static-tcsh (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
static-tcsh-6.24.13.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses
        * TERMCAP_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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> 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 static-tcsh-6.24.13
===> Extracting for static-tcsh-6.24.13
===> Patching for static-tcsh-6.24.13
===> Creating toolchain wrappers for static-tcsh-6.24.13
===> Configuring for static-tcsh-6.24.13
=> 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... /bin/install -c -o pbulk -g pbulk
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for x86_64-redhat-linux-gcc... cc
checking whether the C compiler works... no
configure: error: in '/home/pbulk/build/shells/static-tcsh/work/tcsh-6.24.13':
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-el7-trunk-x86_64/shells/static-tcsh
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/shells/static-tcsh