[Pkg-haskell-maintainers] Bug#769377: haskell-devscripts: please mark as M-A:foreign

Johannes Schauer j.schauer at email.de
Thu Nov 13 08:52:23 UTC 2014


Hi,

Helmut Grohne corrected me that this is not that simple.

haskell-devscripts depends on ghc and specifically uses ghci for example to do
tests which should be carried out for the host architecture but are instead
being done for the build architecture. Example:

./usr/share/cdbs/1/class/hlibrary.mk:NO_GHCI_FLAG = $(shell test -e /usr/bin/ghci || echo --ghc-option=-DDEBIAN_NO_GHCI; exit 0)

So this requires quite some additional work which probably only makes sense to
do once haskell can be cross compiled in practice.

cheers, josch



More information about the Pkg-haskell-maintainers mailing list