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

2018-02-06 Thread Sean Whitton
control: reassign -1 ghc
control: tag -1 +pending

Hello,

On Tue, Jul 04 2017, Adrian Bunk wrote:

> Some recent change in unstable makes haskell-secret-sharing FTBFS:
> [...]

This is a bug in haddock, fixed upstream.[1]  I'm preparing an upload of
ghc (where Debian's haddock hangs out) with the patch applied.

[1]  
https://github.com/haskell/haddock/pull/745/commits/4209b7bc85bcd7734490df40bfbf6f64e9b39da3

-- 
Sean Whitton


signature.asc
Description: PGP signature


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

2017-07-04 Thread Adrian Bunk
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