Package: ghc6
Version: 6.4.2-2
Severity: important
ghc 6.4.2 fails to build Streams-0.1.5 library
(http://www.haskell.org/haskellwiki/Library/Streams).
Earlyer ghc-6.4.1 successfuly built this library. The compilation aborts saying
...
./Data/AltBinary/TH.hs:57:28:
Template Haskell bracket illegal in a stage-1 compiler
'put_
...
-- System Information:
Debian Release: testing/unstable
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-powerpc
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to ru_RU.UTF-8)
Versions of packages ghc6 depends on:
ii gcc 4:4.0.3-3 The GNU C compiler
ii haskell-utils 1.6.0.1 Utilities used by the Debian Haske
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libgmp3-dev 4.2.dfsg-1 Multiprecision arithmetic library
ii libgmp3c2 4.2.dfsg-1 Multiprecision arithmetic library
ii libreadline5-dev 5.1-5 GNU readline and history libraries
ii perl [perl5] 5.8.8-6 Larry Wall's Practical Extraction
ghc6 recommends no packages.
-- no debconf information
Chasing modules from:
Data.Binary.BitAligned,Data.Binary.ByteAligned,Data.AltBinary,Data.Variables,Data.CharEncoding,Data.AltBinary.Instances,Data.AltBinary.TH,Data.AltBinary.Class,System.FD,System.MMFile,System.Stream.Instances,System.Stream.Transformer.FileBuffering,System.Stream.Transformer.CharEncoding,System.Stream.Transformer.UserData,System.Stream.Transformer.Locking,System.Stream.Transformer.MemoryBuffering,System.Stream.Transformers,System.Stream.Class,System.Stream.Binary,System.Stream.Utils,System.Stream
Skipping System.FD ( ./System/FD.hs, dist/build/System/FD.o )
Skipping Data.CharEncoding ( ./Data/CharEncoding.hs,
dist/build/Data/CharEncoding.o )
Skipping Data.Variables ( ./Data/Variables.hs, dist/build/Data/Variables.o )
Skipping System.MMFile ( ./System/MMFile.hs, dist/build/System/MMFile.o )
Skipping System.Stream.Class ( ./System/Stream/Class.hs,
dist/build/System/Stream/Class.o )
Skipping System.Stream.Instances ( ./System/Stream/Instances.hs,
dist/build/System/Stream/Instances.o )
Skipping System.Stream.Transformer.FileBuffering (
./System/Stream/Transformer/FileBuffering.hs,
dist/build/System/Stream/Transformer/FileBuffering.o )
Skipping System.Stream.Transformer.CharEncoding (
./System/Stream/Transformer/CharEncoding.hs,
dist/build/System/Stream/Transformer/CharEncoding.o )
Skipping System.Stream.Transformer.MemoryBuffering (
./System/Stream/Transformer/MemoryBuffering.hs,
dist/build/System/Stream/Transformer/MemoryBuffering.o )
Skipping System.Stream.Transformer.Locking (
./System/Stream/Transformer/Locking.hs,
dist/build/System/Stream/Transformer/Locking.o )
Skipping System.Stream.Transformer.UserData (
./System/Stream/Transformer/UserData.hs,
dist/build/System/Stream/Transformer/UserData.o )
Skipping System.Stream.Transformers ( ./System/Stream/Transformers.hs,
dist/build/System/Stream/Transformers.o )
Skipping System.Stream.Binary ( ./System/Stream/Binary.hs,
dist/build/System/Stream/Binary.o )
Skipping System.Stream.Utils ( ./System/Stream/Utils.hs,
dist/build/System/Stream/Utils.o )
Skipping System.Stream ( ./System/Stream.hs, dist/build/System/Stream.o )
Skipping Data.AltBinary.Class ( ./Data/AltBinary/Class.hs,
dist/build/Data/AltBinary/Class.o )
Skipping Data.AltBinary.Instances ( ./Data/AltBinary/Instances.hs,
dist/build/Data/AltBinary/Instances.o )
Compiling Data.AltBinary.TH ( ./Data/AltBinary/TH.hs,
dist/build/Data/AltBinary/TH.o )
./Data/AltBinary/TH.hs:57:28:
Template Haskell bracket illegal in a stage-1 compiler
'put_
./Data/AltBinary/TH.hs:58:28:
Template Haskell bracket illegal in a stage-1 compiler
'get
./Data/AltBinary/TH.hs:71:27:
Template Haskell bracket illegal in a stage-1 compiler
'Binary
./Data/AltBinary/TH.hs:94:49:
Template Haskell bracket illegal in a stage-1 compiler
[| \ _ _ -> return () |]
./Data/AltBinary/TH.hs:107:41:
Template Haskell bracket illegal in a stage-1 compiler
[| return () |]
./Data/AltBinary/TH.hs:108:41:
Template Haskell bracket illegal in a stage-1 compiler
[| putBits bits ($[splice]hvar) (constructorNum :: Int) |]
./Data/AltBinary/TH.hs:108:57:
Template Haskell splice illegal in a stage-1 compiler
hvar
./Data/AltBinary/TH.hs:110:21:
Template Haskell bracket illegal in a stage-1 compiler
[| return () |]
./Data/AltBinary/TH.hs:111:21:
Template Haskell bracket illegal in a stage-1 compiler
[| (put_ ($[splice]hvar) ($[splice]v)) >> ($[splice](f vars)) |]
./Data/AltBinary/TH.hs:111:29:
Template Haskell splice illegal in a stage-1 compiler
hvar
./Data/AltBinary/TH.hs:111:35:
Template Haskell splice illegal in a stage-1 compiler
v
./Data/AltBinary/TH.hs:111:41:
Template Haskell splice illegal in a stage-1 compiler
f vars
./Data/AltBinary/TH.hs:114:20:
Template Haskell bracket illegal in a stage-1 compiler
[| ($[splice]putbitsClause) >> ($[splice](f vars)) |]
./Data/AltBinary/TH.hs:114:23:
Template Haskell splice illegal in a stage-1 compiler
putbitsClause
./Data/AltBinary/TH.hs:114:41:
Template Haskell splice illegal in a stage-1 compiler
f vars
./Data/AltBinary/TH.hs:126:33:
Template Haskell bracket illegal in a stage-1 compiler
[| \ _ -> return (error "value of phantom type") |]
./Data/AltBinary/TH.hs:138:42:
Template Haskell bracket illegal in a stage-1 compiler
[| ($[splice]caseExp) 0 |]
./Data/AltBinary/TH.hs:138:46:
Template Haskell splice illegal in a stage-1 compiler
caseExp
./Data/AltBinary/TH.hs:139:42:
Template Haskell bracket illegal in a stage-1 compiler
[| do
(n :: Int) <- getBits bits ($[splice]hvar)
($[splice]caseExp) n |]
./Data/AltBinary/TH.hs:139:73:
Template Haskell splice illegal in a stage-1 compiler
hvar
./Data/AltBinary/TH.hs:139:81:
Template Haskell splice illegal in a stage-1 compiler
caseExp
./Data/AltBinary/TH.hs:153:25:
Template Haskell bracket illegal in a stage-1 compiler
[| return ($[splice]returnExpr) |]
./Data/AltBinary/TH.hs:153:35:
Template Haskell splice illegal in a stage-1 compiler
returnExpr
./Data/AltBinary/TH.hs:154:25:
Template Haskell bracket illegal in a stage-1 compiler
[| (get ($[splice]hvar)) >>= (\ x -> $[splice](f (n - 1) [| ... |])) |]
./Data/AltBinary/TH.hs:154:32:
Template Haskell splice illegal in a stage-1 compiler
hvar
./Data/AltBinary/TH.hs:154:49:
Template Haskell splice illegal in a stage-1 compiler
f (n - 1) [| $[splice]returnExpr x |]
./Data/AltBinary/TH.hs:154:59:
Template Haskell bracket illegal in a stage-1 compiler
[| $[splice]returnExpr x |]
./Data/AltBinary/TH.hs:154:61:
Template Haskell splice illegal in a stage-1 compiler
returnExpr