[Pkg-haskell-maintainers] Bug#783126: haskell-hxt-relaxng: FTBFS for mips/mipsel, virtual memory exhausted

Dejan Latinovic Dejan.Latinovic at imgtec.com
Wed Apr 22 17:29:17 UTC 2015



Package: haskell-hxt-relaxng
Version: 9.1.4-4
Tags: sid patch
Severity: important
Justification: FTBFS
User: debian-mips at lists.debian.org
Usertags: mips-patch


Packge haskell-hxt-relaxng FTBFS mips and mipsel with an error:
virtual memory exhausted: Cannot allocate memory.

https://buildd.debian.org/status/logs.php?pkg=haskell-hxt-relaxng&ver=9.1.4-4&arch=mipsel&suite=sid
https://buildd.debian.org/status/logs.php?pkg=haskell-hxt-relaxng&ver=9.1.4-4%2Bb1&arch=mips&suite=sid


Some packages, like haskell-hxt-relaxng, 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



Patch that fixes this issue is attached.
With this patch I was able to successfully built
haskell-hxt-relaxng for both mips and mipsel.


Could you please consider including this patch?



Regards,
Dejan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ggc-min-expand-for-mips.patch
Type: text/x-patch
Size: 607 bytes
Desc: ggc-min-expand-for-mips.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20150422/b621fd7d/attachment.bin>


More information about the Pkg-haskell-maintainers mailing list