You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Idris's setup program started segfaulting recently. I'm quite baffled as to what's going on here—the only thing I can say for sure is that a custom Setup.hs is definitely required to trigger this bug. I have a cabal-gh4367 repo which attempts to minimize the steps needed to reproduce the error. You can see the segfault happen yourself on this most recent Travis run. Note that it happens on every version of GHC except for GHC 8.0.2, for some reason.
The issue seems to be related to installing a more recent version of process than what is bundled with a particular version of GHC, as I can now reproduce the issue with a very minimal .cabal file:
Library
Build-depends: base >=4 && <5
, process > 1.4.3.0
A workaround is to install a more recent version of Cabal alongside process.
This sounds very similar to a segfault that I got when building cabal, #3216. I had installed process-1.4.2.0 in the user database, and Cabal depended on an older process.
EDIT: new-build and a custom-setup section would force consistent dependencies for the setup script.
Idris's setup program started segfaulting recently. I'm quite baffled as to what's going on here—the only thing I can say for sure is that a custom
Setup.hs
is definitely required to trigger this bug. I have acabal-gh4367
repo which attempts to minimize the steps needed to reproduce the error. You can see the segfault happen yourself on this most recent Travis run. Note that it happens on every version of GHC except for GHC 8.0.2, for some reason.Here's an excerpt from the GHC 7.10.3 run:
Here's the
Setup.hs
file in question. Nothing seems terribly out of the ordinary... do you have any idea what might be causing this?The text was updated successfully, but these errors were encountered: