Skip to content

haddock: panic! (the 'impossible' happened) (GHC version ...) initDs IOEnv failure

The tn23 builder

$ uname -a
Darwin thorkil-naurs-intel-mac-mini.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
$ 

presently fails with the message

"/Users/thorkilnaur/tn/builders/GHCBuilder/tn23/builder/tempbuild/build/inplace/bin/haddock" --odir="libraries/dph/dph-seq/dist-install/doc/html/dph-seq" --no-tmp-comp-dir --dump-interface=libraries/dph/dph-seq/dist-install/doc/html/dph-seq/dph-seq.haddock --html --hoogle --title="dph-seq-0.5.1.1: Data structures for the Data Parallel Haskell vectoriser" --prologue="libraries/dph/dph-seq/dist-install/haddock-prologue.txt" --hide=Data.Array.Parallel.PArr --hide=Data.Array.Parallel.PArray.Base --hide=Data.Array.Parallel.PArray.Scalar --hide=Data.Array.Parallel.PArray.ScalarInstances --hide=Data.Array.Parallel.PArray.PRepr --hide=Data.Array.Parallel.PArray.PReprInstances --hide=Data.Array.Parallel.PArray.PData --hide=Data.Array.Parallel.PArray.PDataInstances --hide=Data.Array.Parallel.PArray.Types --hide=Data.Array.Parallel.Lifted.PArray --hide=Data.Array.Parallel.Lifted.Unboxed --hide=Data.Array.Parallel.Lifted.Scalar --hide=Data.Array.Parallel.Lifted.TH.Repr --hide=Data.Array.Parallel.Lifted.Closure --hide=Data.Array.Parallel.Lifted.Combinators --hide=Data.Array.Parallel.Prelude.Tuple --hide=Data.Array.Parallel.Prelude.Bool --read-interface=../array-0.3.0.3,../array-0.3.0.3/src/%{MODULE/./-}.html\#%{NAME},libraries/array/dist-install/doc/html/array/array.haddock --read-interface=../base-4.4.0.0,../base-4.4.0.0/src/%{MODULE/./-}.html\#%{NAME},libraries/base/dist-install/doc/html/base/base.haddock --read-interface=../dph-base-0.5.2.0,../dph-base-0.5.2.0/src/%{MODULE/./-}.html\#%{NAME},libraries/dph/dph-base/dist-install/doc/html/dph-base/dph-base.haddock --read-interface=../dph-prim-seq-0.5.2.0,../dph-prim-seq-0.5.2.0/src/%{MODULE/./-}.html\#%{NAME},libraries/dph/dph-prim-seq/dist-install/doc/html/dph-prim-seq/dph-prim-seq.haddock --read-interface=../ghc-7.3.20111026,../ghc-7.3.20111026/src/%{MODULE/./-}.html\#%{NAME},compiler/stage2/doc/html/ghc/ghc.haddock --read-interface=../random-1.0.1.1,../random-1.0.1.1/src/%{MODULE/./-}.html\#%{NAME},libraries/random/dist-install/doc/html/random/random.haddock --read-interface=../template-haskell-2.6.0.0,../template-haskell-2.6.0.0/src/%{MODULE/./-}.html\#%{NAME},libraries/template-haskell/dist-install/doc/html/template-haskell/template-haskell.haddock --optghc=-H32m --optghc=-O --optghc=-package-name --optghc=dph-seq-0.5.1.1 --optghc=-hide-all-packages --optghc=-i --optghc=-ilibraries/dph/dph-seq/../dph-common --optghc=-ilibraries/dph/dph-seq/dist-install/build --optghc=-ilibraries/dph/dph-seq/dist-install/build/autogen --optghc=-Ilibraries/dph/dph-seq/dist-install/build --optghc=-Ilibraries/dph/dph-seq/dist-install/build/autogen --optghc=-Ilibraries/dph/dph-seq/. --optghc=-optP-include --optghc=-optPlibraries/dph/dph-seq/dist-install/build/autogen/cabal_macros.h --optghc=-package --optghc=array-0.3.0.3 --optghc=-package --optghc=base-4.4.0.0 --optghc=-package --optghc=dph-base-0.5.2.0 --optghc=-package --optghc=dph-prim-seq-0.5.2.0 --optghc=-package --optghc=ghc-7.3.20111026 --optghc=-package --optghc=random-1.0.1.1 --optghc=-package --optghc=template-haskell-2.6.0.0 --optghc=-Odph --optghc=-funbox-strict-fields --optghc=-fcpr-off --optghc=-fdph-this --optghc=-package-name --optghc=dph-seq --optghc=-XHaskell98 --optghc=-XTypeFamilies --optghc=-XGADTs --optghc=-XRankNTypes --optghc=-XBangPatterns --optghc=-XMagicHash --optghc=-XUnboxedTuples --optghc=-XTypeOperators --optghc=-O2 --optghc=-no-user-package-conf --optghc=-rtsopts --optghc=-odir --optghc=libraries/dph/dph-seq/dist-install/build --optghc=-hidir --optghc=libraries/dph/dph-seq/dist-install/build --optghc=-stubdir --optghc=libraries/dph/dph-seq/dist-install/build --optghc=-hisuf --optghc=hi --optghc=-osuf --optghc=o --optghc=-hcsuf --optghc=hc --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} libraries/dph/dph-seq/../dph-common/Data/Array/Parallel.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Lifted.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Prelude.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Prelude/Int.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Prelude/Word8.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Prelude/Float.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Prelude/Double.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/PArray.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Prim.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/PArr.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/PArray/Base.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/PArray/Scalar.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/PArray/ScalarInstances.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/PArray/PRepr.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/PArray/PReprInstances.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/PArray/PData.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/PArray/PDataInstances.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/PArray/Types.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Lifted/PArray.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Lifted/Unboxed.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Lifted/Scalar.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Lifted/TH/Repr.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Lifted/Closure.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Lifted/Combinators.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Prelude/Tuple.hs libraries/dph/dph-seq/../dph-common/Data/Array/Parallel/Prelude/Bool.hs
GHC error in desugarer lookup in dph-seq:Data.Array.Parallel.Prelude.Bool:
Can't find interface-file declaration for type constructor or class Data.Array.Parallel.PArray.Base.PArray
Probable cause: bug in .hi-boot file, or inconsistent .hi file
Haddock coverage:
0% ( 0 / 85) in 'Data.Array.Parallel.Lifted.Unboxed'
Use -ddump-if-trace to get an idea of which file caused the error
100% ( 17 / 17) in 'Data.Array.Parallel.PArray.PData'
90% ( 9 / 10) in 'Data.Array.Parallel.PArray.Types'
18% ( 3 / 17) in 'Data.Array.Parallel.PArray.PRepr'
12% ( 2 / 16) in 'Data.Array.Parallel.PArray.Scalar'
21% ( 4 / 19) in 'Data.Array.Parallel.PArray.Base'
15% ( 8 / 52) in 'Data.Array.Parallel.Lifted.PArray'
0% ( 0 / 6) in 'Data.Array.Parallel.Lifted.TH.Repr'
Warning: Data.Array.Parallel.PArray.ScalarInstances: Instances of type and data families are not yet supported. Instances of the following families will be filtered out:
PData
100% ( 1 / 1) in 'Data.Array.Parallel.PArray.ScalarInstances'
Warning: Data.Array.Parallel.PArray.PDataInstances: Instances of type and data families are not yet supported. Instances of the following families will be filtered out:
PData
57% ( 8 / 14) in 'Data.Array.Parallel.PArray.PDataInstances'
Warning: Data.Array.Parallel.PArray.PReprInstances: Instances of type and data families are not yet supported. Instances of the following families will be filtered out:
PRepr, PData
100% ( 1 / 1) in 'Data.Array.Parallel.PArray.PReprInstances'
Warning: Data.Array.Parallel.Lifted.Closure: Instances of type and data families are not yet supported. Instances of the following families will be filtered out:
PData, PRepr
79% ( 11 / 14) in 'Data.Array.Parallel.Lifted.Closure'
0% ( 0 / 3) in 'Data.Array.Parallel.Prelude.Tuple'
90% ( 18 / 20) in 'Data.Array.Parallel.Lifted.Scalar'
53% ( 20 / 38) in 'Data.Array.Parallel.Lifted.Combinators'
96% ( 25 / 26) in 'Data.Array.Parallel.PArray'
19% ( 11 / 58) in 'Data.Array.Parallel.Lifted'
0% ( 0 / 6) in 'Data.Array.Parallel.PArr'
46% ( 21 / 46) in 'Data.Array.Parallel.Prim'
haddock: panic! (the 'impossible' happened)
(GHC version 7.3.20111026 for i386-apple-darwin):
initDs IOEnv failure
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
make[1]: *** [libraries/dph/dph-seq/dist-install/doc/html/dph-seq/dph-seq.haddock] Error 1
make: *** [all] Error 2

This has been discussed in http://www.haskell.org/pipermail/cvs-ghc/2011-June/063049.html, http://www.haskell.org/pipermail/cvs-ghc/2011-June/063073.html, and http://www.haskell.org/pipermail/cvs-ghc/2011-June/063075.html. At the time of writing this, when building by hand, the tn23 build slave seems to run into this problem consistently.

Best regards Thorkil

Trac metadata
Trac field Value
Version 7.2.1
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