Source: haskell-gio
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

The package haskell-gio fails to build from source on ppc64el, blocking
some other packages.

The patch attached, created by Colin Watson and applied on Ubuntu, works for
enabling the package for Debian.

The buildd log with the error can be seen at:
https://buildd.debian.org/status/fetch.php?pkg=haskell-gio&arch=ppc64el&ver=0.12.5.3-1&stamp=1410489086

Thanks and regards.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru haskell-gio-0.12.5.3/debian/changelog haskell-gio-0.12.5.3/debian/changelog
--- haskell-gio-0.12.5.3/debian/changelog	2014-04-06 08:48:20.000000000 +0000
+++ haskell-gio-0.12.5.3/debian/changelog	2014-09-18 17:56:16.000000000 +0000
@@ -1,3 +1,9 @@
+haskell-gio (0.12.5.3-1ppc64el1) UNRELEASED; urgency=medium
+
+  * Patch by Colin Watson to fix ftbfs - Work around predefined "bool" on some architectures.
+
+ -- Fernando Seiti Furusato <ferse...@br.ibm.com>  Thu, 18 Sep 2014 17:55:38 +0000
+
 haskell-gio (0.12.5.3-1) unstable; urgency=low
 
   * Adjust watch file to new hackage layout
diff -Nru haskell-gio-0.12.5.3/debian/patches/series haskell-gio-0.12.5.3/debian/patches/series
--- haskell-gio-0.12.5.3/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ haskell-gio-0.12.5.3/debian/patches/series	2014-09-18 17:55:17.000000000 +0000
@@ -0,0 +1 @@
+work-around-bool-define.patch
diff -Nru haskell-gio-0.12.5.3/debian/patches/work-around-bool-define.patch haskell-gio-0.12.5.3/debian/patches/work-around-bool-define.patch
--- haskell-gio-0.12.5.3/debian/patches/work-around-bool-define.patch	1970-01-01 00:00:00.000000000 +0000
+++ haskell-gio-0.12.5.3/debian/patches/work-around-bool-define.patch	2014-09-18 17:55:33.000000000 +0000
@@ -0,0 +1,10 @@
+Index: haskell-gio-0.12.5.3/gio.cabal
+===================================================================
+--- haskell-gio-0.12.5.3.orig/gio.cabal	2014-03-01 09:27:27.000000000 +0000
++++ haskell-gio-0.12.5.3/gio.cabal	2014-09-18 17:55:28.540009896 +0000
+@@ -83,3 +83,5 @@
+         x-Signals-Types: marshal.list
+         x-c2hs-Header:  gio/gio.h
+         pkgconfig-depends: gio-2.0 >= 2.16.4
++
++        cpp-options: -Ubool

Reply via email to