[package - 121i386-default][lang/ghc] Failed for ghc-8.10.3 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Tue Jan 12 03:31:35 UTC 2021


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 at FreeBSD.org
Last committer: arrowd at FreeBSD.org
Ident:          $FreeBSD: head/lang/ghc/Makefile 559832 2021-01-01 15:03:48Z arrowd $
Log URL:        http://beefy5.nyi.freebsd.org/data/121i386-default/561293/logs/ghc-8.10.3.log
Build URL:      http://beefy5.nyi.freebsd.org/build.html?mastername=121i386-default&build=561293
Log:

=>> Building lang/ghc
build started at Tue Jan 12 01:24:46 UTC 2021
port directory: /usr/ports/lang/ghc
package name: ghc-8.10.3
building for: FreeBSD 121i386-default-job-03 12.1-RELEASE-p12 FreeBSD 12.1-RELEASE-p12 i386
maintained by: haskell at FreeBSD.org
Makefile ident:      $FreeBSD: head/lang/ghc/Makefile 559832 2021-01-01 15:03:48Z arrowd $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300121
Jail OSVERSION: 1201000
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1201000
UNAME_v=FreeBSD 12.1-RELEASE-p12
UNAME_r=12.1-RELEASE-p12
BLOCKSIZE=K
MAIL=/var/mail/root
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-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/121i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/121i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=121i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/121i386-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-8.10.3:
     DOCS=on: Install HTML documentation
     DYNAMIC=on: Add support for dynamic linking
     GMP=on: Use GNU Multi-precision Library for big integers support
     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 at FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-iconv-includes=/usr/local/include  --with-iconv-libraries=/usr/local/lib --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 GHC=/wrkdirs/usr/ports/lang/ghc/work/ghc-8.6.5-boot/bin/ghc-8.6.5 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
CC=cc LD=ld PATH=/wrkdirs/usr/ports/lang/ghc/work/slaves_prefix/bin:/wrkdirs/usr/ports/lang/ghc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/ghc/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ghc/work  HOME=/wrkdirs/usr/ports/lang/ghc/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh 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--
PATH=/wrkdirs/usr/ports/lang/ghc/work/slaves_prefix/bin:/wrkdirs/usr/ports/lang/ghc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/ghc/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ghc/work  HOME=/wrkdirs/usr/ports/lang/ghc/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES 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_D
 ATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
GHC_VERSION=8.10.3 CABAL_VERSION=3.2.1.0 PORTDOCS="" BOOT="@comment " NO_BOOT="" DOCS="" NO_DOCS="@comment " DYNAMIC="" NO_DYNAMIC="@comment " NODYNAMIC="@comment " GMP="" NO_GMP="@comment " GMP="" SIMPLE="@comment " PROFILE="" NO_PROFILE="@comment " OSREL=12.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.0  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-8.10.3"  EXAMPLESDIR="share/examples/ghc-8.10.3"  DATADIR="share/ghc-8.10.3"  WWWDIR="www/ghc"  ETCDIR="etc/ghc"
--End PLIST_SUB--

