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

Re: src-exts failing on many architectures


Am Sonntag, den 20.06.2010, 10:35 +0200 schrieb Giovanni Mascellani:
> Il 19/06/2010 22:22, Joachim Breitner ha scritto:
> > The cause is probably
> > http://hackage.haskell.org/trac/ghc/ticket/4074
> > which is fixed upstream. It could be ported to ghc6-6.12, but it is not
> > clear if this is a good idea before the release.
> > 
> > Probably removing the -prof package is worth a try.
> Ok, I can try a few debugging on some Debian machine. Anyway, it's still
> not entirely clear which is the procedure for the missing build
> dependency: should I ask the DMA to install them in the chroot I'll use
> and then ask again to remove them when I'm finished, or is there some
> automated procedure I couldn't spot out?

You just ask them to install the dependency. It gets installed pretty
fast usually. I don’t think you explicitly ask for removal, AFAIK they
clean up from time to time.

I just went through the failing builds logs:
alpha armel mips:
These fail in the -prof stage.

hppa mipsel
These fail in the -dev stage.

This fails in the -dev stage with “virtual memory exhausted”. s390 has
only a 31bit address space, which is not enough independent of the #4074

Judging from this, removing the -prof package does not really fix the
problem. I’m inclined to say that tough luck, the package (in
combination with our compiler) is not in shape for a stable release and
we just leave it like this. For squeeze+1, we’ll hopefully have a fixed

If someone is really interested in it, one can try to optimize the
actual haskell-src-exts code some more to require less memory by the
compiler, e.g. preventing heavy inlining, as I did with
highlighting-kate¹. Back then I had a quick look at src-exts, but did
not see any obvious tricks. Maybe some ghc6 options can also make it
behave better. You can test the effects locally by setting
$ ulimit -S -v 1000000
before building src-exts.


¹ http://lists.debian.org/debian-haskell/2010/03/msg00052.html

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: