AMP failure

Austin Seipp austin at well-typed.com
Wed Sep 18 17:09:03 UTC 2013


Hm, somehow we missed an Applicative instance in HSCParser when I
applied David's patches, but I'm not sure how. I haven't seen this at
all during my validate runs...

I can push a fix momentarily.

On Wed, Sep 18, 2013 at 12:03 PM, Simon Peyton-Jones
<simonpj at microsoft.com> wrote:
> I think my tree is up to date but I’m getting this. Any ideas?
>
> simon
>
>
>
> "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O
> -Werror -Wall -H64m -O0    -package-name xhtml-3000.2.1 -hide-all-packages
> -i -ilibraries/xhtml/. -ilibraries/xhtml/dist-install/build
> -ilibraries/xhtml/dist-install/build/autogen
> -Ilibraries/xhtml/dist-install/build
> -Ilibraries/xhtml/dist-install/build/autogen -Ilibraries/xhtml/.
> -optP-include -optPlibraries/xhtml/dist-install/build/autogen/cabal_macros.h
> -package base-4.7.0.0 -Wall -XHaskell98 -XCPP -O2 -O -dcore-lint
> -fno-warn-amp  -fno-warn-deprecated-flags -Wwarn -ticky  -no-user-package-db
> -rtsopts      -odir libraries/xhtml/dist-install/build -hidir
> libraries/xhtml/dist-install/build -stubdir
> libraries/xhtml/dist-install/build -split-objs -dynamic-too -c
> libraries/xhtml/./Text/XHtml/Frameset/Elements.hs -o
> libraries/xhtml/dist-install/build/Text/XHtml/Frameset/Elements.o -dyno
> libraries/xhtml/dist-install/build/Text/XHtml/Frameset/Elements.dyn_o
>
> "inplace/bin/ghc-stage1" -hisuf dyn_hi -osuf  dyn_o -hcsuf dyn_hc -fPIC
> -dynamic  -H32m -O -Werror -Wall -H64m -O0    -hide-all-packages -i
> -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build
> -iutils/hsc2hs/dist-install/build/autogen -Iutils/hsc2hs/dist-install/build
> -Iutils/hsc2hs/dist-install/build/autogen     -optP-include
> -optPutils/hsc2hs/dist-install/build/autogen/cabal_macros.h -package
> base-4.7.0.0 -package containers-0.5.3.1 -package directory-1.2.0.1 -package
> filepath-1.3.0.2 -package process-1.2.0.0 -XHaskell98 -XCPP
> -XForeignFunctionInterface  -no-user-package-db -rtsopts      -odir
> utils/hsc2hs/dist-install/build -hidir utils/hsc2hs/dist-install/build
> -stubdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./HSCParser.hs -o
> utils/hsc2hs/dist-install/build/HSCParser.dyn_o
>
>
>
> utils/hsc2hs/HSCParser.hs:24:10: Warning:
>
>     ‛Parser’ is an instance of Monad but not Applicative - this will become
> an error in GHC 7.10, under the Applicative-Monad Proposal.
>
>
>
> utils/hsc2hs/HSCParser.hs:36:10: Warning:
>
>     ‛Parser’ is an instance of MonadPlus but not Alternative - this will
> become an error in GHC 7.10, under the Applicative-Monad Proposal.
>
>
>
> <no location info>:
>
> Failing due to -Werror.
>
> make[1]: *** [utils/hsc2hs/dist-install/build/HSCParser.dyn_o] Error 1
>
> make[1]: *** Waiting for unfinished jobs....
>
> make: *** [all] Error 2
>
> simonpj at cam-05-unx:~/5builds/HEAD$
>
>
>
> Microsoft Research Limited (company number 03369488) is registered in
> England and Wales
>
> Registered office is at 21 Station Road, Cambridge, CB1 2FB
>
>
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>



-- 
Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/



More information about the ghc-devs mailing list