Bug#922768: haskell-secret-sharing : FTBFS on sid - src/Crypto/SecretSharing/Internal.hs:129:39: error:

Thierry Fauck@linux.ibm.com thierry at linux.ibm.com
Wed Feb 20 13:06:52 GMT 2019


Package: haskell-secret-sharing
Version: 1.0.0.3-5
Severity: important
Tags: sid buster

Compilation fails with messages

Building test suite 'Main' for secret-sharing-1.0.0.3..

<no location info>: warning: [-Wmissing-home-modules]
    These modules are needed for compilation but not listed in your .cabal file's other-modules: Crypto.SecretSharing.Internal
[1 of 2] Compiling Crypto.SecretSharing.Internal ( src/Crypto/SecretSharing/Internal.hs, dist-ghc/build/Main/Main-tmp/Crypto/SecretSharing/Internal.o )

src/Crypto/SecretSharing/Internal.hs:129:39: error:
    * Illegal type: `1021' Perhaps you intended to use DataKinds
    * In the untyped splice: $(primeField $ fromIntegral 1021)
    |
129 | newtype FField = FField { number :: $(primeField $ fromIntegral 1021) }
    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:147: build-ghc-stamp] Error 1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20190220/93714a50/attachment.html>


More information about the Pkg-haskell-maintainers mailing list