[package - main-armv6-default][lang/ghc810] Failed for ghc810-8.10.7 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 20 Jul 2022 00:32:23 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:        http://beefy8.nyi.freebsd.org/data/main-armv6-default/p7f2c0ee00df8_scefe58791b/logs/ghc810-8.10.7.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=main-armv6-default&build=p7f2c0ee00df8_scefe58791b
Log:

=>> Building lang/ghc810
build started at Tue Jul 19 07:40:43 UTC 2022
port directory: /usr/ports/lang/ghc810
package name: ghc810-8.10.7
building for: FreeBSD main-armv6-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400063 arm
maintained by: haskell@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1400063
Job Id: 03

---Begin Environment---
SHELL=/bin/sh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400063
UNAME_v=FreeBSD 14.0-CURRENT 1400063
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv6-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 ghc810-8.10.7:
     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 --host=armv6-unknown-freebsd-gnueabihf --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
GHC=/wrkdirs/usr/ports/lang/ghc810/work/ghc-8.10.7-boot/bin/ghc-8.10.7 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/ghc810/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ghc810/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ghc810/work/.cache  HOME=/wrkdirs/usr/ports/lang/ghc810/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ghc810/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ghc810/work/.pkgconfig:/usr/local/libdata/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/ghc810/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ghc810/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ghc810/work/.cache  HOME=/wrkdirs/usr/ports/lang/ghc810/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ghc810/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ghc810/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes 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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/includ
 e -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.2.1.0 ARRAY_VERSION=0.5.4.0 BASE_VERSION=4.14.3.0 BINARY_VERSION=0.8.8.0 BYTESTRING_VERSION=0.10.12.0 CONTAINERS_VERSION=0.6.5.1 DEEPSEQ_VERSION=1.4.4.0 DIRECTORY_VERSION=1.3.6.0 EXCEPTIONS_VERSION=0.10.4 FILEPATH_VERSION=1.4.2.1 GHC_VERSION=8.10.7 GHC-COMPACT_VERSION=0.1.0.0 GHC-PRIM_VERSION=0.6.1 HASKELINE_VERSION=0.8.2 HPC_VERSION=0.6.1.0 INTEGER-GMP_VERSION=1.0.3.0 MTL_VERSION=2.2.2 PARSEC_VERSION=3.1.14.0 PRETTY_VERSION=1.1.3.6 PROCESS_VERSION=1.6.13.2 STM_VERSION=2.5.0.1 TEMPLATE-HASKELL_VERSION=2.16.0.0 TERMINFO_VERSION=0.4.1.4 TEXT_VERSION=1.2.4.1 TIME_VERSION=1.9.3 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=freebsd14  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="" 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="" DYNAMIC="" NO_DYNAMIC="@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---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /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_9d218390=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400063
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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    >============================
===>   ghc810-8.10.7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.3.pkg
[main-armv6-default-job-03] Installing pkg-1.18.3...
[main-armv6-default-job-03] Extracting pkg-1.18.3: .......... done
===>   ghc810-8.10.7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ghc810-8.10.7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc810-8.10.7 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc810-8.10.7 for building
=> SHA256 Checksum OK for ghc-8.10.7-src.tar.xz.
=> SHA256 Checksum OK for ghc-8.10.7-boot-armv6-freebsd.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
<snip>
    Call hs_init_ghc() from your main() function to set these options.
  HC [stage 0] utils/hp2ps/dist/build/AreaBelow.o
  HC [stage 0] utils/hp2ps/dist/build/Curves.o
  HC [stage 0] utils/hp2ps/dist/build/Error.o
  HC [stage 0] utils/hp2ps/dist/build/Main.o
  HC [stage 0] utils/hp2ps/dist/build/Reorder.o
  HC [stage 0] utils/hp2ps/dist/build/TopTwenty.o
  HC [stage 0] utils/hp2ps/dist/build/AuxFile.o
  HC [stage 0] utils/hp2ps/dist/build/Deviation.o
  HC [stage 0] utils/hp2ps/dist/build/HpFile.o
  HC [stage 0] utils/hp2ps/dist/build/Marks.o
  HC [stage 0] utils/hp2ps/dist/build/Scale.o
  HC [stage 0] utils/hp2ps/dist/build/TraceElement.o
  HC [stage 0] utils/hp2ps/dist/build/Axes.o
  HC [stage 0] utils/hp2ps/dist/build/Dimensions.o
  HC [stage 0] utils/hp2ps/dist/build/Key.o
  HC [stage 0] utils/hp2ps/dist/build/PsFile.o
  HC [stage 0] utils/hp2ps/dist/build/Shade.o
  HC [stage 0] utils/hp2ps/dist/build/Utilities.o
