[GHC] #8320: Build fails due to Haddock error in ghc-prim:GHC.Types
GHC
ghc-devs
Sat Oct 5 02:13:36 UTC 2013
#8320: Build fails due to Haddock error in ghc-prim:GHC.Types
----------------------------------------+---------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 7.8.1
Component: Build System | Version: 7.7
Resolution: | Keywords:
Operating System: Linux | Architecture: x86
Type of failure: Building GHC failed | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
----------------------------------------+---------------------------
Comment (by kazu-yamamoto):
On 32bit Linux, I got the following error today:
{{{
make -r --no-print-directory -f ghc.mk phase=final all
"/home/kazu/work/ghc/inplace/bin/haddock" --odir="libraries/ghc-prim/dist-
install/doc/html/ghc-prim" --no-tmp-comp-dir --dump-interface=libraries
/ghc-prim/dist-install/doc/html/ghc-prim/ghc-prim.haddock --html --hoogle
--title="ghc-prim-0.3.1.0: GHC primitives" --prologue="libraries/ghc-prim
/dist-install/haddock-prologue.txt" --optghc=-hisuf --optghc=dyn_hi
--optghc=-osuf --optghc=dyn_o --optghc=-hcsuf --optghc=dyn_hc
--optghc=-fPIC --optghc=-dynamic --optghc=-H32m --optghc=-O --optghc
=-package-name --optghc=ghc-prim-0.3.1.0 --optghc=-hide-all-packages
--optghc=-i --optghc=-ilibraries/ghc-prim/. --optghc=-ilibraries/ghc-prim
/dist-install/build --optghc=-ilibraries/ghc-prim/dist-
install/build/autogen --optghc=-Ilibraries/ghc-prim/dist-install/build
--optghc=-Ilibraries/ghc-prim/dist-install/build/autogen
--optghc=-Ilibraries/ghc-prim/. --optghc=-optP-include
--optghc=-optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h
--optghc=-package --optghc=rts-1.0 --optghc=-package-name --optghc=ghc-
prim --optghc=-XHaskell98 --optghc=-XCPP --optghc=-XMagicHash
--optghc=-XForeignFunctionInterface --optghc=-XUnliftedFFITypes
--optghc=-XUnboxedTuples --optghc=-XEmptyDataDecls
--optghc=-XNoImplicitPrelude --optghc=-O2 --optghc=-no-user-package-db
--optghc=-rtsopts --optghc=-odir --optghc=libraries/ghc-prim/dist-
install/build --optghc=-hidir --optghc=libraries/ghc-prim/dist-
install/build --optghc=-stubdir --optghc=libraries/ghc-prim/dist-
install/build libraries/ghc-prim/./GHC/Classes.hs libraries/ghc-
prim/./GHC/CString.hs libraries/ghc-prim/./GHC/Debug.hs libraries/ghc-
prim/./GHC/Magic.hs libraries/ghc-prim/dist-
install/build/GHC/PrimopWrappers.hs libraries/ghc-prim/./GHC/IntWord64.hs
libraries/ghc-prim/./GHC/Tuple.hs libraries/ghc-prim/./GHC/Types.hs
libraries/ghc-prim/dist-install/build/autogen/GHC/Prim.hs +RTS -tlibraries
/ghc-prim/dist-install/doc/html/ghc-prim/ghc-prim.haddock.t --machine-
readable
Haddock coverage:
Warning: Couldn't find .haddock for export GHC.Prim.Int64#
Warning: Couldn't find .haddock for export GHC.Prim.Word64#
3% ( 1 / 38) in 'GHC.IntWord64'
80% ( 8 / 10) in 'GHC.Types'
17% ( 1 / 6) in 'GHC.CString'
3% ( 2 / 63) in 'GHC.Tuple'
0% ( 0 / 3) in 'GHC.Debug'
0% ( 0 /366) in 'GHC.PrimopWrappers'
72% (817 /1138) in 'GHC.Prim'
100% ( 3 / 3) in 'GHC.Magic'
38% ( 6 / 16) in 'GHC.Classes'
attempting to use module ?ghc-prim:GHC.Types? (libraries/ghc-
prim/./GHC/Types.hs) which is not loaded
make[1]: *** [libraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-
prim.haddock] Error 1
make: *** [all] Error 2
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8320#comment:24>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list