--SUB_LIST--
GHC_VERSION=8.10.3  NCURSESINC="/usr/include" NCURSESLIB="/usr/lib"  CFLAGS="-O2 -pipe  " BOOT="@comment " NO_BOOT="" HSC2HS=/wrkdirs/usr/ports/lang/ghc/work/ghc-8.6.5-boot/bin/hsc2hs DOCS="" NO_DOCS="@comment " DYNAMIC="" NO_DYNAMIC="@comment " WITH_DYNAMIC="YES" GMP="" NO_GMP="@comment " INTEGER_LIBRARY="integer-gmp" PROFILE="" NO_PROFILE="@comment " WITH_PROFILE="YES" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ghc-8.10.3 DOCSDIR=/usr/local/share/doc/ghc-8.10.3 EXAMPLESDIR=/usr/local/share/examples/ghc-8.10.3  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
MACHINE=i386
MACHINE_ARCH=i386
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_921dbbb2=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: i386-unknown-freebsd12.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: i386-unknown-freebsd12.1 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" "-m" "elf_i386_fbsd" "-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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: i386-unknown-freebsd12.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.1-RELEASE-p12
OSREL=12.1
OSVERSION=1201000
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---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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-8.10.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.1.txz
[121i386-default-job-03] Installing pkg-1.16.1...
[121i386-default-job-03] Extracting pkg-1.16.1: .......... done
===>   ghc-8.10.3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ghc-8.10.3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc-8.10.3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc-8.10.3 for building
=> SHA256 Checksum OK for ghc-8.10.3-src.tar.xz.
=> SHA256 Checksum OK for hscolour-1.24.4.tar.gz.
=> SHA256 Checksum OK for ghc-8.6.5-boot-i386-freebsd.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc-8.10.3 for building
===>  Extracting for ghc-8.10.3
=> SHA256 Checksum OK for ghc-8.10.3-src.tar.xz.
=> SHA256 Checksum OK for hscolour-1.24.4.tar.gz.
=> SHA256 Checksum OK for ghc-8.6.5-boot-i386-freebsd.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ghc-8.10.3
===>  Applying extra patch /usr/ports/lang/ghc/files/extra-patch-libraries_ghc-prim_cbits_atomic.c
===>  Applying extra patch /usr/ports/lang/ghc/files/extra-patch-rts_posix_TTY.c
===>  Applying FreeBSD patches for ghc-8.10.3 from /usr/ports/lang/ghc/files
===========================================================================
=======================<phase: build-depends  >============================
===>   ghc-8.10.3 depends on executable: sphinx-build - not found
<snip>
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/SPDX/LicenseExceptionId.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/SPDX/LicenseExpression.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/SPDX/License.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/SPDX.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/ExposedModule.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/AbiDependency.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/License.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/InstalledPackageInfo.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/InstalledPackageInfo/Lens.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Compat/Newtype.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Parsec/Newtypes.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Fields/Field.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/FieldGrammar/Class.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Fields/LexerMonad.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Fields/Lexer.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Fields/Parser.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Fields/Pretty.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/FieldGrammar/Pretty.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Fields/ParseResult.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/FieldGrammar/Parsec.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/FieldGrammar.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/FieldGrammar/FieldDescrs.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/InstalledPackageInfo/FieldGrammar.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Fields.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/InstalledPackageInfo.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/PackageIndex.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Compiler.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/Flag.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/ConfVar.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/SourceRepo.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/HookedBuildInfo.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/BuildType.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/SetupBuildInfo.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/PackageDescription.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/Condition.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/CondTree.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/GenericPackageDescription.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/PackageDescription.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/InstallDirs/Internal.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Compat/Environment.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/InstallDirs.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/ComponentLocalBuildInfo.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/TargetInfo.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/GivenComponent.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Utils/NubList.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/Find.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/Types.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/Run.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/Internal.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Flag.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/GHC/ImplInfo.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/GHC.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/Builtin.o

libraries/Cabal/Cabal/Distribution/Simple/Program/Builtin.hs:61:1: warning: [-Wunused-imports]
    The import of ‘System.FilePath’ is redundant
      except perhaps to import instances from ‘System.FilePath’
    To import instances alone, use: import System.FilePath()
   |
