Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Oct 2025 01:40:27 +0000
From:      <pkg-fallout@FreeBSD.org>
To:        haskell@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 15stable-amd64-default][lang/ghc] Failed for ghc-9.8.4 in build
Message-ID:  <68e46f8b.14a0.49d27c38@beefy23.chi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/beefy23/data/15stable-amd64-default/9ab81a2c7468/logs/ghc-9.8.4.log
Build URL:      https://pkg-status.freebsd.org/beefy23/build.html?mastername=15stable-amd64-default&build=9ab81a2c7468
Log:

=>> Building lang/ghc
build started at Tue Oct  7 01:14:36 -00 2025
port directory: /usr/ports/lang/ghc
package name: ghc-9.8.4
building for: FreeBSD 15stable-amd64-default-job-41 15.0-ALPHA5 FreeBSD 15.0-ALPHA5 1500066 amd64
maintained by: haskell@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 9357 Sep 30 01:01 /usr/ports/lang/ghc/Makefile
Ports top last git commit: 9ab81a2c7
Ports top unclean checkout: no
Port dir last git commit: b64b73fd9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3-6-gb115e081
Host OSVERSION: 1600000
Jail OSVERSION: 1500066
Job Id: 41

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500066
UNAME_v=FreeBSD 15.0-ALPHA5 1500066
UNAME_r=15.0-ALPHA5
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.3-6-gb115e081
MASTERMNT=/usr/local/poudriere/data/.m/15stable-amd64-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/15stable-amd64-default/41/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=15stable-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/15stable-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.3-6-gb115e081
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 ghc-9.8.4:
     DOCS=on: Build and install HTML documentation
     DYNAMIC=on: Add support for dynamic linking
     GMP=on: Use GNU Multi-precision Library from Ports
     PDFDOCS=off: Build and install PDF documentation
     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 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
