Skip to content

GHC panics when configuring base

$ wget http://hackage.haskell.org/packages/archive/base/4.0.0.0/base-4.0.0.0.tar.gz
--2009-02-19 19:54:31--  http://hackage.haskell.org/packages/archive/base/4.0.0.0/base-4.0.0.0.tar.gz
Resolving hackage.haskell.org... 69.30.63.197
Connecting to hackage.haskell.org|69.30.63.197|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 409339 (400K) [application/x-tar]
Saving to: `base-4.0.0.0.tar.gz'

100%[========================================================================================================>] 409,339     86.7K/s   in 5.6s    

2009-02-19 19:54:37 (71.8 KB/s) - `base-4.0.0.0.tar.gz' saved [409339/409339]

$ tar zxf base-4.0.0.0.tar.gz 
$ cd base-4.0.0.0
$ runhaskell Setup.hs configure

<interactive>:1:22:
    attempting to use module `System.IO' (System/IO.hs) which is not loaded

<interactive>:1:22: Not in scope: `System.IO.stderr'

<interactive>:1:22: Not in scope: `System.IO.stdin'
ghc-6.8.2: panic! (the 'impossible' happened)
  (GHC version 6.8.2 for i386-unknown-linux):
	interactiveUI:setBuffering

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

I am using Ubuntu 8.10 Linux 2.6.27-11-generic i686.

I am having trouble using cabal-install, and my real problem may lie there, but I thought I should report this anyway.

Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information