=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ghc-9.8.2-boot-hadrian-ghc9.8.tar.gz
=> Checksum SHA512 OK for ghc-9.8.2-boot-hadrian-ghc9.8.tar.gz
=> Checksum BLAKE2s OK for ghc-9.8.2-boot-x86_64-unknown-netbsd.tar.xz
=> Checksum SHA512 OK for ghc-9.8.2-boot-x86_64-unknown-netbsd.tar.xz
=> Checksum BLAKE2s OK for ghc-9.8.2-src.tar.xz
=> Checksum SHA512 OK for ghc-9.8.2-src.tar.xz
===> Installing dependencies for ghc-9.8.2nb2
==========================================================================
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.8.2nb2.  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 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.8.2nb2
===> Extracting for ghc-9.8.2nb2
=> Substituting "ghc-wrapper-sh" in mk/install_script.sh
===> Patching for ghc-9.8.2nb2
=> Applying pkgsrc patches for ghc-9.8.2nb2
===> Regenerating configuration scripts for ghc-9.8.2nb2
configure.ac:90: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:90: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:90: the top level
configure.ac:92: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:92: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:92: the top level
configure.ac:473: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:473: 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:473: the top level
configure.ac:474: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:474: 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:474: the top level
configure.ac:475: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:475: 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:475: the top level
configure.ac:476: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:476: 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:476: the top level
configure.ac:1016: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:1016: 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:1016: the top level
configure.ac:9: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:9: 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:9: the top level
===> Creating toolchain wrappers for ghc-9.8.2nb2
===> Configuring for ghc-9.8.2nb2
===> Extracting bootstrapping compiler for ghc-9.8.2nb2
===> Preparing bootstrapping compiler for ghc-9.8.2nb2
configure: WARNING: unrecognized options: --with-curses-libraries, --with-gmp-includes, --with-gmp-libraries, --with-iconv-includes, --with-iconv-libraries, --with-ffi-includes, --with-ffi-libraries, --with-bindist-prefix, --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
configure: GHC build : x86_64-unknown-netbsd
configure: GHC host : x86_64-unknown-netbsd
configure: GHC target : x86_64-unknown-netbsd
checking for path to top of build tree... /pbulk/work/lang/ghc98/work/bootkit-dist/ghc-9.8.2-boot-x86_64-unknown-netbsd
checking for a BSD-compatible install... /pbulk/work/lang/ghc98/work/.tools/bin/install -c
checking whether ln -s works... yes
checking for gsed... sed
checking for python3... /usr/pkg/bin/python3.12
checking for gfind... no
checking for find... /pbulk/work/lang/ghc98/work/.tools/bin/find
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 whether the compiler supports GNU C++... yes
checking whether c++ accepts -g... yes
checking for c++ option to enable C++11 features... none needed
checking how to run the C preprocessor... gcc -E
checking for -ld... ld
checking for ld.gold object merging bug (binutils 22266)... checking whether ld is GNU ld... YES
checking whether ld understands -no_compact_unwind... yes
checking whether ld understands -filelist... no
checking whether ld supports -single_module... no
checking for -strip... no
checking for strip... strip
checking for gawk... /usr/bin/awk
no
configure: We only support llvm 11 upto 16 (non-inclusive) (no version found).
no
configure: We only support llvm 11 upto 16 (non-inclusive) (no version found).
checking version of gcc... checking version of gcc... 7.5.0
7.5.0
checking whether CC supports -no-pie... yes
checking whether CC supports flags passed by GHC when compiling via C... yes
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 whether ld supports response files... yes
checking C++ standard library flavour... libstdc++
checking for linkage against 'stdc++'... success
checking for -otool... no
checking for otool... no
checking for -install_name_tool... no
checking for install_name_tool... no
checking for .subsections_via_symbols... no
checking whether your assembler supports .ident directive... yes
checking whether gcc supports --target... no
checking whether gcc supports --target... no
checking whether gcc supports -Qunused-arguments... no
checking whether gcc supports -Qunused-arguments... 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... no
checking for ar... ar
checking whether ar is GNU ar... yes
checking for ar arguments... q
checking whether ar supports @file... yes
checking whether ar supports -L... ar: conftest.a: No such file or directory
no
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating mk/system-cxx-std-lib-1.0.conf
config.status: creating config.mk
config.status: creating mk/hsc2hs
configure: WARNING: unrecognized options: --with-curses-libraries, --with-gmp-includes, --with-gmp-libraries, --with-iconv-includes, --with-iconv-libraries, --with-ffi-includes, --with-ffi-libraries, --with-bindist-prefix, --with-system-libffi
****************************************************
Configuration done, ready to 'make install'
(see README and INSTALL files for more info.)
****************************************************
Copying binaries to /pbulk/work/lang/ghc98/work/.tools/lib/ghc-9.8.2/bin
/pbulk/work/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/pbulk/work/lang/ghc98/work/.tools/lib/ghc-9.8.2/bin"
for i in ./bin/ghc ./bin/ghc-9.8.2 ./bin/ghc-iserv ./bin/ghc-iserv-ghc-9.8.2 ./bin/ghc-pkg ./bin/ghc-pkg-9.8.2 ./bin/haddock ./bin/haddock-ghc-9.8.2 ./bin/hp2ps ./bin/hp2ps-ghc-9.8.2 ./bin/hpc ./bin/hpc-ghc-9.8.2 ./bin/hsc2hs ./bin/hsc2hs-ghc-9.8.2 ./bin/runghc ./bin/runghc-9.8.2 ./bin/runhaskell ./bin/runhaskell-9.8.2 ./bin/unlit ./bin/unlit-ghc-9.8.2; do \
	if test -L "$i"; then \
		cp -RP "$i" "/pbulk/work/lang/ghc98/work/.tools/lib/ghc-9.8.2/bin"; \
	else \
		/pbulk/work/lang/ghc98/work/.tools/bin/install -c -m 755 "$i" "/pbulk/work/lang/ghc98/work/.tools/lib/ghc-9.8.2/bin"; \
	fi; \
done
# Work around #17418 on Darwin
if [ -e "" ]; then \
	"" -c -r "/pbulk/work/lang/ghc98/work/.tools/lib/ghc-9.8.2/bin"; \
fi
Copying hsc2hs wrapper
gmake: *** [Makefile:235: install_hsc2hs_wrapper] Error 1
*** Error code 2

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

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