CC=cc CXX=c++ CPP=cpp GHC=/wrkdirs/usr/ports/lang/ghc/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/ghc/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ghc/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ghc/work/.cache  HOME=/wrkdirs/usr/ports/lang/ghc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ghc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ghc/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.72 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/ghc/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ghc/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ghc/work/.cache  HOME=/wrkdirs/usr/ports/lang/ghc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ghc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ghc/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.72 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="insta
ll  -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=x86_64 PORTDOCS="" BOOT="@comment " NO_BOOT="" DOCS="" NO_DOCS="@comment " DYNAMIC="" NO_DYNAMIC="@comment " GMP="" NO_GMP="@comment " PDFDOCS="@comment " NO_PDFDOCS="" PROFILE="" NO_PROFILE="@comment " PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=li
b/python3.11  PYTHON_PLATFORM=freebsd15  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="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.42.0  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="" DOCS="" NO_DOCS="@comment " DYNAMIC="" NO_DYNAMIC="@comment " GMP="" NO_GMP="@comment " PDFDOCS="@comment " NO_PDFDOCS="" PROFILE="" NO_PROFILE="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd15  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---
# 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
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)  33554432
stack size              (kbytes, -s)  524288
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
===>   ghc-9.8.4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.3.1.pkg
[15stable-amd64-default-job-41] Installing pkg-2.3.1...
[15stable-amd64-default-job-41] Extracting pkg-2.3.1: .......... done
===>   ghc-9.8.4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ghc-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 ghc-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 ghc-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-amd64-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 ghc-9.8.4 for building
===>  Extracting for ghc-9.8.4
=> SHA256 Checksum OK for ghc-9.8.4-src.tar.xz.
=> SHA256 Checksum OK for ghc-9.6.7-boot-amd64-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 ghc-9.8.4
===>  Applying FreeBSD patches for ghc-9.8.4 from /usr/ports/lang/ghc/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   ghc-9.8.4 depends on file: /usr/local/lib/libgmp.so - not found
===>   Installing existing package /packages/All/gmp-6.3.0.pkg
[15stable-amd64-default-job-41] Installing gmp-6.3.0...
[15stable-amd64-default-job-41] `-- Installing indexinfo-0.3.1_1...
[15stable-amd64-default-job-41] `-- Extracting indexinfo-0.3.1_1: .... done
<snip>
| Run Ghc CompileCWithGhc Stage1: libraries/process/cbits/posix/posix_spawn.c => _build/stage1/libraries/process/build/c/cbits/posix/posix_spawn.p_o
| 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 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/find_executable.c => _build/stage1/libraries/process/build/c/cbits/posix/find_executable.p_o
| Remove file _build/stage1/libraries/filepath/.dependencies.mk.bak
| 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: rts/sm/Sweep.c => _build/stage1/rts/build/c/sm/Sweep.thr_debug_dyn_o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.thr_p_o.d
| Run Ghc CompileCWithGhc Stage1: rts/sm/Sweep.c => _build/stage1/rts/build/c/sm/Sweep.thr_debug_dyn_o
| Run Cc (FindCDependencies CDep) Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.thr_dyn_o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.debug_p_o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.thr_debug_dyn_o.d
| Run Ghc CompileHs Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.thr_dyn_o
| Run Cc (FindCDependencies CDep) Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.thr_debug_o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.debug_dyn_o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.thr_debug_p_o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.o.d
| Run Ghc CompileHs Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.thr_debug_p_o
| Run Ghc CompileHs Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.thr_debug_dyn_o
| Run Cc (FindCDependencies CDep) Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.debug_o.d
| Run Ghc CompileHs Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.debug_o
| Run Ghc CompileHs Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.o
| Run Ghc CompileHs Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.thr_p_o
| Run Cc (FindCDependencies CDep) Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.dyn_o.d
| Run Ghc CompileHs Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.dyn_o
| Run Cc (FindCDependencies CDep) Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.thr_o.d
| Run Ghc CompileHs Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.thr_debug_o
| Run Ghc CompileHs Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.thr_o
| Run Ghc CompileHs Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.debug_p_o
| Run Cc (FindCDependencies CDep) Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.p_o.d
| Run Ghc CompileHs Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.debug_dyn_o
| Run Ghc CompileHs Stage1: rts/PrimOps.cmm => _build/stage1/rts/build/cmm/PrimOps.p_o
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/Types.hs => _build/stage1/libraries/ghc-prim/build/GHC/Types.o
| Run GenPrimopCode: _build/stage1/compiler/build/primops.txt => _build/stage1/compiler/build/primop-tag.hs-incl
| Run Cc (FindCDependencies CDep) Stage1: rts/linker/LoadNativeObjPosix.c => _build/stage1/rts/build/c/linker/LoadNativeObjPosix.p_o.d
| Run Cc (FindCDependencies CDep) Stage1: compiler/cbits/cutils.c => _build/stage1/compiler/build/c/cbits/cutils.p_o.d
| Run Ghc CompileCWithGhc Stage1: rts/linker/LoadNativeObjPosix.c => _build/stage1/rts/build/c/linker/LoadNativeObjPosix.p_o
| Run Ghc CompileCWithGhc Stage1: compiler/cbits/cutils.c => _build/stage1/compiler/build/c/cbits/cutils.p_o
| Run Cc (FindCDependencies CDep) Stage1: compiler/cbits/keepCAFsForGHCi.c => _build/stage1/compiler/build/c/cbits/keepCAFsForGHCi.o.d
| Run Cc (FindCDependencies CDep) Stage1: compiler/cbits/genSym.c => _build/stage1/compiler/build/c/cbits/genSym.o.d
| Run Ghc FindHsDependencies Stage1: compiler/GHC.hs (and 751 more) => _build/stage1/compiler/.dependencies.mk
| Run Ghc CompileCWithGhc Stage1: compiler/cbits/genSym.c => _build/stage1/compiler/build/c/cbits/genSym.o
| Run Cc (FindCDependencies CDep) Stage1: compiler/cbits/cutils.c => _build/stage1/compiler/build/c/cbits/cutils.o.d
| Run Ghc CompileCWithGhc Stage1: compiler/cbits/cutils.c => _build/stage1/compiler/build/c/cbits/cutils.o
| Run Cc (FindCDependencies CDep) Stage1: compiler/cbits/keepCAFsForGHCi.c => _build/stage1/compiler/build/c/cbits/keepCAFsForGHCi.p_o.d
| Run Ghc CompileCWithGhc Stage1: compiler/cbits/keepCAFsForGHCi.c => _build/stage1/compiler/build/c/cbits/keepCAFsForGHCi.p_o
| Run Ghc CompileCWithGhc Stage1: compiler/cbits/keepCAFsForGHCi.c => _build/stage1/compiler/build/c/cbits/keepCAFsForGHCi.o
| Run Cc (FindCDependencies CDep) Stage1: compiler/cbits/genSym.c => _build/stage1/compiler/build/c/cbits/genSym.p_o.d
| Run Ghc CompileCWithGhc Stage1: compiler/cbits/genSym.c => _build/stage1/compiler/build/c/cbits/genSym.p_o
| Run Ghc CompileCWithGhc Stage1: rts/Arena.c => _build/stage1/rts/build/c/Arena.p_o
| Run Cc (FindCDependencies CDep) Stage1: rts/RtsSymbolInfo.c => _build/stage1/rts/build/c/RtsSymbolInfo.thr_debug_dyn_o.d
| Run Ghc CompileCWithGhc Stage1: rts/RtsSymbolInfo.c => _build/stage1/rts/build/c/RtsSymbolInfo.thr_debug_dyn_o
| Run Cc (FindCDependencies CDep) Stage1: rts/Arena.c => _build/stage1/rts/build/c/Arena.o.d
| Run Ghc CompileCWithGhc Stage1: rts/Arena.c => _build/stage1/rts/build/c/Arena.o
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/WordArray.hs => _build/stage1/libraries/ghc-bignum/build/GHC/Num/WordArray.p_o
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/BigNat.hs-boot => _build/stage1/libraries/ghc-bignum/build/GHC/Num/BigNat.p_o-boot
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Natural.hs-boot => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Natural.p_o-boot
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Integer.hs-boot => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Integer.p_o-boot
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Backend/GMP.hs => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Backend/GMP.p_o
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Backend/Selected.hs => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Backend/Selected.p_o
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Backend.hs => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Backend.p_o
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/BigNat.hs => _build/stage1/libraries/ghc-bignum/build/GHC/Num/BigNat.p_o
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Natural.hs => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Natural.p_o
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Integer.hs => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Integer.p_o
| Run Ghc FindHsDependencies Stage1: libraries/haskeline/System/Console/Haskeline.hs (and 26 more) => _build/stage1/libraries/haskeline/.dependencies.mk
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/Prim/PtrEq.hs => _build/stage1/libraries/ghc-prim/build/GHC/Prim/PtrEq.o
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/Prim/Ext.hs => _build/stage1/libraries/ghc-prim/build/GHC/Prim/Ext.o
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/Magic/Dict.hs => _build/stage1/libraries/ghc-prim/build/GHC/Magic/Dict.o
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/CString.hs => _build/stage1/libraries/ghc-prim/build/GHC/CString.o
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/Prim/Exception.hs => _build/stage1/libraries/ghc-prim/build/GHC/Prim/Exception.o
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/Magic.hs => _build/stage1/libraries/ghc-prim/build/GHC/Magic.o
| Remove file _build/stage1/libraries/haskeline/.dependencies.mk.bak
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/Tuple/Prim.hs => _build/stage1/libraries/ghc-prim/build/GHC/Tuple/Prim.o
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/Prim/Panic.hs => _build/stage1/libraries/ghc-prim/build/GHC/Prim/Panic.o
| 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
# cabal-autogen (for _build/stageBoot/utils/genapply/build/genapply/autogen/cabal_macros.h)
| Run Ghc FindHsDependencies (Stage0 GlobalLibs): utils/genapply/Main.hs => _build/stageBoot/utils/genapply/.dependencies.mk
| Remove file _build/stageBoot/utils/genapply/.dependencies.mk.bak
| Run Ghc CompileHs (Stage0 GlobalLibs): utils/genapply/Main.hs => _build/stageBoot/utils/genapply/build/Main.o
| Run Cc (FindCDependencies CDep) Stage1: rts/linker/elf_tlsgd.c => _build/stage1/rts/build/c/linker/elf_tlsgd.dyn_o.d
| Run Ghc CompileCWithGhc Stage1: rts/linker/elf_tlsgd.c => _build/stage1/rts/build/c/linker/elf_tlsgd.dyn_o
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/Tuple.hs => _build/stage1/libraries/ghc-prim/build/GHC/Tuple.o
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/Classes.hs => _build/stage1/libraries/ghc-prim/build/GHC/Classes.o

