The build is broken (Solaris/x86, FreeBSD/{i386,amd64})

Páli Gábor János pali.gabor at gmail.com
Mon Apr 14 07:15:42 UTC 2014


The failing command:

"inplace/bin/ghc-stage2" -hisuf dyn_hi -osuf  dyn_o -hcsuf dyn_hc
-fPIC -dynamic  -H32m -O    -hide-all-packages -i
-iutils/haddock/driver -iutils/haddock/src
-iutils/haddock/vendor/attoparsec-0.10.4.0 -iutils/haddock/dist/build
-iutils/haddock/dist/build/autogen -Iutils/haddock/dist/build
-Iutils/haddock/dist/build/autogen    -optP-DIN_GHC_TREE -optP-include
-optPutils/haddock/dist/build/autogen/cabal_macros.h -package
Cabal-1.18.1.3 -package array-0.5.0.0 -package base-4.7.0.0 -package
bytestring-0.10.4.0 -package containers-0.5.5.1 -package
deepseq-1.3.0.2 -package directory-1.2.1.0 -package filepath-1.3.0.2
-package ghc-7.9.20140414 -package xhtml-3000.2.1
-funbox-strict-fields -Wall -fwarn-tabs -O2 -XHaskell2010
-no-user-package-db -rtsopts      -odir utils/haddock/dist/build
-hidir utils/haddock/dist/build -stubdir utils/haddock/dist/build   -c
utils/haddock/src/Haddock/Interface/Create.hs -o
utils/haddock/dist/build/Haddock/Interface/Create.dyn_o
utils/haddock/src/Haddock/Interface/Create.hs:367:44:
    Couldn't match type 'GenLocated SrcSpan (HsBindLR Name Name)'
                  with '(a1, Located (HsBind id))'
    Expected type: TyClDecl Name -> Bag (a1, Located (HsBind id))
      Actual type: TyClDecl Name -> LHsBinds Name
    Relevant bindings include
      defs :: [Located (HsDecl id)]
        (bound at utils/haddock/src/Haddock/Interface/Create.hs:367:5)
    In the second argument of '(.)', namely 'tcdMeths'
    In the second argument of '(.)', namely 'bagToList . tcdMeths'
utils/haddock/src/Haddock/Interface/Create.hs:393:22:
    Couldn't match type 'GenLocated SrcSpan (HsBindLR Name Name)'
                  with '(a0, Located (HsBind Name))'
    Expected type: HsValBindsLR Name Name
                   -> [(a0, Located (HsBind Name))]
      Actual type: HsValBindsLR Name Name -> [LHsBindLR Name Name]
    In the first argument of '(.)', namely 'valbinds'
    In the second argument of '(.)', namely 'valbinds . hs_valds'
gmake[1]: *** [utils/haddock/dist/build/Haddock/Interface/Create.dyn_o] Error 1
gmake: *** [all] Error 2

Please consult the details at

http://haskell.inf.elte.hu/builders/solaris-x86-head/28/10.html


More information about the ghc-devs mailing list