Bug#1084124: haskell-connection: FTBFS: Couldn't match expected type

Sebastian Ramacher sramacher at debian.org
Sat Oct 5 13:47:23 BST 2024


Source: haskell-connection
Version: 0.3.1-4
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=haskell-connection&arch=amd64&ver=0.3.1-4%2Bb2&stamp=1727910699&raw=0

[2 of 2] Compiling Network.Connection ( Network/Connection.hs, dist-ghc/build/Network/Connection.o, dist-ghc/build/Network/Connection.dyn_o )

Network/Connection.hs:122:43: error: [GHC-83865]
    • Couldn't match expected type ‘crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore’
                  with actual type ‘Data.X509.CertificateStore.CertificateStore’
      NB: ‘crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore’
            is defined in ‘Data.X509.CertificateStore’
                in package ‘crypton-x509-store-1.6.9’
          ‘Data.X509.CertificateStore.CertificateStore’
            is defined in ‘Data.X509.CertificateStore’
                in package ‘x509-store-1.6.9’
    • In the expression: globalCertificateStore cg
      In a record update at fields ‘TLS.sharedCAStore’,
                                   ‘TLS.sharedValidationCache’,
      with type constructor ‘TLS.Shared’
      and data constructor ‘TLS.Shared’.
      In the expression:
        def
          {TLS.sharedCAStore = globalCertificateStore cg,
           TLS.sharedValidationCache = validationCache}
    |
122 |             { TLS.sharedCAStore         = globalCertificateStore cg
    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^
-e: error: debian/hlibrary.setup build --builddir=dist-ghc returned exit code 1

Cheers
-- 
Sebastian Ramacher



More information about the Pkg-haskell-maintainers mailing list