Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hsc2hs-0.68.7 hangs while building nonlinear-optimization-0.3.12.1 #62

Open
adamConnerSax opened this issue Jun 8, 2021 · 3 comments
Open

Comments

@adamConnerSax
Copy link

(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.

@phadej
Copy link
Contributor

phadej commented Jun 23, 2021

I'm quite sure @hvr won't be around making the release, and looking at https://hackage.haskell.org/package/hsc2hs/maintainers/ Ben is the other person who could do the release...

@xich
Copy link

xich commented Jun 27, 2021

I also ran into this problem with GHC 8.10.5. When I tried to cabal install cabal-install, the build hung forever on the network package. Built network with -v and tailed the log file, and found it was hanging on hsc2hs.

Cloned this repo and built/installed hsc2hs 0.68.8 manually, which fixed the problem.

It looks like 0.68.8 was tagged over six months ago. Can somebody release it? cc @bgamari

@phadej
Copy link
Contributor

phadej commented Nov 4, 2021

0.68.8 is released, this issue can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants