Closed mouse07410 closed 4 months ago
The branch is called master
, not main
. Thanks to political correctness BS breaking user experience.
Please re-open - you did not look below "main" where I tried with "-g master". Repeating:
$ ghcup compile hls -g master --ghc 9.10.1
[ Info ] downloading: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-0.0.8.yaml as file /Users/ur20980/.ghcup/cache/ghcup-0.0.8.yaml
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
[ Info ] Fetching git repo https://github.com/haskell/haskell-language-server.git at ref master (this may take a while)
xattr: [Errno 13] Permission denied: '/Users/ur20980/.ghcup/tmp/ghcup-c428f287f10b0099/.git/objects/pack/pack-bd6c5ff86a146217275f72a486f11df681643326.idx'
xattr: [Errno 13] Permission denied: '/Users/ur20980/.ghcup/tmp/ghcup-c428f287f10b0099/.git/objects/pack/pack-bd6c5ff86a146217275f72a486f11df681643326.rev'
xattr: [Errno 13] Permission denied: '/Users/ur20980/.ghcup/tmp/ghcup-c428f287f10b0099/.git/objects/pack/pack-bd6c5ff86a146217275f72a486f11df681643326.pack'
[ Warn ] [GHCup-00841] Process "/usr/bin/xattr" with arguments ["-r", "-d",
[ ... ] "com.apple.quarantine",
[ ... ] "/Users/ur20980/.ghcup/tmp/ghcup-c428f287f10b0099"] failed with exit code 1.
[ Info ] Examining git ref master
[ ... ] HLS version (from cabal file): 2.8.0.0
[ ... ] branch: master
[ ... ] commit hash: 0651c5c904396ac105acc8db8bd1a6415552fb2c
[ Info ] Building HLS 2.8.0.0 for GHC version 9.10.1
[ cabal ] goals I've had most trouble fulfilling: profunctors, comonad, base,
[ cabal ] bifunctors, primitive-extras, transformers, template-haskell,
[ cabal ] indexed-traversable, comonad:indexed-traversable, stm-hamt, stm-containers,
[ cabal ] primitive, vector, ghcide
[ cabal ] Try running with --minimize-conflict-set to improve the error message.
[ cabal ]
[ Error ] [GHCup-08841] BuildFailed failed in dir /Users/ur20980/.ghcup/tmp/ghcup-c428f287f10b0099: Process "cabal" with arguments ["v2-install",
[ ... ] "-w",
[ ... ] "ghc-9.10.1",
[ ... ] "--install-method=copy",
[ ... ] "--overwrite-policy=always",
[ ... ] "--disable-profiling",
[ ... ] "--disable-tests",
[ ... ] "--installdir=/Users/ur20980/.ghcup/tmp/ghcup-c428f287f10b0099/out/9.10.1",
[ ... ] "--project-file=cabal.project",
[ ... ] "exe:haskell-language-server",
[ ... ] "exe:haskell-language-server-wrapper"] failed with exit code 1.
$
HLS is not accomodated to compile.with GHC 9.10.1 yet: https://github.com/haskell/haskell-language-server/issues/4226
macOS Sonoma 14.5. Attempting to build HLS master for GHC-9.10.1 (MR was recently merged).
I successfully built a package with GHC-9.10.1 with both Stack-2.15.7 and Cabal-3.10.3.0, which probably proves that my installation (GHC, Cabal, Stack) works.
Help is appreciated!