"inplace/bin/mkdirhier" utils/hp2ps/dist/build/tmp//.
  HC [stage 0] utils/hp2ps/dist/build/tmp/hp2ps
Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
    Call hs_init_ghc() from your main() function to set these options.
/usr/bin/install -c -m 755 utils/hp2ps/dist/build/tmp/hp2ps inplace/lib/bin/hp2ps
"rm" -f                                                     inplace/bin/hp2ps  
echo '#!/bin/sh'                                                     >> inplace/bin/hp2ps
echo 'executablename="/wrkdirs/usr/ports/lang/ghc810/work/ghc-8.10.7/inplace/lib/bin/hp2ps"'                                  >> inplace/bin/hp2ps
echo 'datadir="/wrkdirs/usr/ports/lang/ghc810/work/ghc-8.10.7/inplace/lib"'                             >> inplace/bin/hp2ps
echo 'bindir="/wrkdirs/usr/ports/lang/ghc810/work/ghc-8.10.7/inplace/bin"'                              >> inplace/bin/hp2ps
echo 'topdir="/wrkdirs/usr/ports/lang/ghc810/work/ghc-8.10.7/inplace/lib"'                           >> inplace/bin/hp2ps
echo 'pgmgcc="/nxb-bin/usr/bin/cc"'                                               >> inplace/bin/hp2ps
echo 'export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"' >> inplace/bin/hp2ps
cat utils/hp2ps/hp2ps.wrapper                                     >> inplace/bin/hp2ps
chmod +x                                                     inplace/bin/hp2ps
  CC utils/hp2ps/dist-install/build/AreaBelow.dyn_o
  CC utils/hp2ps/dist-install/build/Curves.dyn_o
  CC utils/hp2ps/dist-install/build/Error.dyn_o
  CC utils/hp2ps/dist-install/build/Main.dyn_o
  CC utils/hp2ps/dist-install/build/Reorder.dyn_o
  CC utils/hp2ps/dist-install/build/TopTwenty.dyn_o
  CC utils/hp2ps/dist-install/build/AuxFile.dyn_o
  CC utils/hp2ps/dist-install/build/Deviation.dyn_o
  CC utils/hp2ps/dist-install/build/HpFile.dyn_o
  CC utils/hp2ps/dist-install/build/Marks.dyn_o
  CC utils/hp2ps/dist-install/build/Scale.dyn_o
  CC utils/hp2ps/dist-install/build/TraceElement.dyn_o
  CC utils/hp2ps/dist-install/build/Axes.dyn_o
  CC utils/hp2ps/dist-install/build/Dimensions.dyn_o
  CC utils/hp2ps/dist-install/build/Key.dyn_o
  CC utils/hp2ps/dist-install/build/PsFile.dyn_o
  CC utils/hp2ps/dist-install/build/Shade.dyn_o
  CC utils/hp2ps/dist-install/build/Utilities.dyn_o
"inplace/bin/mkdirhier" utils/hp2ps/dist-install/build/tmp//.
  HC [stage 1] utils/hp2ps/dist-install/build/tmp/hp2ps
Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
    Call hs_init_ghc() from your main() function to set these options.
