[Pkg-haskell-maintainers] Bug#654628: haskell-cmdargs: FTBFS on many arches: Template Haskell bracket illegal in a stage-1 compiler

Joachim Breitner nomeata at debian.org
Sat Jan 7 11:57:50 UTC 2012


Hi Neil,

alternatively, you can turn the executable into a test-suite, as
supported by Cabal-0.10, if you don’t mind that dependency bump. Then it
is not built by default.

Greetings,
Joachim


Am Samstag, den 07.01.2012, 11:31 +0000 schrieb Neil Mitchell:
> If you turn of both testprog and quotation it should work. I'll change
> the .cabal file so that is automatic in future. 
> 
> Thanks, Neil 
> 
> On Friday, January 6, 2012, Clint Adams <clint at debian.org> wrote:
> > On Thu, Jan 05, 2012 at 06:04:19AM +0000, Neil Mitchell wrote:
> >> Note that while CmdArgs 0.9 introduces a dependency on TH, it's
> only
> >> optional. If you disable the cabal flag "quotation" then it will
> build
> >> without template-haskell, so should still work fine on ARM.
> >
> > I tried this with cmdargs 0.9, but
> >
> > Flags chosen: quotation=False, testprog=True
> > [...]
> > [23 of 23] Compiling System.Console.CmdArgs
> ( System/Console/CmdArgs.hs, dist-ghc/build/System/Console/CmdArgs.p_o
> )
> > Registering cmdargs-0.9...
> >
> > System/Console/CmdArgs/Quote.hs:61:8:
> >    Could not find module `Language.Haskell.TH':
> >      It is a member of the hidden package `template-haskell'.
> >      Perhaps you need to add `template-haskell' to the build-depends
> in your .cabal file.
> >      Use -v to see a list of the files searched for.
> >
> > Any idea why this is happening?
> >
> > (See
> https://buildd.debian.org/status/fetch.php?pkg=haskell-cmdargs&arch=armel&ver=0.9-3&stamp=1325810596
> > for a more complete log)
> >

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20120107/54d58496/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list