cabal "fails" with no explanation

stefan@stefans:/usr/local/src/xmonad$ runhaskell Setup.lhs clean -v5 cleaning... stefan@stefans:/usr/local/src/xmonad$ echo $? 1 stefan@stefans:/usr/local/src/xmonad$ ghc -V The Glorious Glasgow Haskell Compilation System, version 6.7.20070502 stefan@stefans:/usr/local/src/xmonad$ configure, build, and install all also work but return 1. The same issue is observed with X11-extras. Stefan

On Thu, 2007-05-03 at 19:19 -0700, Stefan O'Rear wrote:
stefan@stefans:/usr/local/src/xmonad$ runhaskell Setup.lhs clean -v5 cleaning... stefan@stefans:/usr/local/src/xmonad$ echo $? 1 stefan@stefans:/usr/local/src/xmonad$ ghc -V The Glorious Glasgow Haskell Compilation System, version 6.7.20070502 stefan@stefans:/usr/local/src/xmonad$
configure, build, and install all also work but return 1.
I cannot reproduce this. I'm using GHC-6.6 and latest darcs version of Cabal-1.1.7.
The same issue is observed with X11-extras.
I didn't try that one. Duncan

Stefan O'Rear wrote:
stefan@stefans:/usr/local/src/xmonad$ runhaskell Setup.lhs clean -v5 cleaning... stefan@stefans:/usr/local/src/xmonad$ echo $? 1 stefan@stefans:/usr/local/src/xmonad$ ghc -V The Glorious Glasgow Haskell Compilation System, version 6.7.20070502
That's a ghci regression. I've sent a patch to cvs-ghc for this but it's awaiting moderator's approval. you can find it at http://int-e.home.tlink.de/haskell/fix-ghci-exit-code.patch I guess I should open a trac ticket. Maybe tomorrow. HTH, Bertram

On Sat, May 05, 2007 at 04:24:12AM +0200, Bertram Felgenhauer wrote:
Stefan O'Rear wrote:
stefan@stefans:/usr/local/src/xmonad$ runhaskell Setup.lhs clean -v5 cleaning... stefan@stefans:/usr/local/src/xmonad$ echo $? 1 stefan@stefans:/usr/local/src/xmonad$ ghc -V The Glorious Glasgow Haskell Compilation System, version 6.7.20070502
That's a ghci regression. I've sent a patch to cvs-ghc for this but it's awaiting moderator's approval. you can find it at
http://int-e.home.tlink.de/haskell/fix-ghci-exit-code.patch
I guess I should open a trac ticket. Maybe tomorrow.
Sorry, but you're too late. I saw the patch on cvs-ghc@ a day or two ago and realized that was my problem. (thanks anyway) Stefan
participants (3)
-
Bertram Felgenhauer
-
Duncan Coutts
-
Stefan O'Rear