[package - 144arm64-quarterly][lang/ghc98] Failed for ghc98-9.8.4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 31 Aug 2026 03:03:55 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     haskell@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere4/data/144arm64-quarterly/af852d55eb7d/logs/ghc98-9.8.4.log
Build URL:      https://pkg-status.freebsd.org/ampere4/build.html?mastername=144arm64-quarterly&build=af852d55eb7d
Log:

=>> Building lang/ghc98
build started at Mon Aug 31 01:59:46 UTC 2026
port directory: /usr/ports/lang/ghc98
package name: ghc98-9.8.4
building for: FreeBSD 144arm64-quarterly-job-05 14.4-RELEASE-p9 FreeBSD 14.4-RELEASE-p9 arm64
maintained by: haskell@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 832 Jul  9 01:01 /usr/ports/lang/ghc98/Makefile
Ports top last git commit: af852d55eb7dcc704a7626891a4320fad4fee3b4
Ports top unclean checkout: no
Port dir last git commit: e9e40e40c5d926e4d17c156665b69e8073cc863b
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.8-1-g8f99bac1
Host OSVERSION: 1600019
Jail OSVERSION: 1404000
Job Id: 05

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1404000
UNAME_v=FreeBSD 14.4-RELEASE-p9
UNAME_r=14.4-RELEASE-p9
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.8-1-g8f99bac1
MASTERMNT=/usr/local/poudriere/data/.m/144arm64-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/144arm64-quarterly/05/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=144arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/144arm64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.8-1-g8f99bac1
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for ghc98-9.8.4:
     DYNAMIC=on: Add support for dynamic linking
     GMP=on: Use GNU Multi-precision Library from Ports
     PROFILE=on: Add support for performance profiling
====> Bootsrap using installed ghc
     BOOT=off: Use installed GHC for bootstrapping
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
haskell@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--docdir=/usr/local/share/doc/ghc --with-system-libffi --with-ffi-includes=/usr/local/include  --with-ffi-libraries=/usr/local/lib --with-gmp-includes=/usr/local/include  --with-gmp-libraries=/usr/local/lib --host=aarch64-unknown-freebsd --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
CC=cc CXX=c++ CPP=cpp GHC=/wrkdirs/usr/ports/lang/ghc98/work/ghc-boot-install/bin/ghc-9.6.7  ALEX=/usr/bin/true HAPPY=/usr/bin/true MAKE=/usr/local/bin/gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PYTHON="/usr/local/bin/python3.12" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/ghc98/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ghc98/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ghc98/work/.cache  HOME=/wrkdirs/usr/ports/lang/ghc98/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ghc98/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ghc98/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.73 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/ghc98/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ghc98/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ghc98/work/.cache  HOME=/wrkdirs/usr/ports/lang/ghc98/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ghc98/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ghc98/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DEFAULT_AUTOCONF=2.73 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL
_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
CABAL_VERSION=3.10.3.0 ARRAY_VERSION=0.5.8.0 BASE_VERSION=4.19.2.0 BINARY_VERSION=0.8.9.1 BYTESTRING_VERSION=0.12.1.0 CONTAINERS_VERSION=0.6.8 DEEPSEQ_VERSION=1.5.1.0 DIRECTORY_VERSION=1.3.8.5 EXCEPTIONS_VERSION=0.10.7 FILEPATH_VERSION=1.4.301.0 GHC_VERSION=9.8.4 GHC-BIGNUM_VERSION=1.3 GHC-COMPACT_VERSION=0.1.0.0 GHC-PRIM_VERSION=0.11.0 HASKELINE_VERSION=0.8.2.1 HPC_VERSION=0.7.0.0 INTEGER-GMP_VERSION=1.1 MTL_VERSION=2.3.1 PARSEC_VERSION=3.1.17.0 PRETTY_VERSION=1.1.3.6 PROCESS_VERSION=1.6.25.0 STM_VERSION=2.5.3.1 SEMAPHORE-COMPAT_VERSION=1.0.0 TEMPLATE-HASKELL_VERSION=2.21.0.0 TERMINFO_VERSION=0.4.1.6 TEXT_VERSION=2.1.1 TIME_VERSION=1.12.2 TRANSFORMERS_VERSION=0.6.1.0 UNIX_VERSION=2.8.6.0 XHTML_VERSION=3000.2.2.1 GHC_ARCH=aarch64 BOOT="@comment " NO_BOOT="" DYNAMIC="" NO_DYNAMIC="@comment " GMP="" NO_GMP="@comment " PROFILE="" NO_PROFILE="@comment " PYTHON_INCLUDEDIR=include/python3.12  PYTHON_LIBDIR=lib/python3.12  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.12
/site-packages  PYTHON_SUFFIX=312  PYTHON_BASESUFFIX=312  PYTHON_TAG=.cpython-312  PYTHON_SOABI=.cpython-312  PYTHON_VER=3.12  PYTHON_BASEVER=3.12  PYTHON_VERSION=python3.12 PYTHON2="@comment " PYTHON3="" GMP= OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.42.3  PERL_VER=5.42  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.42 DOCSDIR="share/doc/ghc"  EXAMPLESDIR="share/examples/ghc"  DATADIR="share/ghc"  WWWDIR="www/ghc"  ETCDIR="etc/ghc"
--End PLIST_SUB--

