Skip to content

stack haddock: internal error when calculating transitive package dependencies. #4428

Closed
@PaulJohnson

Description

@PaulJohnson

General summary/comments (optional)

stack haddock pandoc generates error: internal error when calculating transitive package dependencies.

This may be an instance of haskell/cabal#5423.
verbose.txt

Steps to reproduce

$ stack new test --solver
$ cd test
$ stack haddock pandoc

Expected

Haddock docs for pandoc and its dependencies are generated.

Actual

What actually happened.

Preprocessing library 'attoparsec' for haddock-library-1.5.0.1..
Running Haddock on library 'attoparsec' for haddock-library-1.5.0.1..
Haddock coverage:
100% ( 24 / 24) in 'Data.Attoparsec.Combinator'
97% ( 66 / 68) in 'Data.Attoparsec.ByteString'
Missing documentation for:
Parser (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Internal.hs:95)
Result (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Internal.hs:96)
98% ( 86 / 88) in 'Data.Attoparsec.ByteString.Char8'
Missing documentation for:
Parser (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Internal.hs:95)
Result (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Internal.hs:96)
Warning: Data.Attoparsec.Combinator: could not find link destinations for:
Parser Chunk ChunkElem
Warning: Data.Attoparsec.ByteString: could not find link destinations for:
Parser Chunk
Warning: Data.Attoparsec.ByteString.Char8: could not find link destinations for:
Parser Chunk
Documentation created:
.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1/doc/html/haddock-library/index.html,
.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1/doc/html/haddock-library/haddock-library.txt
Preprocessing library for haddock-library-1.5.0.1..
Running Haddock on library for haddock-library-1.5.0.1..
Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4: internal error when calculating
transitive package dependencies.
Debug info: []

verbose.txt

$ stack <your command here> <args> --verbose
<output>

Stack version

$ stack --version
Version 1.9.3, Git revision 40cf7b37526b86d1676da82167ea8758a854953b (6211 commits) x86_64 hpack-0.31.1

Method of installation

  • Official binary, downloaded from stackage.org or fpcomplete's package repository

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions