[package - main-amd64-default][lang/ghc92] Failed for ghc92-9.2.8 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 26 Aug 2023 17:58:04 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/beefy18/data/main-amd64-default/p157c391cc1f5_s023ef8015e/logs/ghc92-9.2.8.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p157c391cc1f5_s023ef8015e
Log:

=>> Building lang/ghc92
build started at Sat Aug 26 16:32:38 UTC 2023
port directory: /usr/ports/lang/ghc92
package name: ghc92-9.2.8
building for: FreeBSD main-amd64-default-job-13 15.0-CURRENT FreeBSD 15.0-CURRENT 1500000 amd64
maintained by: haskell@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1500000
Job Id: 13




!!! Jail is newer than host. (Jail: 1500000, Host: 1400089) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500000
UNAME_v=FreeBSD 15.0-CURRENT 1500000
UNAME_r=15.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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for ghc92-9.2.8:
     DYNAMIC=on: Add support for dynamic linking
     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--
--with-gmp-includes=/usr/local/include  --with-gmp-libraries=/usr/local/lib --docdir=/usr/local/share/doc/ghc  --with-system-libffi --with-ffi-includes=/usr/local/include --with-ffi-libraries=/usr/local/lib --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ALEX=/usr/bin/true HAPPY=/usr/bin/true GHC=/wrkdirs/usr/ports/lang/ghc92/work/ghc-boot-install/bin/ghc-8.10.7 LLC=llc10 OPT=opt10 MAKE=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.9" CC=cc CXX=c++ XDG_DATA_HOME=/wrkdirs/usr/ports/lang/ghc92/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ghc92/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ghc92/work/.cache  HOME=/wrkdirs/usr/ports/lang/ghc92/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ghc92/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ghc92/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 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/ghc92/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ghc92/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ghc92/work/.cache  HOME=/wrkdirs/usr/ports/lang/ghc92/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ghc92/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ghc92/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.71 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  B
SD_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.6.3.0 ARRAY_VERSION=0.5.4.0 BASE_VERSION=4.16.4.0 BINARY_VERSION=0.8.9.0 BYTESTRING_VERSION=0.11.4.0 CONTAINERS_VERSION=0.6.5.1 DEEPSEQ_VERSION=1.4.6.1 DIRECTORY_VERSION=1.3.6.2 EXCEPTIONS_VERSION=0.10.4 FILEPATH_VERSION=1.4.2.2 GHC_VERSION=9.2.8 GHC-BIGNUM_VERSION=1.2 GHC-COMPACT_VERSION=0.1.0.0 GHC-PRIM_VERSION=0.8.0 HASKELINE_VERSION=0.8.2 HPC_VERSION=0.6.1.0 INTEGER-GMP_VERSION=1.1 MTL_VERSION=2.2.2 PARSEC_VERSION=3.1.15.0 PRETTY_VERSION=1.3.3.6 PROCESS_VERSION=1.6.16.0 STM_VERSION=2.5.0.2 TEMPLATE-HASKELL_VERSION=2.18.0.0 TERMINFO_VERSION=0.4.1.5 TEXT_VERSION=1.2.5.0 TIME_VERSION=1.11.1.1 TRANSFORMERS_VERSION=0.5.6.2 UNIX_VERSION=2.7.2.2 XHTML_VERSION=3000.2.2.1 BOOT="@comment " NO_BOOT="" DYNAMIC="" NO_DYNAMIC="@comment " PROFILE="" NO_PROFILE="@comment " PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3
.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" GMP= OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.34.1  PERL_VER=5.34  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.34 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 " PROFILE="" NO_PROFILE="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 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
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=15.0-CURRENT
OSREL=15.0
OSVERSION=1500000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1024
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
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ghc92-9.2.8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.6.pkg
[main-amd64-default-job-13] Installing pkg-1.20.6...
[main-amd64-default-job-13] Extracting pkg-1.20.6: .......... done
===>   ghc92-9.2.8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ghc92-9.2.8
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc92-9.2.8 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc92-9.2.8 for building
=> SHA256 Checksum OK for ghc-9.2.8-src.tar.xz.
=> SHA256 Checksum OK for ghc-8.10.7-boot-amd64-freebsd.tar.xz.
=> SHA256 Checksum OK for hadrian-9.2.8-boot.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc92-9.2.8 for building
===>  Extracting for ghc92-9.2.8
=> SHA256 Checksum OK for ghc-9.2.8-src.tar.xz.
=> SHA256 Checksum OK for ghc-8.10.7-boot-amd64-freebsd.tar.xz.
=> SHA256 Checksum OK for hadrian-9.2.8-boot.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
<snip>
| Run Ghc CompileHs Stage1: compiler/GHC/HsToCore.hs => _build/stage1/compiler/build/GHC/HsToCore.p_o
| Run Ghc CompileHs Stage1: compiler/GHC/StgToCmm/Prof.hs => _build/stage1/compiler/build/GHC/StgToCmm/Prof.o
| Run Ghc CompileHs Stage1: compiler/GHC/Driver/Main.hs => _build/stage1/compiler/build/GHC/Driver/Main.p_o
| Run Ghc CompileHs Stage1: compiler/GHC/StgToCmm/Foreign.hs => _build/stage1/compiler/build/GHC/StgToCmm/Foreign.o
| Run Ghc CompileHs Stage1: compiler/GHC/Cmm/LayoutStack.hs => _build/stage1/compiler/build/GHC/Cmm/LayoutStack.o
| Run Ghc CompileHs Stage1: compiler/GHC/StgToCmm/Heap.hs => _build/stage1/compiler/build/GHC/StgToCmm/Heap.o
| Run Ghc CompileHs Stage1: compiler/GHC/StgToCmm/Prim.hs => _build/stage1/compiler/build/GHC/StgToCmm/Prim.o
| Run Ghc CompileHs Stage1: compiler/GHC/Driver/Pipeline.hs => _build/stage1/compiler/build/GHC/Driver/Pipeline.p_o
| Run Ghc CompileHs Stage1: compiler/GHC/Cmm/Info/Build.hs => _build/stage1/compiler/build/GHC/Cmm/Info/Build.o
| Run Ghc CompileHs Stage1: compiler/GHC/Runtime/Eval.hs => _build/stage1/compiler/build/GHC/Runtime/Eval.p_o
| Run Ghc CompileHs Stage1: compiler/GHC/StgToCmm/DataCon.hs => _build/stage1/compiler/build/GHC/StgToCmm/DataCon.o
| Run Ghc CompileHs Stage1: compiler/GHC/Tc/Gen/Splice.hs => _build/stage1/compiler/build/GHC/Tc/Gen/Splice.p_o
| Run Ghc CompileHs Stage1: compiler/GHC/StgToCmm/Expr.hs => _build/stage1/compiler/build/GHC/StgToCmm/Expr.o
| Run Ghc CompileHs Stage1: compiler/GHC/Cmm/Pipeline.hs => _build/stage1/compiler/build/GHC/Cmm/Pipeline.o
| Run Ghc CompileHs Stage1: compiler/GHC/Driver/Make.hs => _build/stage1/compiler/build/GHC/Driver/Make.p_o
| Run Ghc CompileHs Stage1: compiler/GHC/StgToCmm/Bind.hs => _build/stage1/compiler/build/GHC/StgToCmm/Bind.o
| Run Ghc CompileHs Stage1: compiler/GHC/StgToCmm.hs => _build/stage1/compiler/build/GHC/StgToCmm.o
| Run Ghc CompileHs Stage1: compiler/GHC/Cmm/Parser.hs => _build/stage1/compiler/build/GHC/Cmm/Parser.o
| Run Ghc CompileHs Stage1: compiler/GHC.hs => _build/stage1/compiler/build/GHC.p_o
| Run Ghc CompileHs Stage1: compiler/GHC/Driver/Main.hs => _build/stage1/compiler/build/GHC/Driver/Main.o
| Run Ghc CompileHs Stage1: compiler/GHC/Driver/Backpack.hs => _build/stage1/compiler/build/GHC/Driver/Backpack.p_o
| Run Ghc CompileHs Stage1: compiler/GHC/Runtime/Debugger.hs => _build/stage1/compiler/build/GHC/Runtime/Debugger.p_o
| Run Ghc CompileHs Stage1: compiler/GHC/Driver/MakeFile.hs => _build/stage1/compiler/build/GHC/Driver/MakeFile.p_o
| Remove file _build/stage1/libraries/Cabal/Cabal/build/libHSCabal-3.6.3.0.a
| Run Ar Pack Stage1: _build/stage1/libraries/Cabal/Cabal/build/Distribution/Backpack.o (and 246 more) => _build/stage1/libraries/Cabal/Cabal/build/libHSCabal-3.6.3.0.a
ar: warning: creating _build/stage1/libraries/Cabal/Cabal/build/libHSCabal-3.6.3.0.a
/-------------------------------------------------------------------------\
| Successfully built library 'Cabal' (Stage1, way v).                     |
| Library: _build/stage1/libraries/Cabal/Cabal/build/libHSCabal-3.6.3.0.a |
| Library synopsis: A framework for packaging Haskell software.           |
\-------------------------------------------------------------------------/
| Run Ghc LinkHs Stage1: _build/stage1/libraries/Cabal/Cabal/build/Distribution/Backpack.dyn_o (and 246 more) => _build/stage1/libraries/Cabal/Cabal/build/libHSCabal-3.6.3.0-ghc9.2.8.so
Warning: -rtsopts and -with-rtsopts have no effect with -shared.
    Call hs_init_ghc() from your main() function to set these options.
