Bug 256596 - devel/hs-haskell-language-server build fails on 14-CURRENT
Summary: devel/hs-haskell-language-server build fails on 14-CURRENT
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-haskell (Nobody)
Depends on:
Reported: 2021-06-14 11:53 UTC by Filipe da Silva Santos
Modified: 2021-06-14 15:14 UTC (History)
1 user (show)

See Also:
arrowd: maintainer-feedback+

gzipped synth log file (9.82 KB, application/gzip)
2021-06-14 11:53 UTC, Filipe da Silva Santos
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filipe da Silva Santos 2021-06-14 11:53:48 UTC
Created attachment 225798 [details]
gzipped synth log file

GHC isn't being found on '$PATH' during build phase

Build fails on both Synth and running `make` in its directory (host system and jail with generic world)

Gzipped build log is attached
Comment 1 commit-hook freebsd_committer 2021-06-14 15:01:38 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1135cff63438688f31b72b6522e30272f7bf0116

commit 1135cff63438688f31b72b6522e30272f7bf0116
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2021-06-14 14:59:05 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2021-06-14 14:59:05 +0000

    devel/hs-haskell-language-server: Unbreak build after GHC update.

    PR:             256596
    Reported by:    Filipe da Silva Santos <contact@shiori.com.br>

 devel/hs-haskell-language-server/Makefile | 3 +++
 1 file changed, 3 insertions(+)
Comment 2 Gleb Popov freebsd_committer 2021-06-14 15:14:08 UTC
Should be fixed now, thank you for the report.

HLS uses strange method for determining a supported compiler.