[package - main-arm64-default][lang/ghc98] Failed for ghc98-9.8.4 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Jun 2026 20:46:37 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/ampere2/data/main-arm64-default/p1edbeefa02b8_se8a3352e8b5/logs/ghc98-9.8.4.log
Build URL: https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p1edbeefa02b8_se8a3352e8b5
Log:
=>> Building lang/ghc98
build started at Wed Jun 24 19:23:05 UTC 2026
port directory: /usr/ports/lang/ghc98
package name: ghc98-9.8.4
building for: FreeBSD main-arm64-default-job-05 16.0-CURRENT FreeBSD 16.0-CURRENT 1600019 arm64
maintained by: haskell@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 832 Jan 8 01:07 /usr/ports/lang/ghc98/Makefile
Ports top last git commit: 1edbeefa02b8180e91f80d880ad0bf57c556ae32
Ports top unclean checkout: no
Port dir last git commit: 9067787549d646e97ade0b014f9df0563ce99fcf
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.8
Host OSVERSION: 1600018
Jail OSVERSION: 1600019
Job Id: 05
!!! Jail is newer than host. (Jail: 1600019, Host: 1600018) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1600019
UNAME_v=FreeBSD 16.0-CURRENT 1600019
UNAME_r=16.0-CURRENT
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
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/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/main-arm64-default/05/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.8
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.11" 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_INSTAL
L_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.11 PYTHON_LIBDIR=lib/python3.11 PYTHON_PLATFORM=freebsd16 PYTHON_SITELIBDIR=lib/python3.11
/site-packages PYTHON_SUFFIX=311 PYTHON_BASESUFFIX=311 PYTHON_TAG=.cpython-311 PYTHON_SOABI=.cpython-311 PYTHON_VER=3.11 PYTHON_BASEVER=3.11 PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" GMP= OSREL=16.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.42.2 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.11 PYTHON_LIBDIR=/usr/local/lib/python3.11 PYTHON_PLATFORM=freebsd16 PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages PYTHON_SUFFIX=311 PYTHON_BASESUFFIX=311 PYTHON_TAG=.cpython-311 PYTHON_SOABI=.cpython-311 PYTHON_VER=3.11 PYTHON_BASEVER=3.11 PYTHON_VERSION=python3.11 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 (kbytes, -y) unlimited
virtual machines (-V) 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
[main-arm64-default-job-05] Installing pkg-2.7.5...
[main-arm64-default-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
[main-arm64-default-job-05] Installing gmp-6.3.0...
<snip>
note: expanded from macro '__deprecated1'
153 | #define __deprecated1(msg) __attribute__((__deprecated__(msg)))
| ^
|
153 | #define __deprecated1(msg) __attribute__((__deprecated__(msg)))
| ^
1 warning generated.
| Run Hsc2Hs Stage1: libraries/unix/System/Posix/Signals/Exts.hsc => _build/stage1/libraries/unix/build/System/Posix/Signals/Exts.hs
| Remove file _build/stage1/libraries/hpc/.dependencies.mk.bak
| Run Ghc CompileHs Stage1: libraries/base/GHC/MVar.hs => _build/stage1/libraries/base/build/GHC/MVar.o
| Run Ghc FindHsDependencies Stage1: libraries/Cabal/Cabal-syntax/src/Distribution/Backpack.hs (and 136 more) => _build/stage1/libraries/Cabal/Cabal-syntax/.dependencies.mk
| Run Hsc2Hs Stage1: libraries/unix/System/Posix/Directory/Common.hsc => _build/stage1/libraries/unix/build/System/Posix/Directory/Common.hs
# cabal-autogen (for _build/stage1/libraries/ghci/build/autogen/cabal_macros.h)
| Run Hsc2Hs Stage1: libraries/ghci/GHCi/Utils.hsc => _build/stage1/libraries/ghci/build/GHCi/Utils.hs
| Run GhcPkg Update Stage1: _build/stage1/libraries/ghci/inplace-pkg-config => none
| Run Hsc2Hs Stage1: libraries/ghci/GHCi/InfoTable.hsc => _build/stage1/libraries/ghci/build/GHCi/InfoTable.hs
| Run Hsc2Hs Stage1: libraries/unix/System/Posix/Directory.hsc => _build/stage1/libraries/unix/build/System/Posix/Directory.hs
| Run Hsc2Hs Stage1: libraries/unix/System/Posix/Resource.hsc => _build/stage1/libraries/unix/build/System/Posix/Resource.hs
| Run Ghc CompileHs Stage1: _build/stage1/libraries/base/build/GHC/ConsoleHandler.hs => _build/stage1/libraries/base/build/GHC/ConsoleHandler.o
| Remove file _build/stage1/libraries/Cabal/Cabal-syntax/.dependencies.mk.bak
| Run Hsc2Hs Stage1: libraries/unix/System/Posix/Process/Common.hsc => _build/stage1/libraries/unix/build/System/Posix/Process/Common.hs
| Run Hsc2Hs Stage1: libraries/ghci/GHCi/FFI.hsc => _build/stage1/libraries/ghci/build/GHCi/FFI.hs
| Run Hsc2Hs Stage1: libraries/unix/System/Posix/Unistd.hsc => _build/stage1/libraries/unix/build/System/Posix/Unistd.hs
| Run Ghc CompileHs Stage1: libraries/base/GHC/Arr.hs => _build/stage1/libraries/base/build/GHC/Arr.o
| Run Ghc FindHsDependencies Stage1: libraries/ghci/GHCi/BinaryArray.hs (and 15 more) => _build/stage1/libraries/ghci/.dependencies.mk
| Run Ghc CompileHs Stage1: libraries/base/GHC/Word.hs => _build/stage1/libraries/base/build/GHC/Word.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/Unicode.hs => _build/stage1/libraries/base/build/GHC/Unicode.o
| Remove file _build/stage1/libraries/ghci/.dependencies.mk.bak
# cabal-configure (for _build/stage1/compiler/setup-config)
# cabal-configure (for _build/stage1/libraries/haskeline/setup-config)
| Run Ghc CompileHs Stage1: libraries/base/Unsafe/Coerce.hs => _build/stage1/libraries/base/build/Unsafe/Coerce.o
# cabal-autogen (for _build/stage1/libraries/haskeline/build/autogen/cabal_macros.h)
| Run Ghc CompileHs Stage1: libraries/base/Text/ParserCombinators/ReadP.hs => _build/stage1/libraries/base/build/Text/ParserCombinators/ReadP.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/ArrayArray.hs => _build/stage1/libraries/base/build/GHC/ArrayArray.o
# cabal-autogen (for _build/stage1/compiler/build/autogen/cabal_macros.h)
| Run Cc (FindCDependencies CDep) Stage1: libraries/unix/cbits/HsUnix.c => _build/stage1/libraries/unix/build/c/cbits/HsUnix.p_o.d
| Run Ghc CompileCWithGhc Stage1: libraries/unix/cbits/HsUnix.c => _build/stage1/libraries/unix/build/c/cbits/HsUnix.p_o
libraries/unix/cbits/HsUnix.c:77:9: error:
warning: 'readdir_r' is deprecated: Does not take variable {NAME_MAX} into account [-Wdeprecated-declarations]
77 | res = readdir_r(dirPtr, p, pDirEnt);
| ^
|
77 | res = readdir_r(dirPtr, p, pDirEnt);
| ^
/usr/include/dirent.h:120:2: error:
note: 'readdir_r' has been explicitly marked deprecated here
120 | __deprecated1("Does not take variable {NAME_MAX} into account");
| ^
|
120 | __deprecated1("Does not take variable {NAME_MAX} into account");
| ^
/usr/include/sys/cdefs.h:153:43: error:
note: expanded from macro '__deprecated1'
153 | #define __deprecated1(msg) __attribute__((__deprecated__(msg)))
| ^
|
153 | #define __deprecated1(msg) __attribute__((__deprecated__(msg)))
| ^
1 warning generated.
# cabal-configure (for _build/stage1/libraries/Cabal/Cabal/setup-config)
| Run Cc (FindCDependencies CDep) Stage1: libraries/unix/cbits/execvpe.c => _build/stage1/libraries/unix/build/c/cbits/execvpe.p_o.d
| Run Ghc CompileHs Stage1: libraries/base/Text/Read/Lex.hs => _build/stage1/libraries/base/build/Text/Read/Lex.o
| Run Ghc CompileHs Stage1: libraries/base/Text/ParserCombinators/ReadPrec.hs => _build/stage1/libraries/base/build/Text/ParserCombinators/ReadPrec.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/Float.hs => _build/stage1/libraries/base/build/GHC/Float.o
# cabal-autogen (for _build/stage1/libraries/Cabal/Cabal/build/autogen/cabal_macros.h)
| Run Hsc2Hs Stage1: libraries/haskeline/System/Console/Haskeline/Backend/Posix.hsc => _build/stage1/libraries/haskeline/build/System/Console/Haskeline/Backend/Posix.hs
| Run Cc (FindCDependencies CDep) Stage1: libraries/haskeline/cbits/h_wcwidth.c => _build/stage1/libraries/haskeline/build/c/cbits/h_wcwidth.p_o.d
| Run Ghc CompileCWithGhc Stage1: libraries/haskeline/cbits/h_wcwidth.c => _build/stage1/libraries/haskeline/build/c/cbits/h_wcwidth.p_o
| Run Hsc2Hs Stage1: libraries/haskeline/System/Console/Haskeline/Directory.hsc => _build/stage1/libraries/haskeline/build/System/Console/Haskeline/Directory.hs
| Run Ghc CompileCWithGhc Stage1: libraries/unix/cbits/execvpe.c => _build/stage1/libraries/unix/build/c/cbits/execvpe.p_o
| Run Ghc FindHsDependencies Stage1: libraries/Cabal/Cabal/src/Distribution/Backpack/ComponentsGraph.hs (and 114 more) => _build/stage1/libraries/Cabal/Cabal/.dependencies.mk
| Run Ghc FindHsDependencies Stage1: libraries/haskeline/System/Console/Haskeline.hs (and 26 more) => _build/stage1/libraries/haskeline/.dependencies.mk
| Remove file _build/stage1/libraries/haskeline/.dependencies.mk.bak
| Run Cc (FindCDependencies CDep) Stage1: rts/Profiling.c => _build/stage1/rts/build/c/Profiling.dyn_o.d
| Run Ghc CompileCWithGhc Stage1: rts/Profiling.c => _build/stage1/rts/build/c/Profiling.dyn_o
| Remove file _build/stage1/libraries/Cabal/Cabal/.dependencies.mk.bak
| Run Ghc CompileHs Stage1: libraries/base/GHC/IO/Encoding/CodePage.hs => _build/stage1/libraries/base/build/GHC/IO/Encoding/CodePage.o
| Run Cc (FindCDependencies CDep) Stage1: libraries/haskeline/cbits/h_wcwidth.c => _build/stage1/libraries/haskeline/build/c/cbits/h_wcwidth.o.d
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-fixity.hs-incl
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-tag.hs-incl
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-strictness.hs-incl
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-vector-tys-exports.hs-incl
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-commutable.hs-incl
| Successfully generated _build/stage1/compiler/build/GHC/Settings/Config.hs.
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-out-of-line.hs-incl
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-code-size.hs-incl
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-data-decl.hs-incl
| Run DeriveConstants: none => _build/stage1/compiler/build/GHC/Platform/Constants.hs (and 1 more)
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-can-fail.hs-incl
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-has-side-effects.hs-incl
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-vector-tycons.hs-incl
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-docs.hs-incl
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-vector-tys.hs-incl
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-vector-uniques.hs-incl
| Run Ghc CompileCWithGhc Stage1: libraries/haskeline/cbits/h_wcwidth.c => _build/stage1/libraries/haskeline/build/c/cbits/h_wcwidth.o
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-primop-info.hs-incl
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-list.hs-incl
| Run Cc (FindCDependencies CDep) Stage1: compiler/cbits/keepCAFsForGHCi.c => _build/stage1/compiler/build/c/cbits/keepCAFsForGHCi.o.d
| Run Ghc FindHsDependencies Stage1: compiler/GHC.hs (and 751 more) => _build/stage1/compiler/.dependencies.mk
| Run Cc (FindCDependencies CDep) Stage1: compiler/cbits/cutils.c => _build/stage1/compiler/build/c/cbits/cutils.o.d
| Run Cc (FindCDependencies CDep) Stage1: compiler/cbits/cutils.c => _build/stage1/compiler/build/c/cbits/cutils.p_o.d
| Run Cc (FindCDependencies CDep) Stage1: compiler/cbits/genSym.c => _build/stage1/compiler/build/c/cbits/genSym.p_o.d
| Run Ghc CompileHs Stage1: libraries/base/GHC/Read.hs => _build/stage1/libraries/base/build/GHC/Read.o
| Run Cc (FindCDependencies CDep) Stage1: compiler/cbits/genSym.c => _build/stage1/compiler/build/c/cbits/genSym.o.d
| Run Cc (FindCDependencies CDep) Stage1: compiler/cbits/keepCAFsForGHCi.c => _build/stage1/compiler/build/c/cbits/keepCAFsForGHCi.p_o.d
| Run Cc (FindCDependencies CDep) Stage1: libraries/process/cbits/posix/fork_exec.c => _build/stage1/libraries/process/build/c/cbits/posix/fork_exec.p_o.d
| Run Cc (FindCDependencies CDep) Stage1: libraries/process/cbits/posix/find_executable.c => _build/stage1/libraries/process/build/c/cbits/posix/find_executable.p_o.d
| Run Ghc CompileCWithGhc Stage1: libraries/process/cbits/posix/find_executable.c => _build/stage1/libraries/process/build/c/cbits/posix/find_executable.p_o
| Run Cc (FindCDependencies CDep) Stage1: libraries/process/cbits/posix/runProcess.c => _build/stage1/libraries/process/build/c/cbits/posix/runProcess.p_o.d
| Run Ghc CompileCWithGhc Stage1: libraries/process/cbits/posix/runProcess.c => _build/stage1/libraries/process/build/c/cbits/posix/runProcess.p_o
| Run Cc (FindCDependencies CDep) Stage1: libraries/process/cbits/posix/posix_spawn.c => _build/stage1/libraries/process/build/c/cbits/posix/posix_spawn.p_o.d
| Run Ghc CompileCWithGhc Stage1: libraries/process/cbits/posix/posix_spawn.c => _build/stage1/libraries/process/build/c/cbits/posix/posix_spawn.p_o
| Run Hsc2Hs Stage1: libraries/unix/System/Posix/DynamicLinker.hsc => _build/stage1/libraries/unix/build/System/Posix/DynamicLinker.hs
| Run Ghc FindHsDependencies Stage1: libraries/unix/System/Posix.hs (and 52 more) => _build/stage1/libraries/unix/.dependencies.mk
| Remove file _build/stage1/libraries/unix/.dependencies.mk.bak
| Run Cc (FindCDependencies CDep) Stage1: libraries/bytestring/cbits/aarch64/is-valid-utf8.c => _build/stage1/libraries/bytestring/build/c/cbits/aarch64/is-valid-utf8.o.d
| Run Ghc CompileCWithGhc Stage1: libraries/bytestring/cbits/aarch64/is-valid-utf8.c => _build/stage1/libraries/bytestring/build/c/cbits/aarch64/is-valid-utf8.o
| Run Cc (FindCDependencies CDep) Stage1: rts/StableName.c => _build/stage1/rts/build/c/StableName.thr_o.d
| Run Cc (FindCDependencies CDep) Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.debug_dyn_o.d
| Run Ghc CompileHs Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.debug_dyn_o
| Run Ghc CompileHs Stage1: libraries/base/Data/Bits.hs => _build/stage1/libraries/base/build/Data/Bits.o
| Run Ghc CompileHs Stage1: libraries/base/Data/Word.hs => _build/stage1/libraries/base/build/Data/Word.o
| Run Ghc CompileHs Stage1: _build/stage1/libraries/base/build/GHC/Clock.hs => _build/stage1/libraries/base/build/GHC/Clock.o
| Run Ghc CompileHs Stage1: libraries/base/Numeric.hs => _build/stage1/libraries/base/build/Numeric.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/Ptr.hs => _build/stage1/libraries/base/build/GHC/Ptr.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/Int.hs => _build/stage1/libraries/base/build/GHC/Int.o
| Run Ghc CompileHs Stage1: libraries/base/Foreign/C/ConstPtr.hs => _build/stage1/libraries/base/build/Foreign/C/ConstPtr.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/Stable.hs => _build/stage1/libraries/base/build/GHC/Stable.o
| Run Ghc CompileHs Stage1: libraries/base/Data/Type/Equality.hs => _build/stage1/libraries/base/build/Data/Type/Equality.o
| Run Ghc CompileHs Stage1: libraries/base/Data/Char.hs => _build/stage1/libraries/base/build/Data/Char.o
| Run Ghc CompileHs Stage1: libraries/base/Data/Either.hs => _build/stage1/libraries/base/build/Data/Either.o
| Run Ghc CompileHs Stage1: libraries/base/Text/Read.hs => _build/stage1/libraries/base/build/Text/Read.o
| Run Ghc CompileHs Stage1: libraries/base/Foreign/StablePtr.hs => _build/stage1/libraries/base/build/Foreign/StablePtr.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/Conc/Sync.hs-boot => _build/stage1/libraries/base/build/GHC/Conc/Sync.o-boot
| Run Ghc CompileHs Stage1: libraries/base/Data/Int.hs => _build/stage1/libraries/base/build/Data/Int.o
| Run Ghc CompileHs Stage1: libraries/base/Data/Proxy.hs => _build/stage1/libraries/base/build/Data/Proxy.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/Pack.hs => _build/stage1/libraries/base/build/GHC/Pack.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/Storable.hs => _build/stage1/libraries/base/build/GHC/Storable.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/Fingerprint/Type.hs => _build/stage1/libraries/base/build/GHC/Fingerprint/Type.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/Fingerprint.hs-boot => _build/stage1/libraries/base/build/GHC/Fingerprint.o-boot
| Run Ghc CompileHs Stage1: libraries/base/Foreign/Storable.hs => _build/stage1/libraries/base/build/Foreign/Storable.o
| Run Ghc CompileHs Stage1: libraries/base/Data/Type/Coercion.hs => _build/stage1/libraries/base/build/Data/Type/Coercion.o
| Run Ghc CompileHs Stage1: libraries/base/Control/Category.hs => _build/stage1/libraries/base/build/Control/Category.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/IO/IOMode.hs => _build/stage1/libraries/base/build/GHC/IO/IOMode.o
| Run Ghc CompileHs Stage1: libraries/base/Foreign/Ptr.hs => _build/stage1/libraries/base/build/Foreign/Ptr.o
| Run Ghc CompileHs Stage1: libraries/base/Foreign/C/Types.hs => _build/stage1/libraries/base/build/Foreign/C/Types.o
| Run Ghc CompileHs Stage1: libraries/base/Data/Ord.hs => _build/stage1/libraries/base/build/Data/Ord.o
| Run Ghc CompileHs Stage1: libraries/base/Data/OldList.hs => _build/stage1/libraries/base/build/Data/OldList.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/OldList.hs => _build/stage1/libraries/base/build/GHC/OldList.o
| Run Ghc CompileHs Stage1: libraries/base/Data/Type/Ord.hs => _build/stage1/libraries/base/build/Data/Type/Ord.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/Event/Unique.hs => _build/stage1/libraries/base/build/GHC/Event/Unique.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/TypeNats.hs => _build/stage1/libraries/base/build/GHC/TypeNats.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/Event/PSQ.hs => _build/stage1/libraries/base/build/GHC/Event/PSQ.o
| Run Ghc CompileHs Stage1: libraries/base/GHC/TypeLits.hs => _build/stage1/libraries/base/build/GHC/TypeLits.o
| Remove file _build/stage1/compiler/.dependencies.mk.bak
| Run Cc (FindCDependencies CDep) Stage1: rts/sm/NonMovingSweep.c => _build/stage1/rts/build/c/sm/NonMovingSweep.thr_o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/Continuation.c => _build/stage1/rts/build/c/Continuation.p_o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/Continuation.c => _build/stage1/rts/build/c/Continuation.thr_debug_p_o.d
| Run Ghc CompileHs Stage1: libraries/base/Data/Typeable/Internal.hs => _build/stage1/libraries/base/build/Data/Typeable/Internal.o
| Run Cc (FindCDependencies CDep) Stage1: rts/Continuation.c => _build/stage1/rts/build/c/Continuation.thr_debug_dyn_o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/Continuation.c => _build/stage1/rts/build/c/Continuation.debug_o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/Continuation.c => _build/stage1/rts/build/c/Continuation.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/Continuation.c => _build/stage1/rts/build/c/Continuation.thr_dyn_o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/Continuation.c => _build/stage1/rts/build/c/Continuation.dyn_o.d
| Run Ghc CompileHs Stage1: libraries/base/GHC/Generics.hs => _build/stage1/libraries/base/build/GHC/Generics.o
| Run Ghc CompileHs Stage1: compiler/GHC/Utils/Containers/Internal/StrictPair.hs => _build/stage1/compiler/build/GHC/Utils/Containers/Internal/StrictPair.o
| Run Ghc CompileHs Stage1: compiler/GHC/Iface/Type.hs-boot => _build/stage1/compiler/build/GHC/Iface/Type.o-boot
| Run Ghc CompileHs Stage1: compiler/GHC/Utils/Containers/Internal/StrictPair.hs => _build/stage1/compiler/build/GHC/Utils/Containers/Internal/StrictPair.p_o
| Run Cc (FindCDependencies CDep) Stage1: rts/Continuation.c => _build/stage1/rts/build/c/Continuation.thr_p_o.d
Command line: _build/stage0/bin/ghc -Wall -Wcompat -fdiagnostics-color=never -hisuf p_hi -osuf p_o -hcsuf p_hc -static -prof -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/stage
1/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 -op
tc--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/Utils/Containers/Internal/StrictPair.hs -o _build/stage1/compiler/build/GHC/Utils/Containers/Internal/StrictPair.p_o -O2 -H32m -haddock -Winvalid-haddock -Wno-deprecated-flags -Wcpp-undef
===> Command failed with error code: 1
ghc: panic! (the 'impossible' happened)
GHC version 9.8.4:
lookupGlobal
ErrorWithoutFlag
Failed to load interface for ‘GHC.Num.BigNat’.
Perhaps you haven't installed the profiling libraries for package ‘ghc-bignum-1.3’?
Use -v to see a list of the files searched for.
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/GHC/Utils/Panic.hs:191:37 in ghc:GHC.Utils.Panic
pprPanic, called at compiler/GHC/Tc/Utils/Env.hs:154:18 in ghc:GHC.Tc.Utils.Env
CallStack (from HasCallStack):
panic, called at compiler/GHC/Utils/Error.hs:503:29 in ghc:GHC.Utils.Error
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
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