Summary: | devel/hs-cabal-install: fails to build on aarch64 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Mikael Urankar <mikael> |
Component: | Individual Port(s) | Assignee: | freebsd-haskell (Nobody) <haskell> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(haskell) |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | arm64 | ||
OS: | Any | ||
URL: | http://ampere2.nyi.freebsd.org/data/main-arm64-default/p564582_sf6e8256a96/logs/errors/hs-cabal-install-3.2.0.0_1.log |
Description
Mikael Urankar
![]() ![]() A commit references this bug: Author: mikael Date: Thu Feb 11 16:37:42 UTC 2021 New revision: 564963 URL: https://svnweb.freebsd.org/changeset/ports/564963 Log: lang/ghc: use CONFIGURE_ENV instead of BINARY_ALIAS on arm GHC saves the llvm command name (llc, opt, clang) found at compile time in its settings file. Using BINARY_ALIAS allows lang/ghc to build but breaks ghc ports (devel/hs-cabal-install for example) GHC configure script accepts now to define LLC, OPT, CLANG as environment variable, switch to it. <no location info>: error: Warning: Couldn't figure out LLVM version! Make sure you have installed LLVM 9 <no location info>: error: ghc: could not execute: opt-9.0 PR: 252166, 253367 Approved by: portmgr (tier-2 blanket) Changes: head/lang/ghc/Makefile |