| Copy package 'Cabal'
# cabal-copy (for _build/stage1/lib/package.conf.d/Cabal-3.6.3.0.conf)
| Register package 'Cabal'
# cabal-register (for _build/stage1/lib/package.conf.d/Cabal-3.6.3.0.conf)
| Configure package 'ghc-pkg'
# cabal-configure (for _build/stage1/utils/ghc-pkg/setup-config)
| Run Ghc CompileHs Stage1: compiler/GHC/Driver/Pipeline.hs => _build/stage1/compiler/build/GHC/Driver/Pipeline.o
| Run Ghc CompileHs Stage1: compiler/GHC/Tc/Gen/Splice.hs => _build/stage1/compiler/build/GHC/Tc/Gen/Splice.o
# cabal-autogen (for _build/stage1/utils/ghc-pkg/build/ghc-pkg/autogen/cabal_macros.h)
| Run Ghc FindHsDependencies Stage1: utils/ghc-pkg/Main.hs => _build/stage1/utils/ghc-pkg/.dependencies.mk
| Remove file _build/stage1/utils/ghc-pkg/.dependencies.mk.bak
| Run Ghc CompileHs Stage1: compiler/GHC/Runtime/Eval.hs => _build/stage1/compiler/build/GHC/Runtime/Eval.o
| Run Ghc CompileHs Stage1: compiler/GHC/Driver/Make.hs => _build/stage1/compiler/build/GHC/Driver/Make.o
| Run Ghc CompileHs Stage1: utils/ghc-pkg/Main.hs => _build/stage1/utils/ghc-pkg/build/Main.o
| Run Ghc CompileHs Stage1: compiler/GHC.hs => _build/stage1/compiler/build/GHC.o
| Run Ghc LinkHs Stage1: _build/stage1/utils/ghc-pkg/build/Main.dyn_o => _build/stage1/bin/ghc-pkg
/---------------------------------------------------------------------------------\
| Successfully built program 'ghc-pkg' (Stage1).                                  |
| Executable: _build/stage1/bin/ghc-pkg                                           |
| Program synopsis: A utility for querying and managing the GHC package database. |
\---------------------------------------------------------------------------------/
| Remove file _build/stage1/compiler/build/libHSghc-9.2.8_p.a
| Run Ar Pack Stage1: _build/stage1/compiler/build/c/cbits/cutils.p_o (and 581 more) => _build/stage1/compiler/build/libHSghc-9.2.8_p.a
ar: warning: creating _build/stage1/compiler/build/libHSghc-9.2.8_p.a
/----------------------------------------------------------\
| Successfully built library 'ghc' (Stage1, way p).        |
| Library: _build/stage1/compiler/build/libHSghc-9.2.8_p.a |
| Library synopsis: The GHC API.                           |
\----------------------------------------------------------/
| Run Ghc CompileHs Stage1: compiler/GHC/Driver/Backpack.hs => _build/stage1/compiler/build/GHC/Driver/Backpack.o
| Run Ghc CompileHs Stage1: compiler/GHC/Runtime/Debugger.hs => _build/stage1/compiler/build/GHC/Runtime/Debugger.o
| Run Ghc CompileHs Stage1: compiler/GHC/Driver/MakeFile.hs => _build/stage1/compiler/build/GHC/Driver/MakeFile.o
| Remove file _build/stage1/compiler/build/libHSghc-9.2.8.a
| Run Ar Pack Stage1: _build/stage1/compiler/build/c/cbits/cutils.o (and 581 more) => _build/stage1/compiler/build/libHSghc-9.2.8.a
| Run Ghc LinkHs Stage1: _build/stage1/compiler/build/c/cbits/cutils.dyn_o (and 581 more) => _build/stage1/compiler/build/libHSghc-9.2.8-ghc9.2.8.so
ar: warning: creating _build/stage1/compiler/build/libHSghc-9.2.8.a
Warning: -rtsopts and -with-rtsopts have no effect with -shared.
    Call hs_init_ghc() from your main() function to set these options.
