Source: haskell-dice Version: 0.1.0.1-1 Severity: serious Tags: ftbfs bookworm sid
https://buildd.debian.org/status/package.php?p=haskell-dice&suite=sid ... src/Data/Random/Dice.hs:174:15: error: • No instance for (mtl-2.2.2:Control.Monad.Reader.Class.MonadReader g0 IO) arising from a use of ‘sample’ • In the first argument of ‘($)’, namely ‘sample’ In a stmt of a 'do' block: ex <- sample $ runExpr ex :: IO (Expr [Integer]) In the expression: do ex <- sample $ runExpr ex :: IO (Expr [Integer]) return (Right (fmtSimpleRational (fmap (summarizeRollsOver 3) ex))) | 174 | ex <- sample $ runExpr ex :: IO (Expr [Integer]) | ^^^^^^ src/Data/Random/Dice.hs:193:48: error: • Could not deduce (random-1.2.1.1:System.Random.Internal.UniformRange a) arising from a use of ‘integralUniform’ from the context: Integral a bound by the type signature for: roll :: forall a. Integral a => a -> a -> RVar [a] at src/Data/Random/Dice.hs:183:1-42 Possible fix: add (random-1.2.1.1:System.Random.Internal.UniformRange a) to the context of the type signature for: roll :: forall a. Integral a => a -> a -> RVar [a] • In the second argument of ‘replicateM’, namely ‘(integralUniform 1 sides)’ In a stmt of a 'do' block: ls <- replicateM (fromIntegral count) (integralUniform 1 sides) In the expression: do ls <- replicateM (fromIntegral count) (integralUniform 1 sides) return ls | 193 | ls <- replicateM (fromIntegral count) (integralUniform 1 sides) | ^^^^^^^^^^^^^^^^^^^^^^^ at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 107. Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup", "haddock", "--builddir=dist-ghc", "--with-haddock=/usr/bin/haddock", "--with-ghc=ghc", "--verbose=2", "--html", "--hoogle", ...) called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 131 Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", "haddock", "--builddir=dist-ghc", "--with-haddock=/usr/bin/haddock", "--with-ghc=ghc", "--verbose=2", "--html", "--hoogle", ...) called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 707 Debian::Debhelper::Buildsystem::Haskell::Recipes::haddock_recipe() called at -e line 1 make: *** [/usr/share/cdbs/1/class/hlibrary.mk:153: build-ghc-stamp] Error 25