#12.0: Haddocks don't build
Hi there, I noticed that your module docs weren't available on Hackage, so I tried to build them myself. This failed with:
htoml-megaparsec-2.0.0.0: configure
htoml-megaparsec-2.0.0.0: build
htoml-megaparsec-2.0.0.0: haddock
Progress 5/6
-- While building custom Setup.hs for package htoml-megaparsec-2.0.0.0 using:
/home/colin/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0 haddock --html --hoogle --html-location=../$pkg-$version/ --haddock-option=--hyperlinked-source
Process exited with code: ExitFailure 1
Logs have been written to: /home/colin/code/haskell/aura/.stack-work/logs/htoml-megaparsec-2.0.0.0.log
Configuring htoml-megaparsec-2.0.0.0...
Preprocessing library 'htoml-internal' for htoml-megaparsec-2.0.0.0..
Building library 'htoml-internal' for htoml-megaparsec-2.0.0.0..
[1 of 3] Compiling Text.Megaparsec.CharRW ( internal/Text/Megaparsec/CharRW.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/htoml-internal/Text/Megaparsec/CharRW.o )
[2 of 3] Compiling Text.Toml.Types ( internal/Text/Toml/Types.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/htoml-internal/Text/Toml/Types.o )
[3 of 3] Compiling Text.Toml.Parser ( internal/Text/Toml/Parser.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/htoml-internal/Text/Toml/Parser.o )
Preprocessing library for htoml-megaparsec-2.0.0.0..
Building library for htoml-megaparsec-2.0.0.0..
[1 of 1] Compiling Text.Toml ( src/Text/Toml.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Text/Toml.o )
src/Text/Toml.hs:9:1: warning: [-Wunused-imports]
The import of ‘Data.Monoid’ is redundant
except perhaps to import instances from ‘Data.Monoid’
To import instances alone, use: import Data.Monoid()
|
9 | import Data.Monoid
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Preprocessing library 'htoml-internal' for htoml-megaparsec-2.0.0.0..
Running Haddock on library 'htoml-internal' for htoml-megaparsec-2.0.0.0..
Haddock coverage:
Warning: Text.Megaparsec.CharRW: Could not find documentation for exported module: X
0% ( 0 / 3) in 'Text.Megaparsec.CharRW'
Missing documentation for:
Module header
oneOf (internal/Text/Megaparsec/CharRW.hs:30)
noneOf (internal/Text/Megaparsec/CharRW.hs:26)
62% ( 8 / 13) in 'Text.Toml.Types'
Missing documentation for:
Module header
throwParser (internal/Text/Toml/Types.hs:86)
Toml (internal/Text/Toml/Types.hs:48)
TomlM (internal/Text/Toml/Types.hs:46)
Parser (internal/Text/Toml/Types.hs:44)
66% ( 21 / 32) in 'Text.Toml.Parser'
Missing documentation for:
Module header
TomlError (internal/Text/Toml/Parser.hs:35)
boolean (internal/Text/Toml/Parser.hs:149)
anyStr (internal/Text/Toml/Parser.hs:154)
anyStr' (internal/Text/Toml/Parser.hs:157)
basicStr (internal/Text/Toml/Parser.hs:161)
multiBasicStr (internal/Text/Toml/Parser.hs:167)
literalStr (internal/Text/Toml/Parser.hs:180)
multiLiteralStr (internal/Text/Toml/Parser.hs:186)
datetime (internal/Text/Toml/Parser.hs:195)
integer (internal/Text/Toml/Parser.hs:218)
Warning: Text.Toml.Types: could not find link destinations for:
updateExStateOrError
Documentation created:
.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/doc/html/htoml-megaparsec/index.html,
.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/doc/html/htoml-megaparsec/htoml-megaparsec.txt
Preprocessing library for htoml-megaparsec-2.0.0.0..
Running Haddock on library for htoml-megaparsec-2.0.0.0..
Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2: internal error when calculating
transitive package dependencies.
Debug info: []
Any ideas? Thank you kindly.