/--------------------------------------------------------\
| Successfully built library 'ghc' (Stage1, way v).      |
| Library: _build/stage1/compiler/build/libHSghc-9.2.8.a |
| Library synopsis: The GHC API.                         |
\--------------------------------------------------------/
| Copy package 'ghc'
# cabal-copy (for _build/stage1/lib/package.conf.d/ghc-9.2.8.conf)
| Register package 'ghc'
# cabal-register (for _build/stage1/lib/package.conf.d/ghc-9.2.8.conf)
| Configure package 'ghc-bin'
| Configure package 'haddock'
# cabal-configure (for _build/stage1/ghc/setup-config)
# cabal-configure (for _build/stage1/utils/haddock/setup-config)
| Run Cc (FindCDependencies CDep) Stage1: ghc/hschooks.c => _build/stage1/ghc/build/c/hschooks.dyn_o.d
# cabal-autogen (for _build/stage1/ghc/build/ghc/autogen/cabal_macros.h)
| Run Ghc CompileCWithGhc Stage1: ghc/hschooks.c => _build/stage1/ghc/build/c/hschooks.dyn_o
# cabal-autogen (for _build/stage1/utils/haddock/build/haddock/autogen/cabal_macros.h)
| Run Ghc FindHsDependencies Stage1: ghc/GHCi/Leak.hs (and 6 more) => _build/stage1/ghc/.dependencies.mk
| Run Ghc FindHsDependencies Stage1: utils/haddock/haddock-library/src/CompatPrelude.hs (and 50 more) => _build/stage1/utils/haddock/.dependencies.mk
| Remove file _build/stage1/ghc/.dependencies.mk.bak
| Run Ghc CompileHs Stage1: ghc/GHCi/Util.hs => _build/stage1/ghc/build/GHCi/Util.o
| Run Ghc CompileHs Stage1: ghc/GHCi/UI/Info.hs => _build/stage1/ghc/build/GHCi/UI/Info.o
| Remove file _build/stage1/utils/haddock/.dependencies.mk.bak
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Hyperlinker/Types.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Hyperlinker/Types.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-library/src/Documentation/Haddock/Types.hs => _build/stage1/utils/haddock/build/Documentation/Haddock/Types.o
| Run Ghc CompileHs Stage1: _build/stage1/utils/haddock/build/haddock/autogen/Paths_haddock.hs => _build/stage1/utils/haddock/build/Paths_haddock.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Version.hs => _build/stage1/utils/haddock/build/Haddock/Version.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Xhtml/Types.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Xhtml/Types.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Utils/Json/Types.hs => _build/stage1/utils/haddock/build/Haddock/Utils/Json/Types.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-library/src/CompatPrelude.hs => _build/stage1/utils/haddock/build/CompatPrelude.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Utils/Json/Parser.hs => _build/stage1/utils/haddock/build/Haddock/Utils/Json/Parser.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Syb.hs => _build/stage1/utils/haddock/build/Haddock/Syb.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Utils/Json.hs => _build/stage1/utils/haddock/build/Haddock/Utils/Json.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-library/src/Documentation/Haddock/Doc.hs => _build/stage1/utils/haddock/build/Documentation/Haddock/Doc.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-library/src/Documentation/Haddock/Parser/Monad.hs => _build/stage1/utils/haddock/build/Documentation/Haddock/Parser/Monad.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-library/src/Documentation/Haddock/Parser/Util.hs => _build/stage1/utils/haddock/build/Documentation/Haddock/Parser/Util.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Xhtml/Meta.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Xhtml/Meta.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-library/src/Documentation/Haddock/Parser/Identifier.hs => _build/stage1/utils/haddock/build/Documentation/Haddock/Parser/Identifier.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/HaddockDB.hs => _build/stage1/utils/haddock/build/Haddock/Backends/HaddockDB.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Types.hs => _build/stage1/utils/haddock/build/Haddock/Types.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-library/src/Documentation/Haddock/Markup.hs => _build/stage1/utils/haddock/build/Documentation/Haddock/Markup.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-library/src/Documentation/Haddock/Parser.hs => _build/stage1/utils/haddock/build/Documentation/Haddock/Parser.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/ModuleTree.hs => _build/stage1/utils/haddock/build/Haddock/ModuleTree.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/GhcUtils.hs => _build/stage1/utils/haddock/build/Haddock/GhcUtils.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Interface/Specialize.hs => _build/stage1/utils/haddock/build/Haddock/Interface/Specialize.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Interface/Rename.hs => _build/stage1/utils/haddock/build/Haddock/Interface/Rename.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Utils.hs => _build/stage1/utils/haddock/build/Haddock/Utils.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Doc.hs => _build/stage1/utils/haddock/build/Haddock/Doc.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Xhtml/Utils.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Xhtml/Utils.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Options.hs => _build/stage1/utils/haddock/build/Haddock/Options.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Hoogle.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Hoogle.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Xhtml/Themes.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Xhtml/Themes.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Parser.hs => _build/stage1/utils/haddock/build/Haddock/Parser.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Interface/ParseModuleHeader.hs => _build/stage1/utils/haddock/build/Haddock/Interface/ParseModuleHeader.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Xhtml/Names.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Xhtml/Names.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Interface/LexParseRn.hs => _build/stage1/utils/haddock/build/Haddock/Interface/LexParseRn.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Xhtml/DocMarkup.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Xhtml/DocMarkup.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Hyperlinker/Parser.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Xhtml/Layout.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Xhtml/Layout.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Hyperlinker/Utils.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Hyperlinker/Utils.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Xhtml/Decl.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Hyperlinker/Renderer.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Hyperlinker/Renderer.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/LaTeX.hs => _build/stage1/utils/haddock/build/Haddock/Backends/LaTeX.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Xhtml.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Xhtml.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Backends/Hyperlinker.hs => _build/stage1/utils/haddock/build/Haddock/Backends/Hyperlinker.o
| Run Ghc CompileHs Stage1: ghc/GHCi/UI/Monad.hs => _build/stage1/ghc/build/GHCi/UI/Monad.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Convert.hs => _build/stage1/utils/haddock/build/Haddock/Convert.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Interface/Create.hs => _build/stage1/utils/haddock/build/Haddock/Interface/Create.o
| Run Ghc CompileHs Stage1: ghc/GHCi/UI/Tags.hs => _build/stage1/ghc/build/GHCi/UI/Tags.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Interface/AttachInstances.hs => _build/stage1/utils/haddock/build/Haddock/Interface/AttachInstances.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/InterfaceFile.hs => _build/stage1/utils/haddock/build/Haddock/InterfaceFile.o
| Run Ghc CompileHs Stage1: ghc/GHCi/Leak.hs => _build/stage1/ghc/build/GHCi/Leak.o
| Run Ghc CompileHs Stage1: ghc/GHCi/UI.hs => _build/stage1/ghc/build/GHCi/UI.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Interface/Json.hs => _build/stage1/utils/haddock/build/Haddock/Interface/Json.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock/Interface.hs => _build/stage1/utils/haddock/build/Haddock/Interface.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Haddock.hs => _build/stage1/utils/haddock/build/Haddock.o
| Run Ghc CompileHs Stage1: utils/haddock/haddock-api/src/Documentation/Haddock.hs => _build/stage1/utils/haddock/build/Documentation/Haddock.o
| Run Ghc CompileHs Stage1: utils/haddock/driver/Main.hs => _build/stage1/utils/haddock/build/Main.o
| Run Ghc LinkHs Stage1: _build/stage1/utils/haddock/build/Main.dyn_o (and 50 more) => _build/stage1/bin/haddock
/--------------------------------------------------------------------------\
| Successfully built program 'haddock' (Stage1).                           |
| Executable: _build/stage1/bin/haddock                                    |
| Program synopsis: A documentation-generation tool for Haskell libraries. |
\--------------------------------------------------------------------------/
| Run Ghc CompileHs Stage1: ghc/Main.hs => _build/stage1/ghc/build/Main.o
| Run Ghc LinkHs Stage1: _build/stage1/ghc/build/c/hschooks.dyn_o (and 7 more) => _build/stage1/bin/ghc
/----------------------------------------------------------\
| Successfully built program 'ghc-bin' (Stage1).           |
| Executable: _build/stage1/bin/ghc                        |
| Program synopsis: The Glorious Glasgow Haskell Compiler. |
\----------------------------------------------------------/
| Create directory _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd
| Create directory _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin
| Create directory _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/lib
| Copy file: _build/stage1/bin/ghc => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-9.2.8
| Copy file: _build/stage1/bin/ghc-pkg => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-pkg-9.2.8
| Copy file: _build/stage1/bin/hp2ps => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/hp2ps-ghc-9.2.8
| Copy file: _build/stage1/bin/hsc2hs => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/hsc2hs-ghc-9.2.8
| Copy file: _build/stage1/lib/bin/unlit => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/unlit-ghc-9.2.8
| Copy file: _build/stage1/bin/haddock => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/haddock-ghc-9.2.8
| Copy file: _build/stage1/bin/hpc => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/hpc-ghc-9.2.8
| Copy file: _build/stage1/lib/bin/ghc-iserv-dyn => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-iserv-dyn-ghc-9.2.8
| Copy file: _build/stage1/bin/runghc => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/runghc-9.2.8
| Copy file: _build/stage1/lib/bin/ghc-iserv => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-iserv-ghc-9.2.8
| Copy file: _build/stage1/lib/bin/ghc-iserv-prof => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-iserv-prof-ghc-9.2.8
| Copy file: _build/stage1/lib/bin/ghc-iserv-dyn => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-iserv-dyn-ghc-9.2.8
| Copy directory: _build/stage1/lib => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd
| Copy directory: _build/stage1/lib/x86_64-freebsd-ghc-9.2.8/rts-1.0.2/include => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd
# ghc-pkg (for binary-dist-dir)
Error when running Shake build system:
  at want, called at src/Main.hs:104:30 in main:Main
* Depends on: binary-dist-dir
  at cmd_, called at src/Rules/BinaryDist.hs:204:9 in main:Rules.BinaryDist
* Raised the exception:
Development.Shake.cmd, system command failed
Command line: _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-pkg recache
Exit code: -12
Stderr:



===> 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 in /usr/ports/lang/ghc92