61 | import System.FilePath (takeDirectory)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/Db.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/GetOpt.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Command.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Setup.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/LocalBuildInfo.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/LocalBuildInfo.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/Id.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/BuildToolDepends.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/ComponentsGraph.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/PackageName/Magic.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/ModSubst.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/ModuleShape.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Utils/MapAccum.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Utils/UnionFind.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/ModuleScope.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/FullUnitId.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/UnifyM.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/MixLink.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/PreModuleShape.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/ConfiguredComponent.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/LinkedComponent.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/ReadyComponent.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/PreExistingComponent.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/Configure.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Backpack/DescribeUnitId.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Compat/CreatePipe.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Compat/Directory.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Compat/ResponseFile.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Compat/Prelude/Internal.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Compat/Time.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Make.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/TestSuite/Lens.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/Library/Lens.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/ForeignLib/Lens.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/Executable/Lens.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/Benchmark/Lens.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/PackageDescription/Lens.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/GenericPackageDescription/Lens.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Glob.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/CCompiler.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/BuildPaths.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/DependencyMap.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/SetupBuildInfo/Lens.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/PackageDescription/Configuration.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/PackageDescription/Check.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/SourceRepo/Lens.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/Lens.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/PackageDescription/FieldGrammar.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/PackageDescription/PrettyPrint.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/PackageDescription/Quirks.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Fields/ConfVar.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/PackageDescription/Parsec.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Compat/GetShortPathName.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/HcPkg.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/Script.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/HaskellSuite.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/UHC.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/Strip.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/Hpc.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Hpc.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Lex.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/GHC/Internal.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/GHC/EnvironmentParser.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/GHCJS.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/ResponseFile.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/Ld.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Program/Ar.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/GHC.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/BuildTarget.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Register.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Utils/Json.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/TestSuite.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Test/Log.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Build/PathsModule.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Test/LibV09.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/PreProcess/Unlit.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/PreProcess.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Configure.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Text.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/ShowBuildInfo.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Build/Macros.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Build.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Doctest.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Haddock.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Install.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Test/ExeV10.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/UserHooks.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Test.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Bench.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/SrcDist.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/PackageVersionConstraint.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Compat/SnocList.o
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/libHSCabal-3.2.1.0-ghc8.10.3.so
Warning: -rtsopts and -with-rtsopts have no effect with -shared.
    Call hs_init_ghc() from your main() function to set these options.
  HC [stage 1] libraries/ghc-compact/dist-install/build/GHC/Compact.o
  HC [stage 1] libraries/ghc-compact/dist-install/build/GHC/Compact/Serialized.o
  HC [stage 1] libraries/ghc-compact/dist-install/build/libHSghc-compact-0.1.0.0-ghc8.10.3.so
Warning: -rtsopts and -with-rtsopts have no effect with -shared.
    Call hs_init_ghc() from your main() function to set these options.
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Internals.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Strict/Attributes.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Strict/Elements.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/BlockTable.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Table.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Extras.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Debug.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Transitional/Attributes.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Frameset/Attributes.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Transitional/Elements.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Frameset/Elements.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Transitional.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Frameset.o
  HC [stage 1] libraries/xhtml/dist-install/build/Text/XHtml/Strict.o
  HC [stage 1] libraries/xhtml/dist-install/build/libHSxhtml-3000.2.2.1-ghc8.10.3.so
Warning: -rtsopts and -with-rtsopts have no effect with -shared.
    Call hs_init_ghc() from your main() function to set these options.
  HC [stage 1] libraries/libiserv/dist-install/build/Lib.o
  HC [stage 1] libraries/libiserv/dist-install/build/GHCi/Utils.o
  HC [stage 1] libraries/libiserv/dist-install/build/libHSlibiserv-8.10.3-ghc8.10.3.so
Warning: -rtsopts and -with-rtsopts have no effect with -shared.
    Call hs_init_ghc() from your main() function to set these options.
  HC [stage 1] ghc/stage2/build/tmp/ghc-stage2
Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
    Call hs_init_ghc() from your main() function to set these options.
ld: error: /wrkdirs/usr/ports/lang/ghc/work/ghc-8.10.3/rts/dist/build/libHSrts_thr-ghc8.10.3.so: undefined reference to __atomic_fetch_add_8
ld: error: /wrkdirs/usr/ports/lang/ghc/work/ghc-8.10.3/rts/dist/build/libHSrts_thr-ghc8.10.3.so: undefined reference to __atomic_load_8
cc: error: linker command failed with exit code 1 (use -v to see invocation)
`cc' failed in phase `Linker'. (Exit code: 1)
gmake[2]: *** [ghc/ghc.mk:127: ghc/stage2/build/tmp/ghc-stage2] Error 1
gmake[1]: *** [Makefile:128: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/ghc/work/ghc-8.10.3'
*** Error code 1

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


More information about the freebsd-haskell mailing list