--SUB_LIST--
 BOOT="@comment " NO_BOOT="" DYNAMIC="" NO_DYNAMIC="@comment " GMP="" NO_GMP="@comment " PROFILE="" NO_PROFILE="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.12  PYTHON_LIBDIR=/usr/local/lib/python3.12  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.12/site-packages  PYTHON_SUFFIX=312  PYTHON_BASESUFFIX=312  PYTHON_TAG=.cpython-312  PYTHON_SOABI=.cpython-312  PYTHON_VER=3.12  PYTHON_BASEVER=3.12  PYTHON_VERSION=python3.12 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ghc DOCSDIR=/usr/local/share/doc/ghc EXAMPLESDIR=/usr/local/share/examples/ghc  WWWDIR=/usr/local/www/ghc ETCDIR=/usr/local/etc/ghc
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   ghc98-9.8.4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.7.5.pkg
[144arm64-quarterly-job-05] Installing pkg-2.7.5...
[144arm64-quarterly-job-05] Extracting pkg-2.7.5: .......... done
===>   ghc98-9.8.4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ghc98-9.8.4
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc98-9.8.4 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc98-9.8.4 for building
=> SHA256 Checksum OK for ghc-9.8.4-src.tar.xz.
=> SHA256 Checksum OK for ghc-9.6.7-boot-aarch64-freebsd.tar.xz.
=> SHA256 Checksum OK for hadrian-9.8.4-boot.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc98-9.8.4 for building
===>  Extracting for ghc98-9.8.4
=> SHA256 Checksum OK for ghc-9.8.4-src.tar.xz.
=> SHA256 Checksum OK for ghc-9.6.7-boot-aarch64-freebsd.tar.xz.
=> SHA256 Checksum OK for hadrian-9.8.4-boot.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for ghc98-9.8.4
===>  Applying FreeBSD patches for ghc98-9.8.4 from /usr/ports/lang/ghc98/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   ghc98-9.8.4 depends on file: /usr/local/lib/libgmp.so - not found
===>   Installing existing package /packages/All/gmp-6.3.0.pkg
[144arm64-quarterly-job-05] Installing gmp-6.3.0...
[144arm64-quarterly-job-05] `-- Installing indexinfo-0.3.1_1...
[144arm64-quarterly-job-05] `-- Extracting indexinfo-0.3.1_1: .... done
[144arm64-quarterly-job-05] Extracting gmp-6.3.0: .......... done
===>   ghc98-9.8.4 depends on file: /usr/local/lib/libgmp.so - found
===>   Returning to build of ghc98-9.8.4
===>   ghc98-9.8.4 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[144arm64-quarterly-job-05] Installing gmake-4.4.1...
[144arm64-quarterly-job-05] `-- Installing gettext-runtime-1.0_1...
[144arm64-quarterly-job-05] `-- Extracting gettext-runtime-1.0_1: .......... done
[144arm64-quarterly-job-05] Extracting gmake-4.4.1: .......... done
<snip>
| Run Ghc CompileCWithGhc Stage1: rts/sm/NonMovingScav.c => _build/stage1/rts/build/c/sm/NonMovingScav.o
| Run Ghc CompileCWithGhc Stage1: rts/sm/Compact.c => _build/stage1/rts/build/c/sm/Compact.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_util.c => _build/stage1/rts/build/c/linker/elf_util.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/RtsSymbolInfo.c => _build/stage1/rts/build/c/RtsSymbolInfo.thr_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/posix/Ticker.c => _build/stage1/rts/build/c/posix/Ticker.thr_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/RtsAPI.c => _build/stage1/rts/build/c/RtsAPI.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/Heap.c => _build/stage1/rts/build/c/Heap.thr_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_plt_aarch64.c => _build/stage1/rts/build/c/linker/elf_plt_aarch64.thr_p_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/SymbolExtras.c => _build/stage1/rts/build/c/linker/SymbolExtras.debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/Arena.c => _build/stage1/rts/build/c/Arena.p_o
| Run Ghc CompileCWithGhc Stage1: rts/Task.c => _build/stage1/rts/build/c/Task.p_o
| Run Ghc CompileCWithGhc Stage1: rts/CloneStack.c => _build/stage1/rts/build/c/CloneStack.debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/sm/MBlock.c => _build/stage1/rts/build/c/sm/MBlock.thr_p_o
| Run Ghc CompileCWithGhc Stage1: rts/posix/OSThreads.c => _build/stage1/rts/build/c/posix/OSThreads.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/sm/BlockAlloc.c => _build/stage1/rts/build/c/sm/BlockAlloc.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/posix/OSThreads.c => _build/stage1/rts/build/c/posix/OSThreads.o
| Run Ghc CompileCWithGhc Stage1: rts/ClosureSize.c => _build/stage1/rts/build/c/ClosureSize.debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/Task.c => _build/stage1/rts/build/c/Task.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/M32Alloc.c => _build/stage1/rts/build/c/linker/M32Alloc.debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/STM.c => _build/stage1/rts/build/c/STM.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/IPE.c => _build/stage1/rts/build/c/IPE.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/Globals.c => _build/stage1/rts/build/c/Globals.dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/WSDeque.c => _build/stage1/rts/build/c/WSDeque.o
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_reloc.c => _build/stage1/rts/build/c/linker/elf_reloc.thr_debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/StaticPtrTable.c => _build/stage1/rts/build/c/StaticPtrTable.thr_p_o
| Run Ghc CompileCWithGhc Stage1: rts/Inlines.c => _build/stage1/rts/build/c/Inlines.thr_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/sm/NonMovingMark.c => _build/stage1/rts/build/c/sm/NonMovingMark.o
| Run Ghc CompileCWithGhc Stage1: rts/posix/TTY.c => _build/stage1/rts/build/c/posix/TTY.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/Continuation.c => _build/stage1/rts/build/c/Continuation.thr_debug_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/PEi386.c => _build/stage1/rts/build/c/linker/PEi386.dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/hooks/OnExit.c => _build/stage1/rts/build/c/hooks/OnExit.p_o
| Run Ghc CompileCWithGhc Stage1: rts/sm/NonMovingAllocate.c => _build/stage1/rts/build/c/sm/NonMovingAllocate.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/Libdw.c => _build/stage1/rts/build/c/Libdw.o
| Run Ghc CompileCWithGhc Stage1: rts/sm/NonMovingCensus.c => _build/stage1/rts/build/c/sm/NonMovingCensus.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/Heap.c => _build/stage1/rts/build/c/Heap.dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_reloc_aarch64.c => _build/stage1/rts/build/c/linker/elf_reloc_aarch64.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/StableName.c => _build/stage1/rts/build/c/StableName.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/RtsStartup.c => _build/stage1/rts/build/c/RtsStartup.p_o
| Run Ghc CompileCWithGhc Stage1: rts/Libdw.c => _build/stage1/rts/build/c/Libdw.thr_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/CheckUnload.c => _build/stage1/rts/build/c/CheckUnload.thr_p_o
| Run Ghc CompileCWithGhc Stage1: rts/posix/GetTime.c => _build/stage1/rts/build/c/posix/GetTime.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_plt.c => _build/stage1/rts/build/c/linker/elf_plt.thr_debug_o
| Run Ghc CompileCWithGhc Stage1: rts/posix/Ticker.c => _build/stage1/rts/build/c/posix/Ticker.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/macho/plt_aarch64.c => _build/stage1/rts/build/c/linker/macho/plt_aarch64.debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/sm/NonMovingCensus.c => _build/stage1/rts/build/c/sm/NonMovingCensus.o
| Run Ghc CompileCWithGhc Stage1: rts/RtsSymbols.c => _build/stage1/rts/build/c/RtsSymbols.dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/WSDeque.c => _build/stage1/rts/build/c/WSDeque.p_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_util.c => _build/stage1/rts/build/c/linker/elf_util.debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/hooks/OutOfHeap.c => _build/stage1/rts/build/c/hooks/OutOfHeap.thr_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/ZeroSlop.c => _build/stage1/rts/build/c/ZeroSlop.thr_p_o
| Run Ghc CompileCWithGhc Stage1: rts/sm/GC.c => _build/stage1/rts/build/c/sm/GC.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/Elf.c => _build/stage1/rts/build/c/linker/Elf.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/CacheFlush.c => _build/stage1/rts/build/c/linker/CacheFlush.debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/InitFini.c => _build/stage1/rts/build/c/linker/InitFini.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/CheckUnload.c => _build/stage1/rts/build/c/CheckUnload.debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/ForeignExports.c => _build/stage1/rts/build/c/ForeignExports.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/PathUtils.c => _build/stage1/rts/build/c/PathUtils.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/PEi386.c => _build/stage1/rts/build/c/linker/PEi386.debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/ProfHeap.c => _build/stage1/rts/build/c/ProfHeap.debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/ProfHeap.c => _build/stage1/rts/build/c/ProfHeap.thr_p_o
| Run Ghc CompileCWithGhc Stage1: rts/posix/OSMem.c => _build/stage1/rts/build/c/posix/OSMem.thr_debug_o
| Run Ghc CompileCWithGhc Stage1: rts/Hash.c => _build/stage1/rts/build/c/Hash.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/Interpreter.c => _build/stage1/rts/build/c/Interpreter.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/Continuation.c => _build/stage1/rts/build/c/Continuation.p_o
| Run Ghc CompileCWithGhc Stage1: rts/OldARMAtomic.c => _build/stage1/rts/build/c/OldARMAtomic.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/eventlog/EventLog.c => _build/stage1/rts/build/c/eventlog/EventLog.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/PathUtils.c => _build/stage1/rts/build/c/PathUtils.thr_p_o
| Run Ghc CompileCWithGhc Stage1: rts/CloneStack.c => _build/stage1/rts/build/c/CloneStack.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/TSANUtils.c => _build/stage1/rts/build/c/TSANUtils.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/CloneStack.c => _build/stage1/rts/build/c/CloneStack.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/sm/CNF.c => _build/stage1/rts/build/c/sm/CNF.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_got.c => _build/stage1/rts/build/c/linker/elf_got.thr_debug_o
| Run Ghc CompileCWithGhc Stage1: rts/Linker.c => _build/stage1/rts/build/c/Linker.thr_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/sm/MBlock.c => _build/stage1/rts/build/c/sm/MBlock.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/hooks/MallocFail.c => _build/stage1/rts/build/c/hooks/MallocFail.thr_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/RtsSymbols.c => _build/stage1/rts/build/c/RtsSymbols.debug_o

