Re: Bug#654628: haskell-cmdargs: FTBFS on many arches: Template Haskell bracket illegal in a stage-1 compiler
Oh, and I've just released cmdargs-0.9.2 where the test program is
only built if quotation is turned on. Hopefully that should be all the
problems with packaging cmdargs gone, but do let me know if you find
On Sat, Jan 7, 2012 at 8:09 PM, Neil Mitchell <firstname.lastname@example.org> wrote:
> Hi Joachim,
> Thanks for the suggestion. However, there are three reasons I'm not
> going to the test-suite pragma for a while:
> 1) I was the first user of the original Cabal test suite stuff (5
> years ago, I guess). I got burned on every single one of my packages.
> This time, I'm going to be the last person arriving at the test suite
> party :)
> 2) Cabal 1.9.2 is too high a dependency for the moment, but give it a
> couple of years and it will be fine.
> 3) Some of my tests are both examples and tests - but perhaps this
> reason isn't too critical (I can't imagine many people running cmdargs
> that often).
> Thanks, Neil
> On Sat, Jan 7, 2012 at 11:57 AM, Joachim Breitner <email@example.com> wrote:
>> 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.
>> 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 <firstname.lastname@example.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
>>> >> optional. If you disable the cabal flag "quotation" then it will
>>> >> 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
>>> > for a more complete log)
>> Joachim "nomeata" Breitner
>> Debian Developer
>> email@example.com | ICQ# 74513189 | GPG-Keyid: 4743206C
>> JID: firstname.lastname@example.org | http://people.debian.org/~nomeata