cp driver/ghc-usage.txt inplace/lib/ghc-usage.txt
cp driver/ghci-usage.txt inplace/lib/ghci-usage.txt
"rm" -f includes/dist/build/ghcversion.h  
Creating includes/dist/build/ghcversion.h...
Done.
  rts_dist_HC rts/dist/build/Adjustor.o
  rts_dist_HC rts/dist/build/Arena.o
  rts_dist_HC rts/dist/build/Capability.o
  rts_dist_HC rts/dist/build/CheckUnload.o
  rts_dist_HC rts/dist/build/ClosureFlags.o
  rts_dist_HC rts/dist/build/Disassembler.o
  rts_dist_HC rts/dist/build/FileLock.o
  rts_dist_HC rts/dist/build/ForeignExports.o
  rts_dist_HC rts/dist/build/fs.o
  rts_dist_HC rts/dist/build/Globals.o
  rts_dist_HC rts/dist/build/Hash.o
  rts_dist_HC rts/dist/build/Heap.o
  rts_dist_HC rts/dist/build/Hpc.o
  rts_dist_HC rts/dist/build/HsFFI.o
  rts_dist_HC rts/dist/build/Inlines.o
  rts_dist_HC rts/dist/build/Interpreter.o
  rts_dist_HC rts/dist/build/LdvProfile.o
  rts_dist_HC rts/dist/build/Libdw.o
  rts_dist_HC rts/dist/build/LibdwPool.o
  rts_dist_HC rts/dist/build/Linker.o
  rts_dist_HC rts/dist/build/Messages.o
  rts_dist_HC rts/dist/build/OldARMAtomic.o
  rts_dist_HC rts/dist/build/PathUtils.o
  rts_dist_HC rts/dist/build/Pool.o
  rts_dist_HC rts/dist/build/Printer.o
  rts_dist_HC rts/dist/build/ProfHeap.o
  rts_dist_HC rts/dist/build/ProfilerReport.o
  rts_dist_HC rts/dist/build/ProfilerReportJson.o
  rts_dist_HC rts/dist/build/Profiling.o
  rts_dist_HC rts/dist/build/Proftimer.o
  rts_dist_HC rts/dist/build/RaiseAsync.o
  rts_dist_HC rts/dist/build/RetainerProfile.o
  rts_dist_HC rts/dist/build/RetainerSet.o
  rts_dist_HC rts/dist/build/RtsAPI.o
  rts_dist_HC rts/dist/build/RtsDllMain.o
  rts_dist_HC rts/dist/build/RtsFlags.o
  rts_dist_HC rts/dist/build/RtsMain.o
  rts_dist_HC rts/dist/build/RtsMessages.o
  rts_dist_HC rts/dist/build/RtsStartup.o
  rts_dist_HC rts/dist/build/RtsSymbolInfo.o
  rts_dist_HC rts/dist/build/RtsSymbols.o
  rts_dist_HC rts/dist/build/RtsUtils.o
  rts_dist_HC rts/dist/build/Schedule.o
  rts_dist_HC rts/dist/build/Sparks.o
  rts_dist_HC rts/dist/build/SpinLock.o
  rts_dist_HC rts/dist/build/StableName.o
  rts_dist_HC rts/dist/build/StablePtr.o
  rts_dist_HC rts/dist/build/StaticPtrTable.o
  rts_dist_HC rts/dist/build/Stats.o
  rts_dist_HC rts/dist/build/StgCRun.o
  rts_dist_HC rts/dist/build/StgPrimFloat.o
  rts_dist_HC rts/dist/build/STM.o
  rts_dist_HC rts/dist/build/Task.o
  rts_dist_HC rts/dist/build/ThreadLabels.o
  rts_dist_HC rts/dist/build/ThreadPaused.o
  rts_dist_HC rts/dist/build/Threads.o
  rts_dist_HC rts/dist/build/Ticky.o
  rts_dist_HC rts/dist/build/Timer.o
  rts_dist_HC rts/dist/build/TopHandler.o
  rts_dist_HC rts/dist/build/Trace.o
  rts_dist_HC rts/dist/build/TraverseHeap.o
  rts_dist_HC rts/dist/build/Weak.o
  rts_dist_HC rts/dist/build/WSDeque.o
"inplace/bin/mkdirhier" rts/dist/build/hooks//.
  rts_dist_HC rts/dist/build/hooks/FlagDefaults.o
  rts_dist_HC rts/dist/build/hooks/LongGCSync.o
  rts_dist_HC rts/dist/build/hooks/MallocFail.o
  rts_dist_HC rts/dist/build/hooks/OnExit.o
  rts_dist_HC rts/dist/build/hooks/OutOfHeap.o
  rts_dist_HC rts/dist/build/hooks/StackOverflow.o
"inplace/bin/mkdirhier" rts/dist/build/sm//.
  rts_dist_HC rts/dist/build/sm/BlockAlloc.o
  rts_dist_HC rts/dist/build/sm/CNF.o
  rts_dist_HC rts/dist/build/sm/Compact.o
  rts_dist_HC rts/dist/build/sm/Evac_thr.o
  rts_dist_HC rts/dist/build/sm/Evac.o
  rts_dist_HC rts/dist/build/sm/GC.o
  rts_dist_HC rts/dist/build/sm/GCAux.o
  rts_dist_HC rts/dist/build/sm/GCUtils.o
  rts_dist_HC rts/dist/build/sm/MarkWeak.o
  rts_dist_HC rts/dist/build/sm/MBlock.o
  rts_dist_HC rts/dist/build/sm/NonMoving.o
  rts_dist_HC rts/dist/build/sm/NonMovingCensus.o
  rts_dist_HC rts/dist/build/sm/NonMovingMark.o
  rts_dist_HC rts/dist/build/sm/NonMovingScav.o
  rts_dist_HC rts/dist/build/sm/NonMovingShortcut.o
  rts_dist_HC rts/dist/build/sm/NonMovingSweep.o
  rts_dist_HC rts/dist/build/sm/Sanity.o
  rts_dist_HC rts/dist/build/sm/Scav_thr.o
  rts_dist_HC rts/dist/build/sm/Scav.o
  rts_dist_HC rts/dist/build/sm/Storage.o
  rts_dist_HC rts/dist/build/sm/Sweep.o
"inplace/bin/mkdirhier" rts/dist/build/eventlog//.
  rts_dist_HC rts/dist/build/eventlog/EventLog.o
  rts_dist_HC rts/dist/build/eventlog/EventLogWriter.o
"inplace/bin/mkdirhier" rts/dist/build/linker//.
  rts_dist_HC rts/dist/build/linker/CacheFlush.o
  rts_dist_HC rts/dist/build/linker/elf_got.o
  rts_dist_HC rts/dist/build/linker/elf_plt_aarch64.o
  rts_dist_HC rts/dist/build/linker/elf_plt_arm.o
  rts_dist_HC rts/dist/build/linker/elf_plt.o
  rts_dist_HC rts/dist/build/linker/elf_reloc_aarch64.o
  rts_dist_HC rts/dist/build/linker/elf_reloc.o
  rts_dist_HC rts/dist/build/linker/elf_util.o
  rts_dist_HC rts/dist/build/linker/Elf.o
  rts_dist_HC rts/dist/build/linker/LoadArchive.o
  rts_dist_HC rts/dist/build/linker/M32Alloc.o
  rts_dist_HC rts/dist/build/linker/MachO.o
  rts_dist_HC rts/dist/build/linker/PEi386.o
  rts_dist_HC rts/dist/build/linker/SymbolExtras.o
"inplace/bin/mkdirhier" rts/dist/build/linker/macho//.
  rts_dist_HC rts/dist/build/linker/macho/plt_aarch64.o
  rts_dist_HC rts/dist/build/linker/macho/plt.o
"inplace/bin/mkdirhier" rts/dist/build/posix//.
  rts_dist_HC rts/dist/build/posix/GetEnv.o
  rts_dist_HC rts/dist/build/posix/GetTime.o
  rts_dist_HC rts/dist/build/posix/Itimer.o
  rts_dist_HC rts/dist/build/posix/OSMem.o
  rts_dist_HC rts/dist/build/posix/OSThreads.o
  rts_dist_HC rts/dist/build/posix/Select.o
  rts_dist_HC rts/dist/build/posix/Signals.o
  rts_dist_HC rts/dist/build/posix/TTY.o
  rts_dist_HC rts/dist/build/Apply.o

<no location info>: error:
    Warning: Couldn't figure out LLVM version!
             Make sure you have installed LLVM between [9 and 13)

<no location info>: error:
    Warning: Couldn't figure out LLVM version!
             Make sure you have installed LLVM between [9 and 13)
`opt' failed in phase `LLVM Optimiser'. (Exit code: 127)
gmake[2]: *** [rts/ghc.mk:325: rts/dist/build/Apply.o] Error 1
gmake[1]: *** [Makefile:128: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/ghc810/work/ghc-8.10.7'
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/ghc810