[DHG_packages] 01/01: http-link-header: disable parallel build on powerpc/ppc64el/ppc64

Sean Whitton spwhitton at spwhitton.name
Sat Sep 23 20:48:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

spwhitton pushed a commit to annotated tag haskell-http-link-header_v1.0.3-4
in repository DHG_packages.

commit d38a2ba71995f00306a46ba3c542d813d6db6250
Author: Sean Whitton <spwhitton at spwhitton.name>
Date:   Sat Sep 23 13:46:07 2017 -0700

    http-link-header: disable parallel build on powerpc/ppc64el/ppc64
---
 p/haskell-http-link-header/debian/changelog | 9 +++++++++
 p/haskell-http-link-header/debian/rules     | 6 ++++++
 2 files changed, 15 insertions(+)

diff --git a/p/haskell-http-link-header/debian/changelog b/p/haskell-http-link-header/debian/changelog
index 15f692b..58a8a1c 100644
--- a/p/haskell-http-link-header/debian/changelog
+++ b/p/haskell-http-link-header/debian/changelog
@@ -1,3 +1,12 @@
+haskell-http-link-header (1.0.3-4) unstable; urgency=medium
+
+  [ Frédéric Bonnard ]
+  * debian/rules : disable parallel build on powerpc/ppc64el/ppc64 while
+    waiting for fix of https://ghc.haskell.org/trac/ghc/ticket/12537
+    (Closes: #876440)
+
+ -- Sean Whitton <spwhitton at spwhitton.name>  Sat, 23 Sep 2017 13:46:24 -0700
+
 haskell-http-link-header (1.0.3-3) unstable; urgency=medium
 
   * debian/patches/59c4bf5c8b2cffb7b293bbc034310914a6c3bd20.patch:
diff --git a/p/haskell-http-link-header/debian/rules b/p/haskell-http-link-header/debian/rules
index e7a1cf3..871d0ba 100755
--- a/p/haskell-http-link-header/debian/rules
+++ b/p/haskell-http-link-header/debian/rules
@@ -14,4 +14,10 @@ include /usr/share/cdbs/1/class/hlibrary.mk
 # Dh_Haskell.sh, so just point it to a writable HOME for now.
 export HOME=$(CURDIR)/debian/cabalconfig
 
+# workaround to prevent some random failures on power while waiting for :
+# https://ghc.haskell.org/trac/ghc/ticket/12537
+ifneq (,$(findstring $(DEB_HOST_ARCH), powerpc ppc64 ppc64el))
+DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-j1"
+endif
+
 check-ghc-stamp: export LC_ALL := C.UTF-8

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list