maintainer-feedback requested: [Bug 260130] lang/ghc fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Nov 2021 01:49:54 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-haskell (Nobody)
<haskell@FreeBSD.org> for maintainer-feedback:
Bug 260130: lang/ghc fails to build
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260130



--- Description ---
Hi,

rpi4b so arm64.aarch64 bare metal, default ports options.

Fails here:

[...]
[00:39:14] libraries/Cabal/Cabal/Distribution/Utils/Structured.hs:90:1:
warning: [-Wdeprecations]
[00:39:14]     Module ‘Data.ByteString.Lazy.Builder’ is deprecated:
[00:39:14]	 Use Data.ByteString.Builder instead
[00:39:14]    |
[00:39:14] 90 | import qualified Data.ByteString.Lazy.Builder as Builder
[00:39:14]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[00:39:35]   HC [stage 0] libraries/text/dist-boot/build/Data/Text/Lazy/IO.o
[00:39:39]   HC [stage 0]
libraries/text/dist-boot/build/Data/Text/Internal/Builder.o
[00:39:47]   HC [stage 0] libraries/text/dist-boot/build/Data/Text/Lazy/Read.o
[00:39:56]   HC [stage 0]
libraries/parsec/dist-boot/build/Text/Parsec/Combinator.o
[00:39:56]   HC [stage 0] libraries/parsec/dist-boot/build/Text/Parsec/Char.o
[00:40:03]   HC [stage 0]
libraries/Cabal/Cabal/dist-boot/build/Distribution/Compat/Semigroup.o
[00:40:13]   HC [stage 0] libraries/parsec/dist-boot/build/Text/Parsec/String.o
[00:40:15]   HC [stage 0]
libraries/parsec/dist-boot/build/Text/Parsec/ByteString.o
[00:40:15]   HC [stage 0]
libraries/parsec/dist-boot/build/Text/Parsec/ByteString/Lazy.o
[00:40:16]   HC [stage 0] libraries/parsec/dist-boot/build/Text/Parsec/Text.o
[00:40:16]   HC [stage 0]
libraries/parsec/dist-boot/build/Text/Parsec/Text/Lazy.o
[00:40:16]   HC [stage 0]
libraries/text/dist-boot/build/Data/Text/Lazy/Builder.o
[00:40:17]   HC [stage 0] libraries/ghci/dist-boot/build/GHCi/Message.o
[00:40:17]   HC [stage 0] libraries/parsec/dist-boot/build/Text/Parsec.o
[00:40:18]   HC [stage 0]
libraries/Cabal/Cabal/dist-boot/build/Distribution/Compat/Prelude.o
[00:40:19]   HC [stage 0] libraries/parsec/dist-boot/build/Text/Parsec/Token.o
[00:40:21]   HC [stage 0] libraries/parsec/dist-boot/build/Text/Parsec/Expr.o
[00:40:33]   HC [stage 0]
libraries/parsec/dist-boot/build/Text/ParserCombinators/Parsec/Char.o
[00:40:34]   HC [stage 0]
libraries/parsec/dist-boot/build/Text/ParserCombinators/Parsec/Combinator.o
[00:40:35]   HC [stage 0]
libraries/parsec/dist-boot/build/Text/ParserCombinators/Parsec/Prim.o
[00:40:36]   HC [stage 0]
libraries/text/dist-boot/build/Data/Text/Internal/Builder/Functions.o
[00:40:37]   HC [stage 0]
libraries/Cabal/Cabal/dist-boot/build/Distribution/Compat/Parsing.o
[00:40:56]   HC [stage 0]
libraries/Cabal/Cabal/dist-boot/build/Distribution/Parsec/Position.o
[00:41:05]   HC [stage 0]
libraries/Cabal/Cabal/dist-boot/build/Distribution/Utils/Generic.o
[00:41:53] gmake[2]: *** [compiler/ghc.mk:307:
compiler/stage1/build/DynFlags.o] Killed
[00:41:53] gmake[2]: *** Waiting for unfinished jobs....
[00:43:29] gmake[1]: *** [Makefile:126: all] Error 2
[00:43:29] gmake[1]: Leaving directory
'/wrkdirs/usr/ports/lang/ghc/work/ghc-8.10.7'
[00:43:29] ===> Compilation failed unexpectedly.
[00:43:29] Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to
[00:43:29] the maintainer.
[00:43:29] *** Error code 1
[00:43:29] 
[00:43:29] Stop.
[...]

full log at URL