utils/genapply/Main.hs:18:1: warning: [-Wunused-imports]
    The import of ‘System.Exit’ is redundant
      except perhaps to import instances from ‘System.Exit’
    To import instances alone, use: import System.Exit()
   |
18 | import System.Exit
   | ^^^^^^^^^^^^^^^^^^

utils/genapply/Main.hs:20:1: warning: [-Wunused-imports]
    The import of ‘System.IO’ is redundant
      except perhaps to import instances from ‘System.IO’
    To import instances alone, use: import System.IO()
   |
20 | import System.IO
   | ^^^^^^^^^^^^^^^^

utils/genapply/Main.hs:81:65: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ‘[String]’ not matched:
            []
            [_]
            (_:_:_:_)
   |
81 |   let tups = [ (k, read v) | '/':'/':' ':l <- lines header, let [k, v] = words l ]
   |                                                                 ^^^^^^^^^^^^^^^^

utils/genapply/Main.hs:82:28: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ‘Maybe Int’ not matched: Nothing
   |
82 |       tups_get k = v where Just v = lookup k tups
   |                            ^^^^^^^^^^^^^^^^^^^^^^

utils/genapply/Main.hs:445:24: warning: [-Wunused-matches]
    Defined but not used: ‘reg’
    |
445 |                       (reg, fst_off):_ -> fst_off
    |                        ^^^
