Your message dated Sun, 13 Oct 2013 09:18:58 +0000
with message-id <[email protected]>
and subject line Bug#726173: fixed in haskell-distributive 0.3-3
has caused the Debian Bug report #726173,
regarding fix build on arches w/o ghci
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.)


-- 
726173: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726173
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: haskell-distributive
Version: 0.3
Severity: normal
Tags: patch

The FTBFS on armel etc occurs because of a ghc annotation. Attached
patch disables that annotation on arches without ghci.
This is a prerequisite for doing something simliar with lens.

I'm not sure what, if anything uses this particular annotation.
It may break something somewhere to disable it, but:
A) Any breakage will be limited to arches where it doesn't build at all now.
B) I've successfully used this change for quite some time to make
   distributive build for Android, and it all seems to work.

-- 
see shy jo
From ef79f8fbbff8501b99ff08addfef752176f61117 Mon Sep 17 00:00:00 2001
From: Joey Hess <[email protected]>
Date: Sat, 12 Oct 2013 22:26:45 -0400
Subject: [PATCH] fix build on armel

---
 distributive.cabal       |    1 +
 src/Data/Distributive.hs |    4 ++++
 2 files changed, 5 insertions(+)

diff --git a/distributive.cabal b/distributive.cabal
index 316962a..562f99a 100644
--- a/distributive.cabal
+++ b/distributive.cabal
@@ -37,6 +37,7 @@ library
 
   hs-source-dirs:  src
   exposed-modules: Data.Distributive
+  extensions: CPP
 
   if flag(lib-Werror)
     ghc-options: -Werror
diff --git a/src/Data/Distributive.hs b/src/Data/Distributive.hs
index 6f5613d..171ec2f 100644
--- a/src/Data/Distributive.hs
+++ b/src/Data/Distributive.hs
@@ -15,6 +15,8 @@ module Data.Distributive
   , comapM
   ) where
 
+{-# LANGUAGE CPP #-}
+
 import Control.Applicative
 import Control.Applicative.Backwards
 import Control.Monad (liftM)
@@ -26,7 +28,9 @@ import Data.Functor.Identity
 import Data.Functor.Product
 import Data.Functor.Reverse
 
+#ifndef DEBIAN_NO_GHCI
 {-# ANN module "ignore Use section" #-}
+#endif
 
 -- | This is the categorical dual of 'Traversable'. However, there appears
 -- to be little benefit to allow the distribution via an arbitrary comonad
-- 
1.7.10.4

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: haskell-distributive
Source-Version: 0.3-3

We believe that the bug you reported is fixed in the latest version of
haskell-distributive, 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-distributive 
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: SHA1

Format: 1.8
Date: Sun, 13 Oct 2013 10:49:10 +0200
Source: haskell-distributive
Binary: libghc-distributive-dev libghc-distributive-prof libghc-distributive-doc
Architecture: source all amd64
Version: 0.3-3
Distribution: unstable
Urgency: low
Maintainer: Debian Haskell Group 
<[email protected]>
Changed-By: Joachim Breitner <[email protected]>
Description: 
 libghc-distributive-dev - Haskell 98 Distributive functors -- Dual to 
Traversable${haskell:
 libghc-distributive-doc - Haskell 98 Distributive functors -- Dual to 
Traversable${haskell:
 libghc-distributive-prof - Haskell 98 Distributive functors -- Dual to 
Traversable${haskell:
Closes: 726173
Changes: 
 haskell-distributive (0.3-3) unstable; urgency=low
 .
   * Adjust watch file to new hackage layout
   * Let it build without GHCi (thx to Joey Hess for the patch) (Closes:
     #726173)
Checksums-Sha1: 
 456c01e39a8ffa6672c90447a3af9dba38497d97 1751 haskell-distributive_0.3-3.dsc
 8d02621493c5184a3dfec45135a5f6107ae1b08a 3259 
haskell-distributive_0.3-3.debian.tar.gz
 fd21dcf486ad97b421f88be7e2bcf83f5e6db071 29952 
libghc-distributive-doc_0.3-3_all.deb
 6549b1024d27ed6cf61cc7806e5c51d15148994d 21016 
libghc-distributive-dev_0.3-3_amd64.deb
 169595e0e60da378b2d124b1805226478e961978 27476 
libghc-distributive-prof_0.3-3_amd64.deb
Checksums-Sha256: 
 4b62228507760382d556abd2077e227a7700a019e29343965e6ee3ec2457dc4c 1751 
haskell-distributive_0.3-3.dsc
 1fd0458b6fd97a241a78e7b8fbc934a309d8fc5e000df18ca409bee813ff962b 3259 
haskell-distributive_0.3-3.debian.tar.gz
 0bfe06d6c93276dce5013977af974fd97ed46d697c8ac6dd3b58edd7995caa17 29952 
libghc-distributive-doc_0.3-3_all.deb
 9eab33ef42a747b2fcd4e3f35a8157131efb9beec2d8c8a48c84c1b108fc7224 21016 
libghc-distributive-dev_0.3-3_amd64.deb
 6b585fae14e58590da2f33db415f689b48c667f5959d6e6767ff24e3a48a74dc 27476 
libghc-distributive-prof_0.3-3_amd64.deb
Files: 
 e4c6a9ffef41cadf1f3df58804998cd8 1751 haskell extra 
haskell-distributive_0.3-3.dsc
 60f13dd5b670261a89e410e61aaf0254 3259 haskell extra 
haskell-distributive_0.3-3.debian.tar.gz
 9ee34a4a61844c663418514bc89c69a3 29952 doc extra 
libghc-distributive-doc_0.3-3_all.deb
 b815eeb77799c55da9ad4bad26c2c704 21016 haskell extra 
libghc-distributive-dev_0.3-3_amd64.deb
 85248007e3c99433e85872b81aaab55c 27476 haskell extra 
libghc-distributive-prof_0.3-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iEYEARECAAYFAlJaYmUACgkQ9ijrk0dDIGxr4wCfVJJkP5IkYTLwK1mdS636MJNt
et8AnA+BUVT+7yZkSTIhIn3q7t6ihpDS
=6I9w
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to