Bug#1124748: ghc: not binNMU safe on armhf?

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Fri Jan 9 12:59:27 GMT 2026


Control: tags -1 +patch

Hi,

On Tue, 2026-01-06 at 10:28 +0000, Gianfranco Costamagna wrote:
> Hello, a binNMU on armhf shows that ghc can't build itself anymore...
> 
> checking for sh... /usr/bin/sh
> This GHC (/usr/bin/ghc) does not generate code for the build platform
>    GHC target platform    : armv7-unknown-linux
>    Desired build platform : arm-unknown-linux
>         tail -v -n \+0 config.log
> ==> config.log <==
> This file contains any messages produced by compilers while
> 
> 
> attached a log from amdahl

The attached patch fixes the problem for me. It's not an ideal solution as it
hardwires 32-bit ARM targets to armv7, but it should give us a rough idea what
the underlying problem is.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
-------------- next part --------------
A non-text attachment was scrubbed...
Name: armhf-arch-mapping.patch
Type: text/x-patch
Size: 867 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20260109/46fd0cf9/attachment.bin>


More information about the Pkg-haskell-maintainers mailing list