Bug#853285: closed by Clint Adams <clint at debian.org> (Bug#853285: fixed in ghc 8.0.2-3)

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Mon Aug 28 07:08:58 UTC 2017


On 08/03/2017 12:06 AM, John Paul Adrian Glaubitz wrote:
> Attaching an updated patch which has been tested to not break native builds.

Here's an updated patch for 8.0.2-9.

The patch still has the drawback that haskell-devscripts-minimal has to be
installed manually because it always tries to pull in the host version of
GHC which, of course, doesn't work when that is the version of GHC that one
is actually trying to bootstrap.

I tried fixing that by changing the dependency of haskell-devscripts-minimal
from "ghc" to "ghc:native". Unfortunately, dpkg doesn't seem to support
":native" in dependencies but only in build dependencies.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ghc-8.0.2-9_cross_compile_support.diff
Type: text/x-patch
Size: 13335 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20170828/52ed40b9/attachment-0002.bin>


More information about the Pkg-haskell-maintainers mailing list