[Bug 260130] lang/ghc fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Nov 2021 01:49:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260130

            Bug ID: 260130
           Summary: lang/ghc fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://cloud.zyxst.net/~john/FreeBSD/ports/ghc/arm64.
                    aarch64/ghc-8.10.7.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: haskell@FreeBSD.org
          Reporter: tech-lists@zyxst.net
             Flags: maintainer-feedback?(haskell@FreeBSD.org)
          Assignee: haskell@FreeBSD.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.