How to debug HSC to HS conversion failure?

I’m getting the following error in response to `cabal build`: running {pros_dir}/dist-newstyle/build/x86_64-osx/ghc-8.8.4/haskarchpriv-0.1.0.0/build/HaskArch/TLM2_hsc_make failed (exit code -11) rsp file was: “{proj_dir}/dist-newstyle/build/x86_64-osx/ghc-8.8.4/haskarchpriv-0.1.0.0/build/HaskArch/hsc2hscall86171-3.rsp" My project contains one *.hsc file, which is the target of the error above. How can I debug the cause of this? The “rsp” file is nowhere to be found; what is(was) it? And, is it a helpful debugging aid? If so, is there an option I can give, to preserve it? Thanks! -db

I think it's https://github.com/haskell/hsc2hs/issues/47 issue which is fixed but AFAIK not released. - Oleg On 23.6.2021 23.47, David Banas wrote:
I’m getting the following error in response to `cabal build`:
running {pros_dir}/dist-newstyle/build/x86_64-osx/ghc-8.8.4/haskarchpriv-0.1.0.0/build/HaskArch/TLM2_hsc_make failed (exit code -11) rsp file was: “{proj_dir}/dist-newstyle/build/x86_64-osx/ghc-8.8.4/haskarchpriv-0.1.0.0/build/HaskArch/hsc2hscall86171-3.rsp"
My project contains one *.hsc file, which is the target of the error above.
How can I debug the cause of this?
The “rsp” file is nowhere to be found; what is(was) it? And, is it a helpful debugging aid? If so, is there an option I can give, to preserve it?
Thanks! -db
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
participants (2)
-
David Banas
-
Oleg Grenrus