Bug#897513: haskell-gitlib: FTBFS: Not in scope: type constructor or class `MonadBaseControl'

Lucas Nussbaum lucas at debian.org
Wed May 2 21:47:13 BST 2018


Source: haskell-gitlib
Version: 3.1.1-5
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20180502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> CDBS WARNING:    DEB_DH_STRIP_ARGS is deprecated since 0.4.85
> CDBS WARNING:    DEB_COMPRESS_EXCLUDE is deprecated since 0.4.85
> . /usr/share/haskell-devscripts/Dh_Haskell.sh && \
> make_setup_recipe
> Running ghc --make Setup.hs -o debian/hlibrary.setup
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking debian/hlibrary.setup ...
> . /usr/share/haskell-devscripts/Dh_Haskell.sh && \
> configure_recipe
> Running debian/hlibrary.setup configure --ghc -v2 --package-db=/var/lib/ghc/package.conf.d --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib --libexecdir=/usr/lib --builddir=dist-ghc --ghc-option=-optl-Wl\,-z\,relro --haddockdir=/usr/lib/ghc-doc/haddock/gitlib-3.1.1/ --datasubdir=gitlib --htmldir=/usr/share/doc/libghc-gitlib-doc/html/ --enable-library-profiling
> Configuring gitlib-3.1.1...
> Dependency base >=3 && <5: using base-4.10.1.0
> Dependency base16-bytestring >=0.1.1.5: using base16-bytestring-0.1.1.6
> Dependency bytestring >=0.9.2.1: using bytestring-0.10.8.2
> Dependency conduit >=1.1.0: using conduit-1.3.0.2
> Dependency containers >=0.4.2.1: using containers-0.5.10.2
> Dependency directory >=1.1.0.2: using directory-1.3.0.2
> Dependency exceptions >=0.5: using exceptions-0.8.3
> Dependency filepath >=1.3: using filepath-1.4.1.2
> Dependency hashable >=1.1.2.5: using hashable-1.2.7.0
> Dependency lifted-async >=0.1.1: using lifted-async-0.9.3.3
> Dependency lifted-base >=0.2: using lifted-base-0.2.3.12
> Dependency monad-control <1.1: using monad-control-1.0.2.3
> Dependency mtl >=2.1.2: using mtl-2.2.2
> Dependency resourcet >=1.1.0: using resourcet-1.2.0
> Dependency semigroups >=0.11: using semigroups-0.18.4
> Dependency tagged >=0.2.3.1: using tagged-0.8.5
> Dependency text >=0.11.2: using text-1.2.3.0
> Dependency time >=1.4: using time-1.8.0.2
> Dependency transformers >=0.3.0.0: using transformers-0.5.2.0
> Dependency unix >=2.5.1.1: using unix-2.7.2.2
> Dependency unordered-containers >=0.2.3.0: using unordered-containers-0.2.9.0
> Source component graph: component lib
> Configured component graph:
>     component gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35
>         include base-4.10.1.0
>         include base16-bytestring-0.1.1.6-Bd4rUARbKHBrsqzcqGjb8
>         include bytestring-0.10.8.2
>         include conduit-1.3.0.2-L3cDdLJFS3JJlvzMZUATPR
>         include containers-0.5.10.2
>         include directory-1.3.0.2
>         include exceptions-0.8.3-AA4ua2DZ32SL2ccqv3kHrx
>         include filepath-1.4.1.2
>         include hashable-1.2.7.0-H6fB5YX9UE6E9RGuGD0nnF
>         include lifted-async-0.9.3.3-IlRryjrYXrgEEf3Agu6XL9
>         include lifted-base-0.2.3.12-5dO0P56jL3rJiQQeQyDAjU
>         include monad-control-1.0.2.3-B2rFiLc7TgK8PEp5nYL7mp
>         include mtl-2.2.2-8XubxMJDT8QLsstvlNotkc
>         include resourcet-1.2.0-JJj3NWvLuMB215PdUjRCr4
>         include semigroups-0.18.4-mxkGq2xNPcBC0dj8uuk3q
>         include tagged-0.8.5-IIuh7r2smYhFbQwFl7NwOI
>         include text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
>         include time-1.8.0.2
>         include transformers-0.5.2.0
>         include unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
>         include unix-2.7.2.2
> Linked component graph:
>     unit gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35
>         include base-4.10.1.0
>         include base16-bytestring-0.1.1.6-Bd4rUARbKHBrsqzcqGjb8
>         include bytestring-0.10.8.2
>         include conduit-1.3.0.2-L3cDdLJFS3JJlvzMZUATPR
>         include containers-0.5.10.2
>         include directory-1.3.0.2
>         include exceptions-0.8.3-AA4ua2DZ32SL2ccqv3kHrx
>         include filepath-1.4.1.2
>         include hashable-1.2.7.0-H6fB5YX9UE6E9RGuGD0nnF
>         include lifted-async-0.9.3.3-IlRryjrYXrgEEf3Agu6XL9
>         include lifted-base-0.2.3.12-5dO0P56jL3rJiQQeQyDAjU
>         include monad-control-1.0.2.3-B2rFiLc7TgK8PEp5nYL7mp
>         include mtl-2.2.2-8XubxMJDT8QLsstvlNotkc
>         include resourcet-1.2.0-JJj3NWvLuMB215PdUjRCr4
>         include semigroups-0.18.4-mxkGq2xNPcBC0dj8uuk3q
>         include tagged-0.8.5-IIuh7r2smYhFbQwFl7NwOI
>         include text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
>         include time-1.8.0.2
>         include transformers-0.5.2.0
>         include unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
>         include unix-2.7.2.2
>         Git=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git,Git.Blob=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Blob,Git.Commit=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Commit,Git.Commit.Push=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Commit.Push,Git.Object=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Object,Git.Reference=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Reference,Git.Repository=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Repository,Git.Tree=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Tree,Git.Tree.Builder=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Tree.Builder,Git.Tree.Builder.Pure=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Tree.Builder.Pure,Git.Tree.Working=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Tree.Working,Git.Tutorial=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Tutorial,Git.Types=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Types,Git.Utils=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Utils,Git.Working=gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35:Git.Working
> Ready component graph:
>     definite gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35
>         depends base-4.10.1.0
>         depends base16-bytestring-0.1.1.6-Bd4rUARbKHBrsqzcqGjb8
>         depends bytestring-0.10.8.2
>         depends conduit-1.3.0.2-L3cDdLJFS3JJlvzMZUATPR
>         depends containers-0.5.10.2
>         depends directory-1.3.0.2
>         depends exceptions-0.8.3-AA4ua2DZ32SL2ccqv3kHrx
>         depends filepath-1.4.1.2
>         depends hashable-1.2.7.0-H6fB5YX9UE6E9RGuGD0nnF
>         depends lifted-async-0.9.3.3-IlRryjrYXrgEEf3Agu6XL9
>         depends lifted-base-0.2.3.12-5dO0P56jL3rJiQQeQyDAjU
>         depends monad-control-1.0.2.3-B2rFiLc7TgK8PEp5nYL7mp
>         depends mtl-2.2.2-8XubxMJDT8QLsstvlNotkc
>         depends resourcet-1.2.0-JJj3NWvLuMB215PdUjRCr4
>         depends semigroups-0.18.4-mxkGq2xNPcBC0dj8uuk3q
>         depends tagged-0.8.5-IIuh7r2smYhFbQwFl7NwOI
>         depends text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
>         depends time-1.8.0.2
>         depends transformers-0.5.2.0
>         depends unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
>         depends unix-2.7.2.2
> Using Cabal-2.0.1.0 compiled by ghc-8.2
> Using compiler: ghc-8.2.2
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.2.2/gitlib-3.1.1-IhaRiI6fZJz2jiSoCGxh35
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.2.2
> Private executables installed in: /usr/lib/x86_64-linux-ghc-8.2.2/gitlib-3.1.1
> Data files installed in: /usr/share/gitlib
> Documentation installed in: /usr/share/doc/x86_64-linux-ghc-8.2.2/gitlib-3.1.1
> Configuration files installed in: /usr/etc
> No alex found
> Using ar found on system at: /usr/bin/ar
> No c2hs found
> No cpphs found
> No doctest found
> Using gcc version 7 found on system at: /usr/bin/gcc
> Using ghc version 8.2.2 found on system at: /usr/bin/ghc
> Using ghc-pkg version 8.2.2 found on system at: /usr/bin/ghc-pkg
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using haddock version 2.18.1 found on system at: /usr/bin/haddock
> No happy found
> Using haskell-suite found on system at: haskell-suite-dummy-location
> Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
> No hmake found
> Using hpc version 0.67 found on system at: /usr/bin/hpc
> Using hsc2hs version 0.68.2 found on system at: /usr/bin/hsc2hs
> Using hscolour version 1.24 found on system at: /usr/bin/HsColour
> No jhc found
> Using ld found on system at: /usr/bin/ld.gold
> No lhc found
> No lhc-pkg found
> No pkg-config found
> Using runghc version 8.2.2 found on system at: /usr/bin/runghc
> Using strip version 2.30 found on system at: /usr/bin/strip
> Using tar found on system at: /bin/tar
> No uhc found
> touch configure-ghc-stamp
> . /usr/share/haskell-devscripts/Dh_Haskell.sh && \
> build_recipe
> Running debian/hlibrary.setup build --builddir=dist-ghc
> Preprocessing library for gitlib-3.1.1..
> Building library for gitlib-3.1.1..
> [ 1 of 15] Compiling Git.Tutorial     ( Git/Tutorial.hs, dist-ghc/build/Git/Tutorial.o )
> [ 2 of 15] Compiling Git.Types        ( Git/Types.hs, dist-ghc/build/Git/Types.o )
> 
> Git/Types.hs:9:1: warning: [-Wunused-imports]
>     The import of `Control.Applicative' is redundant
>       except perhaps to import instances from `Control.Applicative'
>     To import instances alone, use: import Control.Applicative()
>   |
> 9 | import           Control.Applicative
>   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Git/Types.hs:60:25: warning: [-Wdeprecations]
>     In the use of type constructor or class `Producer'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use ConduitT directly"
>    |
> 60 |     sourceReferences :: Producer m RefName
>    |                         ^^^^^^^^
> 
> Git/Types.hs:68:22: warning: [-Wdeprecations]
>     In the use of type constructor or class `Producer'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use ConduitT directly"
>    |
> 68 |                   -> Producer m (ObjectOid r) -- ^ All the objects in between
>    |                      ^^^^^^^^
> 
> Git/Types.hs:83:36: warning: [-Wdeprecations]
>     In the use of type constructor or class `Producer'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use ConduitT directly"
>    |
> 83 |     sourceTreeEntries :: Tree r -> Producer m (TreeFilePath, TreeEntry r)
>    |                                    ^^^^^^^^
> 
> Git/Types.hs:85:29: warning: [-Wdeprecations]
>     In the use of type constructor or class `Source'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use ConduitT directly"
>    |
> 85 |     diffContentsWithTree :: Source m (Either TreeFilePath ByteString)
>    |                             ^^^^^^
> 
> Git/Types.hs:86:39: warning: [-Wdeprecations]
>     In the use of type constructor or class `Producer'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use ConduitT directly"
>    |
> 86 |                          -> Tree r -> Producer m ByteString
>    |                                       ^^^^^^^^
> 
> Git/Types.hs:178:21: warning: [-Wdeprecations]
>     In the use of type constructor or class `Source'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use ConduitT directly"
>     |
> 178 | type ByteSource m = Source m ByteString
>     |                     ^^^^^^
> 
> Git/Types.hs:251:52: warning: [-Wdeprecations]
>     In the use of type constructor or class `Producer'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use ConduitT directly"
>     |
> 251 | sourceCommitParents :: MonadGit r m => Commit r -> Producer m (Commit r)
>     |                                                    ^^^^^^^^
> 
> Git/Types.hs:256:57: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>     |
> 256 | lookupCommitParents commit = sourceCommitParents commit $$ sinkList
>     |                                                         ^^
> [ 3 of 15] Compiling Git.Tree.Builder ( Git/Tree/Builder.hs, dist-ghc/build/Git/Tree/Builder.o )
> 
> Git/Tree/Builder.hs:59:1: warning: [-Worphans]
>     Orphan instance: instance Functor m => Functor (TreeT r m)
>     To avoid this
>         move the instance declaration to the module of the class or of the type, or
>         wrap the type with a newtype and declare the instance on the new type.
>    |
> 59 | instance Functor m => Functor (TreeT r m) where
>    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> 
> Git/Tree/Builder.hs:62:1: warning: [-Worphans]
>     Orphan instance: instance Monad m => Monad (TreeT r m)
>     To avoid this
>         move the instance declaration to the module of the class or of the type, or
>         wrap the type with a newtype and declare the instance on the new type.
>    |
> 62 | instance Monad m => Monad (TreeT r m) where
>    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> 
> Git/Tree/Builder.hs:66:1: warning: [-Worphans]
>     Orphan instance:
>       instance (Functor m, Monad m) => Applicative (TreeT r m)
>     To avoid this
>         move the instance declaration to the module of the class or of the type, or
>         wrap the type with a newtype and declare the instance on the new type.
>    |
> 66 | instance (Functor m, Monad m) => Applicative (TreeT r m) where
>    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> 
> Git/Tree/Builder.hs:70:1: warning: [-Worphans]
>     Orphan instance:
>       instance (Functor m, MonadPlus m) => Alternative (TreeT r m)
>     To avoid this
>         move the instance declaration to the module of the class or of the type, or
>         wrap the type with a newtype and declare the instance on the new type.
>    |
> 70 | instance (Functor m, MonadPlus m) => Alternative (TreeT r m) where
>    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> 
> Git/Tree/Builder.hs:74:1: warning: [-Worphans]
>     Orphan instance: instance MonadPlus m => MonadPlus (TreeT r m)
>     To avoid this
>         move the instance declaration to the module of the class or of the type, or
>         wrap the type with a newtype and declare the instance on the new type.
>    |
> 74 | instance (MonadPlus m) => MonadPlus (TreeT r m) where
>    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> 
> Git/Tree/Builder.hs:78:1: warning: [-Worphans]
>     Orphan instance: instance MonadFix m => MonadFix (TreeT r m)
>     To avoid this
>         move the instance declaration to the module of the class or of the type, or
>         wrap the type with a newtype and declare the instance on the new type.
>    |
> 78 | instance (MonadFix m) => MonadFix (TreeT r m) where
>    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> 
> Git/Tree/Builder.hs:81:1: warning: [-Worphans]
>     Orphan instance: instance MonadTrans (TreeT r)
>     To avoid this
>         move the instance declaration to the module of the class or of the type, or
>         wrap the type with a newtype and declare the instance on the new type.
>    |
> 81 | instance MonadTrans (TreeT r) where
>    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> 
> Git/Tree/Builder.hs:84:1: warning: [-Worphans]
>     Orphan instance: instance MonadIO m => MonadIO (TreeT r m)
>     To avoid this
>         move the instance declaration to the module of the class or of the type, or
>         wrap the type with a newtype and declare the instance on the new type.
>    |
> 84 | instance (MonadIO m) => MonadIO (TreeT r m) where
>    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> [ 4 of 15] Compiling Git.Repository   ( Git/Repository.hs, dist-ghc/build/Git/Repository.o )
> [ 5 of 15] Compiling Git.Reference    ( Git/Reference.hs, dist-ghc/build/Git/Reference.o )
> 
> Git/Reference.hs:7:35: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>   |
> 7 | listReferences = sourceReferences $$ sinkList
>   |                                   ^^
> [ 6 of 15] Compiling Git.Object       ( Git/Object.hs, dist-ghc/build/Git/Object.o )
> 
> Git/Object.hs:16:40: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>    |
> 16 |     sourceObjects mhave need alsoTrees $$ sinkList
>    |                                        ^^
> 
> Git/Object.hs:27:38: warning: [-Wdeprecations]
>     In the use of type constructor or class `Conduit'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use ConduitT directly"
>    |
> 27 | expandTreeObjects :: MonadGit r m => Conduit (ObjectOid r) m (ObjectOid r)
>    |                                      ^^^^^^^
> 
> Git/Object.hs:33:13: warning: [-Wdeprecations]
>     In the use of `=$='
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use .|"
>    |
> 33 |             =$= awaitForever (\ent -> case ent of
>    |             ^^^
> 
> Git/Object.hs:42:35: warning: [-Wdeprecations]
>     In the use of `$='
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use .|"
>    |
> 42 |     sourceObjects mhave need True $= expandTreeObjects $$ sinkList
>    |                                   ^^
> 
> Git/Object.hs:42:56: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>    |
> 42 |     sourceObjects mhave need True $= expandTreeObjects $$ sinkList
>    |                                                        ^^
> [ 7 of 15] Compiling Git.Blob         ( Git/Blob.hs, dist-ghc/build/Git/Blob.o )
> 
> Git/Blob.hs:4:1: warning: [-Wunused-imports]
>     The import of `Control.Applicative' is redundant
>       except perhaps to import instances from `Control.Applicative'
>     To import instances alone, use: import Control.Applicative()
>   |
> 4 | import           Control.Applicative
>   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Git/Blob.hs:32:36: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>    |
> 32 |     B.concat . BL.toChunks <$> (bs $$ sinkLazy)
>    |                                    ^^
> 
> Git/Blob.hs:34:36: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>    |
> 34 |     B.concat . BL.toChunks <$> (bs $$ sinkLazy)
>    |                                    ^^
> 
> Git/Blob.hs:43:51: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>    |
> 43 | blobContentsToLazyByteString (BlobStream bs) = bs $$ sinkLazy
>    |                                                   ^^
> 
> Git/Blob.hs:44:58: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>    |
> 44 | blobContentsToLazyByteString (BlobSizedStream bs _) = bs $$ sinkLazy
>    |                                                          ^^
> 
> Git/Blob.hs:52:56: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>    |
> 52 | writeBlob path (BlobStringLazy bs)     = sourceLazy bs $$ sinkFile path
>    |                                                        ^^
> 
> Git/Blob.hs:53:46: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>    |
> 53 | writeBlob path (BlobStream str)        = str $$ sinkFile path
>    |                                              ^^
> 
> Git/Blob.hs:54:46: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>    |
> 54 | writeBlob path (BlobSizedStream str _) = str $$ sinkFile path
>    |                                              ^^
> 
> Git/Blob.hs:58:51: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>    |
> 58 | treeBlobEntries tree = sourceTreeBlobEntries tree $$ sinkList
>    |                                                   ^^
> 
> Git/Blob.hs:62:18: warning: [-Wdeprecations]
>     In the use of type constructor or class `Producer'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use ConduitT directly"
>    |
> 62 |     => Tree r -> Producer m (TreeFilePath, BlobOid r, BlobKind)
>    |                  ^^^^^^^^
> 
> Git/Blob.hs:64:28: warning: [-Wdeprecations]
>     In the use of `=$='
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use .|"
>    |
> 64 |     sourceTreeEntries tree =$= awaitForever go
>    |                            ^^^
> [ 8 of 15] Compiling Git.Tree         ( Git/Tree.hs, dist-ghc/build/Git/Tree.o )
> 
> Git/Tree.hs:15:47: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>    |
> 15 | listTreeEntries tree = sourceTreeEntries tree $$ sinkList
>    |                                               ^^
> [ 9 of 15] Compiling Git.Commit       ( Git/Commit.hs, dist-ghc/build/Git/Commit.o )
> 
> Git/Commit.hs:71:9: warning: [-Wdeprecations]
>     In the use of `$='
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use .|"
>    |
> 71 |         $= mapMC (\(CommitObjOid c) -> return c)
>    |         ^^
> 
> Git/Commit.hs:72:9: warning: [-Wdeprecations]
>     In the use of `$$'
>     (imported from Conduit, but defined in conduit-1.3.0.2:Data.Conduit.Internal.Conduit):
>     Deprecated: "Use runConduit and .|"
>    |
> 72 |         $$ sinkList
>    |         ^^
> [10 of 15] Compiling Git.Commit.Push  ( Git/Commit/Push.hs, dist-ghc/build/Git/Commit/Push.o )
> [11 of 15] Compiling Git              ( Git.hs, dist-ghc/build/Git.o )
> [12 of 15] Compiling Git.Tree.Working ( Git/Tree/Working.hs, dist-ghc/build/Git/Tree/Working.o )
> [13 of 15] Compiling Git.Tree.Builder.Pure ( Git/Tree/Builder/Pure.hs, dist-ghc/build/Git/Tree/Builder/Pure.o )
> [14 of 15] Compiling Git.Utils        ( Git/Utils.hs, dist-ghc/build/Git/Utils.o )
> [15 of 15] Compiling Git.Working      ( Git/Working.hs, dist-ghc/build/Git/Working.o )
> 
> Git/Working.hs:18:33: error:
>     Not in scope: type constructor or class `MonadBaseControl'
>    |
> 18 | checkoutFiles :: (MonadGit r m, MonadBaseControl IO m, MonadIO m,
>    |                                 ^^^^^^^^^^^^^^^^
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:147: build-ghc-stamp] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2018/05/02/haskell-gitlib_3.1.1-5_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-haskell-maintainers mailing list