Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2021 16:55:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 256605] lang/ghc fails to build
Message-ID:  <bug-256605-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256605

            Bug ID: 256605
           Summary: lang/ghc fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://cloud.zyxst.net/~john/FreeBSD/ports/ghc/ghc-8.
                    10.5.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,

context:
arm64 bare metal
poudriere-devel-3.3.99.20210521

installed llvm:

# pkg info -x llvm
llvm10-10.0.1_5

in the poudriere host:

# pkg search -x llvm
The provides database is up-to-date.
llvm10-10.0.1_5                LLVM and Clang
llvm90-9.0.1_3                 LLVM and Clang

error building lang/ghc:

[...]
02:21:03] <no location info>: error:
[02:21:03]     Warning: Couldn't figure out LLVM version!
[02:21:03]              Make sure you have installed LLVM between 10 and 12
[02:21:03]=20
[02:21:03] <no location info>: error:
[02:21:03]     Warning: Couldn't figure out LLVM version!
[02:21:03]              Make sure you have installed LLVM between 10 and 12
[...]

ending with:

[02:22:03] <no location info>: error:
[02:22:03]     Warning: Couldn't figure out LLVM version!
[02:22:03]              Make sure you have installed LLVM between 10 and 12
[02:22:03] ghc-stage1: could not execute: opt
[02:22:03] gmake[2]: *** [rts/ghc.mk:322: rts/dist/build/Apply.o] Error 1
[02:22:03] gmake[2]: *** Waiting for unfinished jobs....
[02:22:04] gmake[1]: *** [Makefile:128: all] Error 2
[02:22:04] gmake[1]: Leaving directory
'/wrkdirs/usr/ports/lang/ghc/work/ghc-8.10.5'
[02:22:04] =3D=3D=3D> Compilation failed unexpectedly.
[02:22:04] Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting t=
he
failure to
[02:22:04] the maintainer.
[02:22:04] *** Error code 1
[02:22:04]=20
[02:22:04] Stop.
[02:22:04] make: stopped in /usr/ports/lang/ghc
[02:25:53] =3D>> Cleaning up wrkdir
[02:25:55] =3D=3D=3D>  Cleaning for ghc-8.10.5
[02:25:55] build of lang/ghc | ghc-8.10.5 ended at Mon Jun 14 17:07:41 BST =
2021
[02:25:55] build time: 02:25:55
[02:25:55] !!! build failure encountered !!!

full log: https://cloud.zyxst.net/~john/FreeBSD/ports/ghc/ghc-8.10.5.log

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256605-7788>