[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Uhc-developers] Avoiding uuagc-bootstrap



Hi Jeroen,

Am Dienstag, den 06.11.2012, 00:06 +0100 schrieb Joachim Breitner:
> Hi Jeroen,
> 
> Am Montag, den 05.11.2012, 10:27 +0100 schrieb Jeroen Bransen:
> > In version 0.9.42.1, which is now on Hackage, both the AG sources and
> > generated Haskell sources are included. With a standard 'cabal
> > install' the generated Haskell sources are used and UUAGC is build as
> > any simple Haskell library. However, to build from sources you can now
> > do 'cabal install uuagc --ghc-options="-DEXTERNAL_UUAGC"' which of
> > course needs a "uuagc" executable to be available. This will ignore
> > the generated sources and build everything from AG source.
> 
> thanks! New Debian package using this infrastructure uploaded. The
> setting of configuration variables via CPP flags passed when building
> Setup is a bit unusual, but not a problem.

I tried to package 0.9.42.2 using -DEXTERNAL_UUAGC, but failed:
debian/hlibrary.setup build --builddir=dist-ghc
hlibrary.setup: <<loop>>

This happens with both uuagc-cabal-1.0.2.0 and the newer
uuagc-cabal-1.0.4.0.

A stack trace is not very informative:

*** Exception (reporting due to +RTS -xc): (THUNK_1_0), stack trace: 
  Main.CAF
*** Exception (reporting due to +RTS -xc): (THUNK_1_0), stack trace: 
  Main.CAF
*** Exception (reporting due to +RTS -xc): (THUNK_1_0), stack trace: 
  Main.CAF
*** Exception (reporting due to +RTS -xc): (THUNK_STATIC), stack trace: 
  Distribution.Simple.UUAGC.Parser.CAF
*** Exception (reporting due to +RTS -xc): (THUNK_STATIC), stack trace: 
  Distribution.Simple.UUAGC.Parser.CAF
*** Exception (reporting due to +RTS -xc): (CONSTR_2_0), stack trace: 
  Distribution.Simple.UUAGC.Parser.CAF
hlibrary.setup: <<loop>>

Can you reproduce the problem? Would it be possible to fix it?

Thanks,
Joachim



-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: