Package: haskell-src-exts Version: 1.14.0.1-1 Tags: sid patch Severity: important Justification: FTBFS User: [email protected] 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? Regards, Dejan
diff -uNr haskell-src-exts-1.14.0.1.orig/debian/rules haskell-src-exts-1.14.0.1/debian/rules --- haskell-src-exts-1.14.0.1.orig/debian/rules 2012-10-13 11:42:14.000000000 +0000 +++ haskell-src-exts-1.14.0.1/debian/rules 2014-11-20 16:17:01.000000000 +0000 @@ -2,7 +2,15 @@ DEB_CABAL_PACKAGE=src-exts DEB_BUILD_DEPENDENCIES = build-arch -DEB_SETUP_GHC6_CONFIGURE_ARGS = --ghc-options="+RTS -V0 -RTS" + +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel)) + DEB_SETUP_GHC6_CONFIGURE_ARGS = --ghc-options="+RTS -V0 -RTS -optc--param -optcggc-min-expand=10" +else + DEB_SETUP_GHC6_CONFIGURE_ARGS = --ghc-options="+RTS -V0 -RTS" +endif + include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk

