=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ghc-9.2.1-boot-hadrian.tar.gz
=> Checksum SHA512 OK for ghc-9.2.1-boot-hadrian.tar.gz
=> Checksum BLAKE2s OK for ghc-9.2.1-boot-x86_64-unknown-netbsd.tar.xz
=> Checksum SHA512 OK for ghc-9.2.1-boot-x86_64-unknown-netbsd.tar.xz
=> Checksum BLAKE2s OK for ghc-9.4.7-src.tar.xz
=> Checksum SHA512 OK for ghc-9.4.7-src.tar.xz
===> Installing dependencies for ghc-9.4.7
==========================================================================
The supported build options for ghc are:

	llvm

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

	PKG_OPTIONS.ghc (not defined)

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

        * CURSES_DEFAULT = curses
        * PYTHON_VERSION_DEFAULT = 312

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

        * CURSES_TYPE = curses
        * PYPACKAGE = python312

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 python312>=3.12: found python312-3.12.9
=> Tool dependency compat80-[0-9]*: found compat80-8.0
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency autoconf>=2.50: found autoconf-2.72
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gtar-base>=1.13.25: found gtar-base-1.35
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Full dependency gmp>=5.0.1: found gmp-6.3.0
=> Full dependency libffi>=3.4.2nb3: found libffi-3.4.6
===> 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 ghc-9.4.7
===> Extracting for ghc-9.4.7
=> Substituting "ghc-wrapper-sh" in mk/install_script.sh
===> Patching for ghc-9.4.7
=> Applying pkgsrc patches for ghc-9.4.7
===> Regenerating configuration scripts for ghc-9.4.7
configure.ac:93: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:93: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:93: the top level
configure.ac:95: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:95: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:95: the top level
configure.ac:148: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:148: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:148: the top level
configure.ac:499: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:499: You should run autoupdate.
./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from...
m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from...
configure.ac:499: the top level
configure.ac:500: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:500: You should run autoupdate.
./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from...
m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from...
configure.ac:500: the top level
configure.ac:501: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:501: You should run autoupdate.
./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from...
m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from...
configure.ac:501: the top level
configure.ac:502: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:502: You should run autoupdate.
./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from...
m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from...
configure.ac:502: the top level
configure.ac:900: warning: The macro 'AC_HEADER_TIME' is obsolete.
configure.ac:900: You should run autoupdate.
./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from...
configure.ac:900: the top level
configure.ac:1035: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:1035: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/fp_check_timer_create.m4:5: FP_CHECK_TIMER_CREATE is expanded from...
configure.ac:1035: the top level
configure.ac:3: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:3: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.ac:3: the top level
===> Creating toolchain wrappers for ghc-9.4.7
===> Configuring for ghc-9.4.7
===> Extracting bootstrapping compiler for ghc-9.4.7
===> Preparing bootstrapping compiler for ghc-9.4.7
configure: WARNING: unrecognized options: --with-curses-libraries, --with-iconv-includes, --with-iconv-libraries, --with-ffi-includes, --with-ffi-libraries, --with-system-libffi
checking build system type... x86_64-unknown-netbsd9.0
checking host system type... x86_64-unknown-netbsd9.0
checking target system type... x86_64-unknown-netbsd9.0
Build platform inferred as: x86_64-unknown-netbsd
Host platform inferred as: x86_64-unknown-netbsd
Target platform inferred as: x86_64-unknown-netbsd
GHC build  : x86_64-unknown-netbsd
GHC host   : x86_64-unknown-netbsd
GHC target : x86_64-unknown-netbsd
LLVM target: x86_64-unknown-netbsd
checking for path to top of build tree... /pbulk/work/lang/ghc94/work/bootkit-dist/ghc-9.2.1-boot
checking for a BSD-compatible install... /pbulk/work/lang/ghc94/work/.tools/bin/install -c
checking whether ln -s works... yes
checking for gsed... sed
checking for python3... /usr/pkg/bin/python3.12
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -E
checking whether GCC supports -no-pie... yes
checking for -ld... ld
checking for ld.gold object merging bug (binutils 22266)... checking whether ld is GNU ld... YES
checking whether ld understands --build-id... yes
checking whether ld understands -no_compact_unwind... yes
checking whether ld understands -filelist... no
checking for -strip... no
checking for strip... strip
checking for gawk... /usr/bin/awk
no
configure: We only support llvm 9 to 13 (no version found).
no
configure: We only support llvm 9 to 13 (no version found).
checking version of gcc... checking version of gcc... 7.5.0
7.5.0
checking whether GCC supports -no-pie... yes
checking for extra options to pass gcc when compiling via C... 
checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done
checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done
checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done
checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done
checking for .subsections_via_symbols... no
checking whether your assembler supports .ident directive... yes
checking for GNU non-executable stack support... yes
checking whether  CC supports --target... gcc: error: unrecognized command line option '--target=x86_64-unknown-netbsd'
no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking whether byte ordering is bigendian... no
checking for -ar... (cached) ar
checking whether ar is GNU ar... yes
checking for ar arguments... q
checking whether ar supports @file... yes
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating mk/config.mk
config.status: creating mk/install.mk
configure: WARNING: unrecognized options: --with-curses-libraries, --with-iconv-includes, --with-iconv-libraries, --with-ffi-includes, --with-ffi-libraries, --with-system-libffi
****************************************************
Configuration done, ready to 'make install'
(see README and INSTALL files for more info.)
****************************************************
/usr/pkg/bin/gmake --no-print-directory -f ghc.mk install BINDIST=YES NO_INCLUDE_DEPS=YES
"inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC//.
"rm" -f libraries/ghc-boot/dist-boot/build/GHC/Version.hs  
done.
gmake[1]: *** [libraries/ghc-boot/ghc.mk:31: libraries/ghc-boot/dist-boot/build/GHC/Version.hs] Error 1
gmake[1]: *** Deleting file 'libraries/ghc-boot/dist-boot/build/GHC/Version.hs'
gmake: *** [Makefile:51: install] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/lang/ghc94
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/ghc94