Bug#808490: haskell-certificate: FTBFS with ghc 7.10(?): Non type-variable argument in the constraint: MonadError [Char] m

Chris West (Faux) solo-debianbugs at goeswhere.com
Sun Dec 20 14:03:25 UTC 2015


Source: haskell-certificate
Version: 1.3.9-4
Severity: serious
Justification: fails to build from source
Tags: sid 
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

[ 4 of 10] Compiling Data.Certificate.X509.Ext ( Data/Certificate/X509/Ext.hs, dist-ghc/build/Data/Certificate/X509/Ext.o )

Data/Certificate/X509/Ext.hs:116:17:
    Non type-variable argument in the constraint: MonadError [Char] m
    (Use FlexibleContexts to permit this)
    When checking that ‘toStringy’ has the inferred type
      toStringy :: forall (m :: * -> *).
                   MonadError [Char] m =>
                   ASN1 -> m [Char]
    In an equation for ‘extDecode’:
        extDecode l
          = runParseASN1 parse l
          where
              parse
                = do { c <- getNextContainer Sequence;
                       .... }
              toStringy (Other Context 2 b) = return $ BC.unpack b
              toStringy b
                = throwError
                    ("ExtSubjectAltName: not coping with anything else " ++ show b)
    In the instance declaration for ‘Extension ExtSubjectAltName’
/usr/share/cdbs/1/class/hlibrary.mk:147: recipe for target 'build-ghc-stamp' failed
make: *** [build-ghc-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/haskell-certificate.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)



More information about the Pkg-haskell-maintainers mailing list