Bug#867195: haskell-secret-sharing FTBFS: Haddock failed (no modules?), refusing to create empty documentation package.

Adrian Bunk bunk at debian.org
Tue Jul 4 16:07:37 UTC 2017


Source: haskell-secret-sharing
Version: 1.0.0.3-3
Severity: serious
Tags: buster sid

Some recent change in unstable makes haskell-secret-sharing FTBFS:

https://tests.reproducible-builds.org/debian/history/haskell-secret-sharing.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/haskell-secret-sharing.html

...
/usr/bin/haddock '@dist-ghc/doc/html/secret-sharing/haddock-response16816927771714636915.txt' '--mathjax=file:///usr/share/javascript/mathjax/MathJax.js'

src/Crypto/SecretSharing/Internal.hs:129:52: warning: [-Wtype-defaults]
    * Defaulting the following constraints to type `Integer'
        (Integral a0)
          arising from a use of `fromIntegral'
          at src/Crypto/SecretSharing/Internal.hs:129:52-68
        (Num a0)
          arising from the literal `1021'
          at src/Crypto/SecretSharing/Internal.hs:129:65-68
    * In the second argument of `($)', namely `fromIntegral 1021'
      In the expression: primeField $ fromIntegral 1021
      In the untyped splice: $(primeField $ fromIntegral 1021)
Haddock coverage:
  62% ( 10 / 16) in 'Crypto.SecretSharing.Internal'
  Missing documentation for:
     (src/Crypto/SecretSharing/Internal.hs:46)
     (src/Crypto/SecretSharing/Internal.hs:54)
     (src/Crypto/SecretSharing/Internal.hs:57)
     (src/Crypto/SecretSharing/Internal.hs:58)
    encodeByte (src/Crypto/SecretSharing/Internal.hs:96)
    decodeByte (src/Crypto/SecretSharing/Internal.hs:104)
 100% (  4 /  4) in 'Crypto.SecretSharing'
haddock: internal error: renameType: HsSpliceTy
CallStack (from HasCallStack):
  error, called at utils/haddock/haddock-api/src/Haddock/Interface/Rename.hs:266:30 in main:Haddock.Interface.Rename
Haddock failed (no modules?), refusing to create empty documentation package.
/usr/share/cdbs/1/class/hlibrary.mk:173: recipe for target 'build-haddock-stamp' failed
make: *** [build-haddock-stamp] Error 1



More information about the Pkg-haskell-maintainers mailing list