Your message dated Sun, 5 Jul 2009 13:17:45 +0300
with message-id <[email protected]>
and subject line Streams library seems to be dead upstream
has caused the Debian Bug report #376702,
regarding ghc6: Fails to build Streams-0.1.5
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
376702: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376702
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
As far as I can tell, Streams has been abandoned by upstream. The
download links at http://www.haskell.org/haskellwiki/Library/Streams
are dead. It makes a bit hard to try to do anything about this.
IMHO the ghc6 package wasn't really the proper place for this bug
report in the first place. I'd say that this was a deliberate API
change in GHC, and the library would have needed to be updated instead
of fixing ghc6 to support the old API. Especially in something as
experimental (at the time, at least) as template haskell.
And the last changelog entry on the wiki page says that the library
was updated to work with 6.6. I don't know if it would work with
6.10.3 anymore, but that may be a moot question anyway.
I'm closing this bug.
--- End Message ---