[package - main-armv7-default][lang/ghc] Failed for ghc-9.2.5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 16 Nov 2022 19:09:51 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-armv7-default/p97fda7e3a598_se7fe037310/logs/ghc-9.2.5.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p97fda7e3a598_se7fe037310
Log:

=>> Building lang/ghc
build started at Wed Nov 16 08:44:23 UTC 2022
port directory: /usr/ports/lang/ghc
package name: ghc-9.2.5
building for: FreeBSD main-armv7-default-job-05 14.0-CURRENT FreeBSD 14.0-CURRENT 1400073 arm
maintained by: haskell@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400073
Job Id: 05

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400073
UNAME_v=FreeBSD 14.0-CURRENT 1400073
UNAME_r=14.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-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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 ghc-9.2.5:
     DOCS=on: Install HTML documentation
     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=armv7-unknown-freebsd-gnueabihf --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
GHC=/wrkdirs/usr/ports/lang/ghc/work/ghc-8.10.7-boot/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" 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.71 CMAKE_PREFIX_PATH="/usr/local" 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/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.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 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "
   MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
CABAL_VERSION=3.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.3.1 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.5 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 PORTDOCS="" BOOT="@comment " NO_BOOT="" DOCS="" NO_DOCS="@comment " DYNAMIC="" NO_DYNAMIC="@comment " GMP="" NO_GMP="@comment " PROFILE="" NO_PROFILE="@comment " PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTH
 ON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  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.32 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 " PROFILE="" NO_PROFILE="@comment " 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 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd14.0-gnueabihf 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 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400073
PYTHONBASE=/usr/local
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)  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)  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    >============================
===>   ghc-9.2.5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[main-armv7-default-job-05] Installing pkg-1.18.4...
[main-armv7-default-job-05] Extracting pkg-1.18.4: .......... done
===>   ghc-9.2.5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ghc-9.2.5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc-9.2.5 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc-9.2.5 for building
=> SHA256 Checksum OK for ghc-9.2.5-src.tar.xz.
=> SHA256 Checksum OK for ghc-8.10.7-boot-armv7-freebsd.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc-9.2.5 for building
===>  Extracting for ghc-9.2.5
=> SHA256 Checksum OK for ghc-9.2.5-src.tar.xz.
=> SHA256 Checksum OK for ghc-8.10.7-boot-armv7-freebsd.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===>   ghc-9.2.5 depends on file: /usr/local/bin/iconv - not found
===>   Installing existing package /packages/All/libiconv-1.17.pkg
[main-armv7-default-job-05] Installing libiconv-1.17...
[main-armv7-default-job-05] Extracting libiconv-1.17: .......... done
===>   ghc-9.2.5 depends on file: /usr/local/bin/iconv - found
===>   Returning to build of ghc-9.2.5
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ghc-9.2.5
===>  Applying FreeBSD patches for ghc-9.2.5 from /usr/ports/lang/ghc/files
/bin/rm -f -f /wrkdirs/usr/ports/lang/ghc/work/ghc-9.2.5/mk/build.mk
<snip>
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at compiler/GHC/Unit/Types.hs:120:1
Warning: 'FieldSelector' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'ModIface' is ambiguous. It is defined
    * at compiler/GHC/Unit/Module/ModIface.hs:148:5
    * at compiler/GHC/Unit/Module/ModIface.hs:75:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at compiler/GHC/Unit/Module/ModIface.hs:147:1
Warning: 'tcIfaceGlobal' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'tcLookup' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'ArgDocMaps' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'RealSrcLoc' is ambiguous. It is defined
    * at compiler/GHC/Types/SrcLoc.hs:229:5
    * at compiler/GHC/Types/SrcLoc.hs:147:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at compiler/GHC/Types/SrcLoc.hs:228:1
Warning: 'pprInfixExp' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'op' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Type' is ambiguous. It is defined
    * at compiler/GHC/Core/TyCo/Rep.hs:120:1
    * in ‘Language.Haskell.TH.Syntax’
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at compiler/GHC/Core/TyCo/Rep.hs:120:1
Warning: 'DynFlags' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Module' is ambiguous. It is defined
    * at compiler/GHC/Unit/Types.hs:113:23
    * at compiler/GHC/Unit/Types.hs:120:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at compiler/GHC/Unit/Types.hs:120:1
Warning: 'ModIface' is ambiguous. It is defined
    * at compiler/GHC/Unit/Module/ModIface.hs:148:5
    * at compiler/GHC/Unit/Module/ModIface.hs:75:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at compiler/GHC/Unit/Module/ModIface.hs:147:1
Warning: 'actual' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'tcRnSrcDecls' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'KindRep' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'max_depth' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'force' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'a' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'rnConDecl' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'rnClsIntDecl' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'rnSrcDerivDecl' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'renameSig' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'x' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'static' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'ExpandSynsFail' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Typeable' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'splitPiTys'' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'TcM' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'tcPluginInit' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'tcPluginStop' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'vi_ty' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'dsGetCompleteMatches' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'DsM' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'MatchGroup' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Match' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'GRHSs' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'GRHS' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'CIRB' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'maxPmCheckModels' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'subordinate'' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'official'' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Ix' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Data' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'System' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Rep1' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Generic' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Data' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Lift' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'wanted' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'qualified' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'b' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'checkCanonicalMonadInstances' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'checkCanonicalMonoidInstances' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'tcs' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'returnName' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'pureName' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'ModIface' is ambiguous. It is defined
    * at compiler/GHC/Unit/Module/ModIface.hs:148:5
    * at compiler/GHC/Unit/Module/ModIface.hs:75:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at compiler/GHC/Unit/Module/ModIface.hs:147:1
Warning: 'tcInferRho' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'inferInitialKind' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'forall' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Constraint' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'tcPat' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'ModIface' is ambiguous. It is defined
    * at compiler/GHC/Unit/Module/ModIface.hs:148:5
    * at compiler/GHC/Unit/Module/ModIface.hs:75:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at compiler/GHC/Unit/Module/ModIface.hs:147:1
Warning: 'rnIfaceDecl' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Typeable' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'version' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'ModIface' is ambiguous. It is defined
    * at compiler/GHC/Unit/Module/ModIface.hs:148:5
    * at compiler/GHC/Unit/Module/ModIface.hs:75:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at compiler/GHC/Unit/Module/ModIface.hs:147:1
Warning: 'TcM' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'decideBangHood' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'mkDataConCase' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'addPmCtsNablas' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'PmCt' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'inhabitationCandidates' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Type' is ambiguous. It is defined
    * at compiler/GHC/Core.hs:264:5
    * at compiler/GHC/Core/TyCo/Rep.hs:120:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at compiler/GHC/Core.hs:254:1
Warning: 'PredTy' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'PmCoreCt' is out ohaddock: out of memory (requested 1048576 bytes)
gmake[2]: *** [compiler/ghc.mk:290: compiler/stage2/doc/html/ghc/ghc.haddock] Error 251
gmake[1]: *** [Makefile:128: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/ghc/work/ghc-9.2.5'
===> 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/ghc