tag 337868 pending

Hello,

I investigated a bit on that bug and found out that the above warning is
generated by the c preprocessor, which is used to generate the config
file for the altdata package.

The source file for this config contains this line:

  #if CABAL == 1 && GLASGOW_HASKELL > 604

The cpp call to process the file looks like that:

  cpp ... -DGLASGOW_HASKELL= ...

So the GLASGOW_HASKELL variable is empty and causes the preprocessor to
fail. The reason for the empty variable is the way config.mk tries to
determine the ghc version:

  echo 'main' | ghc --interactive ... t.hs

Unfortunately ghci (the interactive ghc) isn't available on alpha. In
fact it doesn't really work on any architecture except i386 and amd64.
See http://hackage.haskell.org/trac/ghc/ticket/631.

Therefor the fix is to build hs-plugins on the above architectures only.


-Flo

Attachment: signature.asc
Description: Digital signature

Reply via email to