On 29 Aug 2017, at 22:16, John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> wrote: > On 08/29/2017 11:12 PM, Gianfranco Costamagna wrote: >>> Here's an updated patch for 8.0.2-9. >> committed (I don't even know how to test it properly) on git, but obviously >> not uploaded. > > Thanks! You can easily test it by performing a regular GHC testbuild on a > porterbox as > well as a cross-build by just passing "--host=armhf" on the sbuild command > line. > > Unfortunately, as previously explained, one still has to preinstall > haskell-devscripts-minimal > in the build chroot used for cross-compiling (this is a limitation of dpkg > that I will > file a bug report for), but at least bootstrapping GHC for a new architecture > is much > easier now.
I believe is this because haskell-devscripts-minimal is arch:all, so any architecture information does not propagate through. If my understanding is correct, making haskell-devscripts-minimal an arch:any package and using a :native Build-Depends on haskell-devscripts-minimal would fix this, but I'm sure Helmut can clarify? James