Your message dated Tue, 28 Apr 2015 13:52:57 +0000
with message-id <[email protected]>
and subject line Bug#783126: fixed in haskell-hxt-relaxng 9.1.5.5-3
has caused the Debian Bug report #783126,
regarding haskell-hxt-relaxng: FTBFS for mips/mipsel, virtual memory exhausted
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
783126: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783126
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---

Package: haskell-hxt-relaxng
Version: 9.1.4-4
Tags: sid patch
Severity: important
Justification: FTBFS
User: [email protected]
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
diff -uNr haskell-hxt-relaxng-9.1.4.orig/debian/rules haskell-hxt-relaxng-9.1.4/debian/rules
--- haskell-hxt-relaxng-9.1.4.orig/debian/rules	2012-10-13 11:31:40.000000000 +0000
+++ haskell-hxt-relaxng-9.1.4/debian/rules	2015-04-17 15:34:52.000000000 +0000
@@ -1,4 +1,10 @@
 #!/usr/bin/make -f
 
+DEB_BUILD_ARCH     ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
+        DEB_SETUP_GHC6_CONFIGURE_ARGS = --ghc-options="-optc--param -optcggc-min-expand=10"
+endif
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk

--- End Message ---
--- Begin Message ---
Source: haskell-hxt-relaxng
Source-Version: 9.1.5.5-3

We believe that the bug you reported is fixed in the latest version of
haskell-hxt-relaxng, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joachim Breitner <[email protected]> (supplier of updated haskell-hxt-relaxng 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 28 Apr 2015 11:02:58 +0200
Source: haskell-hxt-relaxng
Binary: libghc-hxt-relaxng-dev libghc-hxt-relaxng-prof libghc-hxt-relaxng-doc
Architecture: source all amd64
Version: 9.1.5.5-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group 
<[email protected]>
Changed-By: Joachim Breitner <[email protected]>
Description:
 libghc-hxt-relaxng-dev - HXT RelaxNG validator${haskell:ShortBlurb}
 libghc-hxt-relaxng-doc - HXT RelaxNG validator${haskell:ShortBlurb}
 libghc-hxt-relaxng-prof - HXT RelaxNG validator${haskell:ShortBlurb}
Closes: 783126
Changes:
 haskell-hxt-relaxng (9.1.5.5-3) unstable; urgency=medium
 .
   * Pass gcc-min-expand on mips (Closes: #783126). Thanks to Dejan Latinovic
     for the patch.
Checksums-Sha1:
 87da2939e3a54102aeead98d062708ef980a05e6 2524 haskell-hxt-relaxng_9.1.5.5-3.dsc
 7daba2ebbc451f2e1aaf722b75ebf0c409724abc 2576 
haskell-hxt-relaxng_9.1.5.5-3.debian.tar.xz
 0c90ccebfcf71303b3027bb12d6fb2159ae036d0 6326 
libghc-hxt-relaxng-doc_9.1.5.5-3_all.deb
 f9e36d63bd30f35c6bf763e370e9c86cc4ea72ba 669768 
libghc-hxt-relaxng-dev_9.1.5.5-3_amd64.deb
 ceb441b8c56ba75970d3ee099e07fd1f645289f9 613248 
libghc-hxt-relaxng-prof_9.1.5.5-3_amd64.deb
Checksums-Sha256:
 40f78d39ecb3caffc659c018bdd23efad901822ba77e7404441edfa0ff2cc957 2524 
haskell-hxt-relaxng_9.1.5.5-3.dsc
 b4b0ef55588add9048b99529bb4f7b9fa965aef67397406513125e7c71859f14 2576 
haskell-hxt-relaxng_9.1.5.5-3.debian.tar.xz
 1b2f65c79255b17a39f47020b34c0fb4dea4c0856a2ae8f66fc1f0811dac0df3 6326 
libghc-hxt-relaxng-doc_9.1.5.5-3_all.deb
 cfa43e0cfa00a27327b7787bd49767372f425da005a28690fffc91dae4a6dc23 669768 
libghc-hxt-relaxng-dev_9.1.5.5-3_amd64.deb
 5736d2bb7bb4b36f25bc28a2a9ebed8a5a57f3cae4941d3334a1b87dba6622db 613248 
libghc-hxt-relaxng-prof_9.1.5.5-3_amd64.deb
Files:
 97c1868bf4f2f248dbed65ce474e74e6 2524 haskell extra 
haskell-hxt-relaxng_9.1.5.5-3.dsc
 bf4789394e136d91be9640f266b39c3f 2576 haskell extra 
haskell-hxt-relaxng_9.1.5.5-3.debian.tar.xz
 d5aed3ee3be29072f750e0f36db4cad8 6326 doc extra 
libghc-hxt-relaxng-doc_9.1.5.5-3_all.deb
 2066debc2a3dbb91b2ec80bdc8704ff0 669768 haskell extra 
libghc-hxt-relaxng-dev_9.1.5.5-3_amd64.deb
 7ca90aae2a3c9fd9b52c048e4a1ae3af 613248 haskell extra 
libghc-hxt-relaxng-prof_9.1.5.5-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVP43pAAoJED2QirPw+/Uf5mcP/2lXhH/h31nyZqTZziQQP5pB
lPRH/ZmkiB1tPbkuaZ2raK1Cg3rZhMyz3xfWEBqO539M62yk26f86v6ZaRrYzfE4
8rerO2mjAxlYlqjEgyCJ2MkF9tRVGk14OAgQIaA93/neKkuyue3ZHuuyhReHVy+h
j4JImeseR2CVNz8kfPvvRTa+Tn+wfuafWk3LdgucvJvuTxXcRPPC41uLMRjcRjpw
dQkdp28V7+4oNR1Z7F43QH+tRRWVqL7PGiHKm93p494SM206x/TkDtjpeUojtMmL
dOwi23VR5qaNNCcPwHU3eT5Yt6oQPCzUggtc3BjAtcSH2fCqm9g7nQQaq0JrA8ly
Dv4OsVU/HlfbVHnoHjHJpctaUAWHMfBBIHxt2CtGY/61i+ciSYEmhQpT8PaML9m3
TBMY+O7aIVLGxXXMGINIt2ltaZd680rFFH75zburu0TQ3bV1LIDkd+OT+TFHapmW
gMr8gq33n5TRw3lct7tFSEZCFCocznodLybe4XRGrSVBr/+1TnhSW2vI2K1A2Cei
+46LwzmhAOmM5rq0BAkHsdpCqHS8ORI8vq8HS0cMH7BJ8UtcZdKKhJl2OIwEt3e+
OvybWTHvFaS5e9kWzPXA5qQ+4/HPNiF4dkursRFNbxjdTIge1Y28NUF8A1bB5CeT
7ELR2ZBhRq7KCSzGgcOB
=Rcgn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to