stack install.hs stack-hie-8.6.5 failure on macOS 10.13.6; seems to choke on ghc-lib-parser #1396
Description
I'm very much a beginner; trying to get HIE on a Mac Mini with 8GB of RAM running macOS High Sierra 10.13.6. It has failed for me multiple times on the following step:
-- While building package ghc-lib-parser-8.8.0.20190723 using: /Users/zack/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.4.0.1 build --ghc-options "" Process exited with code: ExitFailure (-11) Progress 186/231 )
I tried to research it to the best of my limited abilities. Here are things I've tried that have failed to resolve the symptom:
-
The error code seems to be associated with a segmentation fault (due to running out of RAM?) so I opened Activity Monitor and quit all other applications.
-
xcode-select --install
says that it already exists. -
I installed
brew
and used that to installreadline
andgawk
based on other suggestions online. -
I tried deleting
~/.stack
and/usr/local/bin/stack
, then reinstalling via thecurl
script and manually creating a.bash_profile
to ensure that the proper items were on my PATH. -
I ran the
stack install.hs icu-macos-fix
out of desperation, since it had both "macos" and "fix" in the name. That script completed, but didn't affect my attempts to runstack install stack-hie-8.6.5
: that one always seems to fail onghc-lib-parser
I'm afraid I lack the expertise to determine if this is a problem with HIE or some other component.