haskell / haskell/hsc2hs

hsc2hs-0.68.7 hangs while building nonlinear-optimization-0.3.12.1

Open
#62 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
46
Forks
30
PR merge metrics
No merged PRs in 30d

Description

(Tried to select "bug" template but it wouldn't let me select any.)
I just installed ghc8.10.5 (via ghcup) on macOS Big Sur (11.4).
I did a "cabal update" (cabal 3.4) and then started rebuilding a library, noticed it hanging. Re-ran "cabal build" with "-v -j1" and got a lot of output, ending with:

```
creating dist/build
creating dist/build/autogen
creating dist/build/autogen
Preprocessing library for nonlinear-optimization-0.3.12.1..
creating dist/build/Numeric/Optimization/Algorithms
creating dist/build/Numeric/Optimization
creating dist/build/Numeric
creating dist/build/Numeric/Optimization
creating dist/build/Numeric/Optimization/Algorithms
/Users/adam/.ghcup/bin/hsc2hs '@dist/build/Numeric/Optimization/Algorithms/hsc2hs-response54797-14.txt'
```
Where it simply hangs. hsc2hs is running but not using significant CPU or memory.

Hand-installing hsc2hs 0.68.8 from github and replacing the ghcup links so it uses that one seems to solve the problem.

Reported this at the ghc gitlab and @bgamari suggested reporting here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.