Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

stack install.hs stack-hie-8.6.5 failure on macOS 10.13.6; seems to choke on ghc-lib-parser #1396

Open
@zxbishop

Description

@zxbishop

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 install readline and gawk based on other suggestions online.

  • I tried deleting ~/.stack and /usr/local/bin/stack, then reinstalling via the curl 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 run stack install stack-hie-8.6.5: that one always seems to fail on ghc-lib-parser

I'm afraid I lack the expertise to determine if this is a problem with HIE or some other component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildContinuous integration and buildingos: macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions