<div dir="ltr">Hi <span style="font-family:arial,sans-serif;font-size:13px">Dominick,</span><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">An "ExitFailure 1" is definitely not helpful and we should generally try to figure out what went wrong and print something more specific. One example where this happens if I recall correctly is if GHC runs out of RAM and exits, something that we could detect.</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">I think the best way forward right now is to file bugs for concrete cases where the error reporting is bad. Include what (you think) went wrong and what kind of error information would have been useful to you.</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">The bug tracker is at <a href="https://github.com/haskell/cabal/issues">https://github.com/haskell/cabal/issues</a></span></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 3:40 PM, Dominick Samperi <span dir="ltr"><<a href="mailto:djsamperi@gmail.com" target="_blank">djsamperi@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have seen the dreaded "ExitFailure 1" many times when a package fails to<br>
install (under Linux or Windows), and I wonder why something more helpful<br>
cannot be printed? Sometimes one gets a variant of this where the message<br>
is "this system is not compatible with this package," but the user must<br>
study the foo.cabal file to determine what is missing.<br>
<br>
Also, it seems that the only way to determine if a package will install under<br>
Windows is to try and hope for the best (often getting "ExitFailure 1" if it<br>
fails). Wouldn't it make more sense to tag packages with the OS and<br>
other dependencies and fail with a helpful message like "Windows not<br>
supported" if appropriate?<br>
<br>
It appears that some packages (like lens-4.1) have version dependencies<br>
that cannot be satisfied (at least not on my Linux and Windows boxes),<br>
so it appears that the Hackage hosting process suffers from a variant of<br>
the well-known "dll hell" problem.<br>
<br>
I tried the new (Cabal 1.18.0) sandbox feature but this did not help in my case.<br>
<br>
Any comments on these issues would be appreciated.<br>
<br>
Thanks,<br>
Dominick<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br></div>