Source: ghc
Version: 8.8.4-1
Severity: minor
Tags: patch

Hi,

a while ago, Adrian made ghc barely cross buildable. It still builds
something quite different from the regular ghc package, but it crosses
and the crossed thing seems to be able to build a native ghc.

One aspect that didnd't work out at all back then was the dependency on
haskell-devscripts-minimal. We told him, that no, we cannot mark it
Multi-Arch: foreign and we haven't moved forward on that aspect yet.
Therefore Adrian annotatd it "<!cross>". cross builds now need to supply
some haskell-devscripts-minimal to work. What changed since then is that
the apt and dpkg now allow annotating Architecture: all packages with
":native". I think doing so is a better workaround than "<!cross>".

It's a drop in the bucket. Can you apply it anyway?

Helmut
diff --minimal -Nru ghc-8.8.4/debian/changelog ghc-8.8.4/debian/changelog
--- ghc-8.8.4/debian/changelog  2020-08-11 16:12:43.000000000 +0200
+++ ghc-8.8.4/debian/changelog  2020-10-13 21:38:13.000000000 +0200
@@ -1,3 +1,10 @@
+ghc (8.8.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Simplify cross compilation workaround. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 13 Oct 2020 21:38:13 +0200
+
 ghc (8.8.4-1) unstable; urgency=medium
 
   * New upstream release
diff --minimal -Nru ghc-8.8.4/debian/control ghc-8.8.4/debian/control
--- ghc-8.8.4/debian/control    2020-05-28 16:01:41.000000000 +0200
+++ ghc-8.8.4/debian/control    2020-10-13 21:38:08.000000000 +0200
@@ -7,7 +7,7 @@
 Rules-Requires-Root: no
 Build-Depends:
   debhelper-compat (= 12),
-  haskell-devscripts-minimal <!cross>,
+  haskell-devscripts-minimal:native,
   devscripts,
   grep-dctrl,
   pkg-config,

Reply via email to