mikeizbicki / HLearn

Homomorphic machine learning
Other
1.62k stars 138 forks source link

stack haddock fails #82

Open mrkkrp opened 8 years ago

mrkkrp commented 8 years ago

Here, I tried to generate docs locally:

$ stack haddock
HLearn-2.0.1.0: unregistering
continued-fractions-0.9.1.1: unregistering
converge-0.1.0.1: unregistering
gamma-0.9.0.2: unregistering
subhask-0.1.1.0: unregistering
MonadRandom-0.4.2.3: configure
MonadRandom-0.4.2.3: build
StateVar-1.1.0.4: configure
StateVar-1.1.0.4: build
StateVar-1.1.0.4: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
MonadRandom-0.4.2.3: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
StateVar-1.1.0.4: copy/register
MonadRandom-0.4.2.3: copy/register
ansi-terminal-0.6.2.3: configure
ansi-terminal-0.6.2.3: build
base-orphans-0.5.4: configure
base-orphans-0.5.4: build
ansi-terminal-0.6.2.3: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
ansi-terminal-0.6.2.3: copy/register
bloomfilter-2.0.1.0: configure
bloomfilter-2.0.1.0: build
bloomfilter-2.0.1.0: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
base-orphans-0.5.4: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
bloomfilter-2.0.1.0: copy/register
base-orphans-0.5.4: copy/register
cereal-vector-0.2.0.1: configure
cereal-vector-0.2.0.1: build
cmdargs-0.10.14: configure
cmdargs-0.10.14: build
cereal-vector-0.2.0.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
cereal-vector-0.2.0.1: copy/register
continued-fractions-0.9.1.1: configure
continued-fractions-0.9.1.1: build
continued-fractions-0.9.1.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
continued-fractions-0.9.1.1: copy/register
converge-0.1.0.1: configure
converge-0.1.0.1: build
converge-0.1.0.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
converge-0.1.0.1: copy/register
cpu-0.1.2: configure
cpu-0.1.2: build
cpu-0.1.2: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
cpu-0.1.2: copy/register
erf-2.0.0.0: configure
erf-2.0.0.0: build
erf-2.0.0.0: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
cmdargs-0.10.14: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
erf-2.0.0.0: copy/register
gamma-0.9.0.2: configure
gamma-0.9.0.2: build
gamma-0.9.0.2: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
cmdargs-0.10.14: copy/register
monad-primitive-0.1: configure
monad-primitive-0.1: build
monad-primitive-0.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
monad-primitive-0.1: copy/register
old-time-1.1.0.3: configure
gamma-0.9.0.2: copy/register
old-time-1.1.0.3: build
parallel-3.2.1.0: configure
parallel-3.2.1.0: build
parallel-3.2.1.0: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
parallel-3.2.1.0: copy/register
prelude-extras-0.4.0.3: configure
prelude-extras-0.4.0.3: build
old-time-1.1.0.3: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
old-time-1.1.0.3: copy/register
reflection-2.1.2: configure
reflection-2.1.2: build
prelude-extras-0.4.0.3: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
prelude-extras-0.4.0.3: copy/register
siphash-1.0.3: configure
siphash-1.0.3: build
siphash-1.0.3: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
siphash-1.0.3: copy/register
split-0.2.3: configure
split-0.2.3: build
reflection-2.1.2: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
split-0.2.3: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
split-0.2.3: copy/register
storable-complex-0.2.2: configure
storable-complex-0.2.2: build
storable-complex-0.2.2: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
storable-complex-0.2.2: copy/register
hmatrix-0.17.0.1: configure
reflection-2.1.2: copy/register
hmatrix-0.17.0.1: build
tagged-0.8.4: configure
tagged-0.8.4: build
tagged-0.8.4: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
tagged-0.8.4: copy/register
distributive-0.5.0.2: configure
distributive-0.5.0.2: build
distributive-0.5.0.2: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
distributive-0.5.0.2: copy/register
text-1.2.2.1: configure
text-1.2.2.1: build
text-1.2.2.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
hmatrix-0.17.0.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
text-1.2.2.1: copy/register
blaze-builder-0.4.0.2: configure
hmatrix-0.17.0.1: copy/register
blaze-builder-0.4.0.2: build
hashable-1.2.4.0: configure
hashable-1.2.4.0: build
hashable-1.2.4.0: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
blaze-builder-0.4.0.2: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
hashable-1.2.4.0: copy/register
safecopy-0.9.0.1: configure
blaze-builder-0.4.0.2: copy/register
safecopy-0.9.0.1: build
scientific-0.3.4.6: configure
scientific-0.3.4.6: build
scientific-0.3.4.6: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
scientific-0.3.4.6: copy/register
attoparsec-0.13.0.2: configure
safecopy-0.9.0.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
attoparsec-0.13.0.2: build
safecopy-0.9.0.1: copy/register
tf-random-0.5: configure
tf-random-0.5: build
tf-random-0.5: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
tf-random-0.5: copy/register
QuickCheck-2.8.1: configure
QuickCheck-2.8.1: build
QuickCheck-2.8.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
QuickCheck-2.8.1: copy/register
attoparsec-0.13.0.2: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
unordered-containers-0.2.5.1: configure
unordered-containers-0.2.5.1: build
attoparsec-0.13.0.2: copy/register
unordered-containers-0.2.5.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
unordered-containers-0.2.5.1: copy/register
semigroups-0.18.1: configure
semigroups-0.18.1: build
cassava-0.4.5.0: configure
cassava-0.4.5.0: build
semigroups-0.18.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
semigroups-0.18.1: copy/register
void-0.7.1: configure
void-0.7.1: build
void-0.7.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
void-0.7.1: copy/register
bytes-0.15.2: configure
bytes-0.15.2: build
cassava-0.4.5.0: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
cassava-0.4.5.0: copy/register
contravariant-1.4: configure
contravariant-1.4: build
contravariant-1.4: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
bytes-0.15.2: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
contravariant-1.4: copy/register
comonad-4.2.7.2: configure
bytes-0.15.2: copy/register
comonad-4.2.7.2: build
bits-0.4: configure
comonad-4.2.7.2: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
bits-0.4: build
comonad-4.2.7.2: copy/register
bifunctors-5.2: configure
bifunctors-5.2: build
bits-0.4: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
bits-0.4: copy/register
bifunctors-5.2: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
bifunctors-5.2: copy/register
hashable-extras-0.2.3: configure
hashable-extras-0.2.3: build
profunctors-5.2: configure
profunctors-5.2: build
hashable-extras-0.2.3: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
hashable-extras-0.2.3: copy/register
semigroupoids-5.0.1: configure
semigroupoids-5.0.1: build
profunctors-5.2: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
profunctors-5.2: copy/register
semigroupoids-5.0.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
semigroupoids-5.0.1: copy/register
free-4.12.4: configure
free-4.12.4: build
log-domain-0.10.3.1: configure
log-domain-0.10.3.1: build
log-domain-0.10.3.1: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
free-4.12.4: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
free-4.12.4: copy/register
log-domain-0.10.3.1: copy/register
adjunctions-4.3: configure
adjunctions-4.3: build
adjunctions-4.3: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
adjunctions-4.3: copy/register
kan-extensions-4.2.3: configure
kan-extensions-4.2.3: build
kan-extensions-4.2.3: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
kan-extensions-4.2.3: copy/register
pointed-4.2.0.2: configure
pointed-4.2.0.2: build
lens-4.13: configure
pointed-4.2.0.2: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
pointed-4.2.0.2: copy/register
lens-4.13: build
lens-4.13: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
lens-4.13: copy/register
approximate-0.2.2.3: configure
approximate-0.2.2.3: build
approximate-0.2.2.3: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
approximate-0.2.2.3: copy/register
hyperloglog-0.4.0.4: configure
hyperloglog-0.4.0.4: build
hyperloglog-0.4.0.4: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
hyperloglog-0.4.0.4: copy/register
subhask-0.1.1.0: configure
subhask-0.1.1.0: build
subhask-0.1.1.0: haddock
Warning: haddock not generating hyperlinked sources because 'HsColour' not
found on PATH (use 'stack install hscolour' to install).
Progress: 52/53
--  While building package subhask-0.1.1.0 using:
      /home/mark/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.22.5.0-ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.5.0 haddock --html --hoogle --html-location=../$pkg-$version/
    Process exited with code: ExitFailure 1
    Logs have been written to: /home/mark/projects/tests/haskell/HLearn/.stack-work/logs/subhask-0.1.1.0.log

    Configuring subhask-0.1.1.0...
    Preprocessing library subhask-0.1.1.0...
    In-place registering subhask-0.1.1.0...
    Running Haddock for subhask-0.1.1.0...
    Preprocessing library subhask-0.1.1.0...
    haddock: /home/mark/.stack/snapshots/x86_64-linux/lts-5.14/7.10.3/lib/x86_64-linux-ghc-7.10.3/hmatrix-0.17.0.1-JWP6dOY4q7oAh3GMbxK0jp/libHShmatrix-0.17.0.1-JWP6dOY4q7oAh3GMbxK0jp.a: unhandled ELF relocation(RelA) type 42

    Haddock coverage:
       0% (  0 /  4) in 'SubHask.TemplateHaskell.Common'
      Missing documentation for:
        Module header
        bndr2type (src/SubHask/TemplateHaskell/Common.hs:9)
        isStar (src/SubHask/TemplateHaskell/Common.hs:13)
        apply2varlist (src/SubHask/TemplateHaskell/Common.hs:18)
     100% (  4 /  4) in 'SubHask.TemplateHaskell.Mutable'
      92% ( 45 / 49) in 'SubHask.Internal.Prelude'
      Missing documentation for:
        Module header
        Bool
        ifThenElse (src/SubHask/Internal/Prelude.hs:82)
        Constraint
      73% (  8 / 11) in 'SubHask.SubType'
      Missing documentation for:
        embedType (src/SubHask/SubType.hs:76)
        embedType1 (src/SubHask/SubType.hs:83)
        embedType2 (src/SubHask/SubType.hs:90)
      93% ( 13 / 14) in 'SubHask.TemplateHaskell.Deriving'
      Missing documentation for:
        helper_id (src/SubHask/TemplateHaskell/Deriving.hs:45)
    haddock: unable to load package `hmatrix-0.17.0.1'

exited abnormally with code 1 at Thu Jun  9 20:38:00