Hello,

Some time ago Joey suggested uploading something like the attached to
try to debug the build failures of 8.20211123 on the 32-bit ARM archs.
However, it has not been possible to do this for some months because the
Haskell transition is stalled on those architectures.  I'm sending this
mail primarily in order to store this work somewhere public.  However,
we don't know whether the bug still exists, with so much of the Haskell
ecosystem having been updated recently, including git-annex.

My plan is to ask ftpmaster to remove git-annex on armel and armhf and
then downgrade the severity of this bug.  For the time being, we don't
know whether Debian can support git-annex on armel & armhf for bookworm.

-- 
Sean Whitton
From 51e38d17b0f8914f78c3e5f27819016d9bfe1750 Mon Sep 17 00:00:00 2001
From: Sean Whitton <spwhit...@spwhitton.name>
Date: Mon, 18 Jul 2022 15:19:36 -0700
Subject: [PATCH] Add 'ghc -e' command to override_dh_auto_build

---
 debian/changelog | 7 +++++++
 debian/rules     | 1 +
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 37b6401af..ee0a9ce9a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+git-annex (10.20220724-1+exp1) experimental; urgency=medium
+
+  * Add 'ghc -e' command to override_dh_auto_build.
+    Suggestion from upstream for solving an apparently buildd-specific bug.
+
+ -- Sean Whitton <spwhit...@spwhitton.name>  Sun, 21 Aug 2022 15:23:50 -0700
+
 git-annex (10.20220724-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index a9c5aff8d..06af0db93 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,6 +35,7 @@ export ZSH_COMPLETIONS_PATH=/usr/share/zsh/vendor-completions
 ifeq ($(STANDALONE_BUILD),1)
 
 override_dh_auto_build:
+	ghc -e 'import DBus.Client' -e 'print DBus.Client.addMatch' || true
 	make linuxstandalone GIT_ANNEX_PACKAGE_INSTALL=1
 
 override_dh_auto_install:
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature

Reply via email to