Summary: | lang/ghc: Fails to build on aarch64 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | tech-lists | ||||
Component: | Individual Port(s) | Assignee: | Mikael Urankar <mikael> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | mikael | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(haskell) |
||||
Version: | Latest | ||||||
Hardware: | arm64 | ||||||
OS: | Any | ||||||
URL: | https://cloud.zyxst.net/~john/FreeBSD/ports/ghc/ghc-8.10.5.log | ||||||
Attachments: |
|
Description
tech-lists
2021-06-14 16:55:48 UTC
the above was arm64.aarch64, am trying now on amd64 (In reply to tech-lists from comment #1) ok the problem is only on arm64.aarch64 bare metal Created attachment 225831 [details]
v0
It looks like the binary_alias doesn't work anymore :(
Can you try the attached patch (CONFIGURE_ENV_PRECONF should probably be named differently but couldn't figure out a better name)
(In reply to Mikael Urankar from comment #3) Hi, I've applied your patch (thank you!) and it's building now, (it'll be a while ;)) (In reply to Mikael Urankar from comment #3) Hi, Confirmed your patch works, many thanks A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e099e7c8c360778d6cd73b916fb87e905fbfbd19 commit e099e7c8c360778d6cd73b916fb87e905fbfbd19 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2021-06-20 16:01:39 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2021-06-24 16:00:25 +0000 lang/ghc: Fix build on aarch64 BINARY_ALIAS doesn't work anymore. Pass the correct environment variables in the pre-configure target instead. PR: 256605 Reported by: tech-lists@zyxst.net Approved by: arrowd (previous version) lang/ghc/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) |