| Run Ghc LinkHs (Stage0 GlobalLibs): _build/stageBoot/utils/genapply/build/Main.o => _build/stageBoot/bin/genapply
/------------------------------------------------------------\
| Successfully built program 'genapply' (Stage0 GlobalLibs). |
| Executable: _build/stageBoot/bin/genapply                  |
| Program synopsis: Generate the application closures.       |
\------------------------------------------------------------/
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Primitives.hs => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Primitives.o
| Run GenApply: _build/stage1/rts/build/include/DerivedConstants.h => _build/stage1/rts/build/cmm/AutoApply.cmm
| Run Cc (FindCDependencies CDep) Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.thr_dyn_o.d
| Run Cc (FindCDependencies CDep) Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.thr_p_o.d
| Run Cc (FindCDependencies CDep) Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.thr_debug_dyn_o.d
| Run Cc (FindCDependencies CDep) Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.thr_debug_p_o.d
| Run Cc (FindCDependencies CDep) Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.o.d
| Run Cc (FindCDependencies CDep) Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.p_o.d
| Run Ghc CompileHs Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.p_o
| Run Ghc CompileHs Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.thr_p_o
| Run Cc (FindCDependencies CDep) Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.debug_p_o.d
| Run Ghc CompileHs Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.debug_p_o
| Run Ghc CompileHs Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.thr_debug_p_o
| Remove file _build/stage1/compiler/.dependencies.mk.bak
| 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 Cc (FindCDependencies CDep) Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.thr_debug_o.d
| Run Cc (FindCDependencies CDep) Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.debug_o.d
| Run Ghc CompileHs Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.thr_debug_dyn_o
| Run Ghc CompileHs Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.thr_debug_o
| Run Ghc CompileHs Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.o
| Run Ghc CompileHs Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.debug_o
| Run Ghc CompileHs Stage1: compiler/GHC/Tc/Types/LclEnv.hs-boot => _build/stage1/compiler/build/GHC/Tc/Types/LclEnv.o-boot
| Run Ghc CompileHs Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.thr_dyn_o
| Run Ghc CompileHs Stage1: compiler/GHC/Tc/Errors/Hole/Plugin.hs-boot => _build/stage1/compiler/build/GHC/Tc/Errors/Hole/Plugin.p_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: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.thr_o.d
| Run Ghc CompileHs Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.thr_o
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/WordArray.hs => _build/stage1/libraries/ghc-bignum/build/GHC/Num/WordArray.o
| Run Ghc CompileHs Stage1: _build/stage1/libraries/ghc-prim/build/GHC/PrimopWrappers.hs => _build/stage1/libraries/ghc-prim/build/GHC/PrimopWrappers.o
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/BigNat.hs-boot => _build/stage1/libraries/ghc-bignum/build/GHC/Num/BigNat.o-boot
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Natural.hs-boot => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Natural.o-boot
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Integer.hs-boot => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Integer.o-boot
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Backend/GMP.hs => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Backend/GMP.o
| Run Ghc CompileHs Stage1: libraries/ghc-prim/GHC/Debug.hs => _build/stage1/libraries/ghc-prim/build/GHC/Debug.o
| Run Cc (FindCDependencies CDep) Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.dyn_o.d
| Run Ghc CompileHs Stage1: compiler/GHC/Tc/Errors/Hole/Plugin.hs-boot => _build/stage1/compiler/build/GHC/Tc/Errors/Hole/Plugin.o-boot
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Backend/Selected.hs => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Backend/Selected.o
| Run Ghc CompileHs Stage1: _build/stage1/rts/build/cmm/AutoApply.cmm => _build/stage1/rts/build/cmm/AutoApply.dyn_o
| Run Ghc CompileHs Stage1: compiler/GHC/Utils/Containers/Internal/StrictPair.hs => _build/stage1/compiler/build/GHC/Utils/Containers/Internal/StrictPair.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/ghc/work/ghc-9.8.4/_build/stage1/compiler/build -i/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/_build/stage1/compiler/build/autogen -i/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/compiler -Irts/include -I_build/stage1/compiler/build -I_build/stage1/compiler/build/. -Icompiler/. -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/libraries/process/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/_build/stage1/libraries/process/build/include -I/usr/local/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/libraries/directory -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/_build/stage1/libraries/directory/build -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/libraries/unix/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/_build/stage1/libraries/unix/build/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/libraries/time/lib/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/_build/stage1/libraries/time/buil
d/lib/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/libraries/containers/containers/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/_build/stage1/libraries/containers/containers/build/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/libraries/bytestring/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/_build/stage1/libraries/bytestring/build/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/libraries/base/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/_build/stage1/libraries/base/build/include -I/usr/local/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/libraries/ghc-bignum/include/ -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/_build/stage1/libraries/ghc-bignum/build/include/ -I/usr/local/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/rts/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.8.4/_build/stage1/rts/build/include -optP-include -optP_build/stage1/compiler/build/autogen/cabal_macros.h -optc--target=x86_64-portbld-freebsd -optc-Q
unused-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/ghc/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.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’.
    There are files missing in the ‘ghc-bignum-1.3’ package,
    try running 'ghc-pkg check'.
    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/ghc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68e46f8b.14a0.49d27c38>