rts/Linker.c:108:21: error:
     warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
      108 | extern void iconvctl();
          |                     ^
          |                      void
    |
108 | extern void iconvctl();
    |                     ^

rts/Linker.c:109:28: error:
     warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
      109 | extern void iconv_open_into();
          |                            ^
          |                             void
    |
109 | extern void iconv_open_into();
    |                            ^

rts/Linker.c:110:23: error:
     warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
      110 | extern void iconv_open();
          |                       ^
          |                        void
    |
110 | extern void iconv_open();
    |                       ^

rts/Linker.c:111:24: error:
     warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
      111 | extern void iconv_close();
          |                        ^
          |                         void
    |
111 | extern void iconv_close();
    |                        ^

rts/Linker.c:112:31: error:
     warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
      112 | extern void iconv_canonicalize();
          |                               ^
          |                                void
    |
112 | extern void iconv_canonicalize();
    |                               ^

rts/Linker.c:113:18: error:
     warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
      113 | extern void iconv();
          |                  ^
          |                   void
    |
113 | extern void iconv();
    |                  ^
6 warnings generated.
| Run Ghc CompileCWithGhc Stage1: rts/STM.c => _build/stage1/rts/build/c/STM.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/Messages.c => _build/stage1/rts/build/c/Messages.debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/sm/NonMoving.c => _build/stage1/rts/build/c/sm/NonMoving.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/RtsSymbolInfo.c => _build/stage1/rts/build/c/RtsSymbolInfo.dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/sm/GCUtils.c => _build/stage1/rts/build/c/sm/GCUtils.thr_debug_o
| Run Ghc CompileCWithGhc Stage1: rts/Heap.c => _build/stage1/rts/build/c/Heap.debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/StaticPtrTable.c => _build/stage1/rts/build/c/StaticPtrTable.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/MachO.c => _build/stage1/rts/build/c/linker/MachO.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/ClosureFlags.c => _build/stage1/rts/build/c/ClosureFlags.o
| Run Ghc CompileCWithGhc Stage1: rts/sm/GCUtils.c => _build/stage1/rts/build/c/sm/GCUtils.thr_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_plt_aarch64.c => _build/stage1/rts/build/c/linker/elf_plt_aarch64.o
| Run Ghc CompileCWithGhc Stage1: rts/linker/MMap.c => _build/stage1/rts/build/c/linker/MMap.thr_p_o
| Run Ghc CompileCWithGhc Stage1: rts/Proftimer.c => _build/stage1/rts/build/c/Proftimer.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_got.c => _build/stage1/rts/build/c/linker/elf_got.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/posix/Select.c => _build/stage1/rts/build/c/posix/Select.p_o
| Run Ghc CompileCWithGhc Stage1: rts/ThreadPaused.c => _build/stage1/rts/build/c/ThreadPaused.thr_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_got.c => _build/stage1/rts/build/c/linker/elf_got.thr_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/InitFini.c => _build/stage1/rts/build/c/linker/InitFini.debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/RtsUtils.c => _build/stage1/rts/build/c/RtsUtils.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_reloc.c => _build/stage1/rts/build/c/linker/elf_reloc.thr_p_o
| Run Ghc CompileCWithGhc Stage1: rts/Trace.c => _build/stage1/rts/build/c/Trace.thr_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/ExecPage.c => _build/stage1/rts/build/c/ExecPage.debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/Weak.c => _build/stage1/rts/build/c/Weak.debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/hooks/FlagDefaults.c => _build/stage1/rts/build/c/hooks/FlagDefaults.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/hooks/OnExit.c => _build/stage1/rts/build/c/hooks/OnExit.dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/SymbolExtras.c => _build/stage1/rts/build/c/linker/SymbolExtras.thr_p_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/SymbolExtras.c => _build/stage1/rts/build/c/linker/SymbolExtras.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/Messages.c => _build/stage1/rts/build/c/Messages.thr_p_o
| Run Ghc CompileCWithGhc Stage1: rts/ReportMemoryMap.c => _build/stage1/rts/build/c/ReportMemoryMap.p_o
| Run Ghc CompileCWithGhc Stage1: rts/Capability.c => _build/stage1/rts/build/c/Capability.p_o
| Run Ghc CompileCWithGhc Stage1: rts/Pool.c => _build/stage1/rts/build/c/Pool.thr_debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/RtsMessages.c => _build/stage1/rts/build/c/RtsMessages.dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/ClosureSize.c => _build/stage1/rts/build/c/ClosureSize.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/Weak.c => _build/stage1/rts/build/c/Weak.thr_debug_p_o
| Run Ghc CompileCWithGhc Stage1: rts/ZeroSlop.c => _build/stage1/rts/build/c/ZeroSlop.thr_debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/Globals.c => _build/stage1/rts/build/c/Globals.thr_debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/posix/TTY.c => _build/stage1/rts/build/c/posix/TTY.thr_p_o
| Run Ghc CompileCWithGhc Stage1: rts/sm/MBlock.c => _build/stage1/rts/build/c/sm/MBlock.dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/posix/Select.c => _build/stage1/rts/build/c/posix/Select.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/posix/Ticker.c => _build/stage1/rts/build/c/posix/Ticker.p_o
| Run Ghc CompileCWithGhc Stage1: rts/sm/NonMovingAllocate.c => _build/stage1/rts/build/c/sm/NonMovingAllocate.debug_dyn_o
| Run Ghc CompileCWithGhc Stage1: rts/posix/Select.c => _build/stage1/rts/build/c/posix/Select.o
| Run Ghc CompileCWithGhc Stage1: rts/sm/NonMovingMark.c => _build/stage1/rts/build/c/sm/NonMovingMark.debug_o
| Run Ghc CompileCWithGhc Stage1: rts/RtsMain.c => _build/stage1/rts/build/c/RtsMain.p_o
| Run Ghc CompileCWithGhc Stage1: rts/ClosureSize.c => _build/stage1/rts/build/c/ClosureSize.thr_o
| Run Ghc CompileCWithGhc Stage1: rts/linker/macho/plt.c => _build/stage1/rts/build/c/linker/macho/plt.thr_p_o
| Run Ghc CompileHs Stage1: compiler/GHC/Tc/Types/LclEnv.hs-boot => _build/stage1/compiler/build/GHC/Tc/Types/LclEnv.o-boot
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_reloc_aarch64.c => _build/stage1/rts/build/c/linker/elf_reloc_aarch64.o
| Run Ghc CompileCWithGhc Stage1: rts/linker/InitFini.c => _build/stage1/rts/build/c/linker/InitFini.thr_debug_o
Command line: _build/stage0/bin/ghc -Wall -Wcompat -fdiagnostics-color=never -dynamic-too -hisuf hi -osuf o -hcsuf hc -static -hide-all-packages -no-user-package-db '-package-env -' '-package-db _build/stage1/inplace/package.conf.d' '-this-unit-id ghc-9.8.4-inplace' '-package-id array-0.5.8.0-inplace' '-package-id base-4.19.2.0-inplace' '-package-id binary-0.8.9.1-inplace' '-package-id bytestring-0.12.1.0-inplace' '-package-id containers-0.6.8-inplace' '-package-id deepseq-1.5.1.0-inplace' '-package-id directory-1.3.8.5-inplace' '-package-id exceptions-0.10.7-inplace' '-package-id filepath-1.4.301.0-inplace' '-package-id ghc-boot-9.8.4-inplace' '-package-id ghc-heap-9.8.4-inplace' '-package-id ghci-9.8.4-inplace' '-package-id hpc-0.7.0.0-inplace' '-package-id process-1.6.25.0-inplace' '-package-id semaphore-compat-1.0.0-inplace' '-package-id stm-2.5.3.1-inplace' '-package-id template-haskell-2.21.0.0-inplace' '-package-id time-1.12.2-inplace' '-package-id transformers-0.6.1.
0-inplace' '-package-id unix-2.8.6.0-inplace' -i -i/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/_build/stage1/compiler/build -i/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/_build/stage1/compiler/build/autogen -i/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/compiler -Irts/include -I_build/stage1/compiler/build -I_build/stage1/compiler/build/. -Icompiler/. -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/libraries/process/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/_build/stage1/libraries/process/build/include -I/usr/local/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/libraries/directory -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/_build/stage1/libraries/directory/build -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/libraries/unix/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/_build/stage1/libraries/unix/build/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/libraries/time/lib/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/_build/stag
e1/libraries/time/build/lib/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/libraries/containers/containers/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/_build/stage1/libraries/containers/containers/build/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/libraries/bytestring/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/_build/stage1/libraries/bytestring/build/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/libraries/base/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/_build/stage1/libraries/base/build/include -I/usr/local/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/libraries/ghc-bignum/include/ -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/_build/stage1/libraries/ghc-bignum/build/include/ -I/usr/local/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/rts/include -I/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/_build/stage1/rts/build/include -optP-include -optP_build/stage1/compiler/build/autogen/cabal_macros.h -o
ptc--target=aarch64-unknown-freebsd -optc-Qunused-arguments -optP-DHAVE_INTERNAL_INTERPRETER -optP-DCAN_LOAD_DLL -outputdir _build/stage1/compiler/build -Wall -Wno-name-shadowing -Wnoncanonical-monad-instances -Wnoncanonical-monoid-instances -XHaskell2010 -XNoImplicitPrelude -XBangPatterns -XScopedTypeVariables -XMonoLocalBinds -XTypeOperators -no-global-package-db -package-db=/wrkdirs/usr/ports/lang/ghc98/work/ghc-9.8.4/_build/stage1/inplace/package.conf.d -ghcversion-file=rts/include/ghcversion.h -ghcversion-file=rts/include/ghcversion.h -Wnoncanonical-monad-instances -optc-Wno-unknown-pragmas -c compiler/GHC/Tc/Types/LclEnv.hs-boot -o _build/stage1/compiler/build/GHC/Tc/Types/LclEnv.o-boot -O2 -H32m -haddock -Winvalid-haddock -Wno-deprecated-flags -Wcpp-undef
===> Command failed with error code: 1

compiler/GHC/Tc/Types/LclEnv.hs-boot:1:1: error: [GHC-22211]
    Failed to load interface for ‘GHC.Types’.
    There are files missing in the ‘ghc-prim-0.11.0’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
  |
1 | module GHC.Tc.Types.LclEnv where
  | ^
Command failed
Build failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/lang/ghc98