[Pkg-haskell-maintainers] Bug#770830: Bug#770830: haskell-src-exts: FTBFS for mips/mipsel, virtual memory exhausted

Dejan Latinovic Dejan.Latinovic at imgtec.com
Mon Nov 24 15:03:59 UTC 2014



Some packages, like haskell-src-exts, needs a lot of memory during compilation.
Unfortunately, this amount of memory is not available on all platforms,
and error: "virtual memory exhausted: Cannot allocate memory." could appear.

In this case possible solution could be using ggc-min-expand.
This parameter specifies the minimum percentage by which the
garbage collector’s heap should be allowed to expand between collections.
Tuning this may improve compilation speed; it has no effect on code generation.


Read more about this here:
http://hostingfu.com/article/compiling-with-gcc-on-low-memory-vps


Regards,
Dejan



________________________________________
From: Joachim Breitner [nomeata at debian.org]
Sent: Monday, November 24, 2014 2:39 PM
To: Dejan Latinovic; 770830 at bugs.debian.org
Subject: Re: [Pkg-haskell-maintainers] Bug#770830: haskell-src-exts: FTBFS for mips/mipsel, virtual memory exhausted

Hi,


Am Montag, den 24.11.2014, 13:23 +0000 schrieb Dejan Latinovic:
> Package: haskell-src-exts
> Version: 1.14.0.1-1
> Tags: sid patch
> Severity: important
> Justification: FTBFS
> User: debian-mips at lists.debian.org
> Usertags: mips-patch
>
>
> Packge haskell-src-exts FTBFS for mips and mipsel with an error:
> virtual memory exhausted: Cannot allocate memory.
>
> https://buildd.debian.org/status/logs.php?pkg=haskell-src-exts&ver=1.14.0.1-1&suite=sid
>
> Patch that fixes this issue is attached.
> With this patch I was able to successfully built
> haskell-src-exts for both mips and mipsel.
>
>
> Could you please consider including this patch?

great, thanks for the patch.

Could you explain a bit what it does, and why it works, so that when in
5 years someone looks as the code knows why it is there?

Greetings,
Joachim


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


More information about the Pkg-haskell-maintainers mailing list