Bug#1015736: haskell-yi-language FTBFS: error: Variable not in scope

Adrian Bunk bunk at debian.org
Wed Jul 20 01:41:19 BST 2022


Source: haskell-yi-language
Version: 0.19.0-1
Severity: serious
Tags: ftbfs bookworm sid

https://buildd.debian.org/status/package.php?p=haskell-yi-language&suite=sid

...
test/Spec.hs:36:3-10: error:
    Variable not in scope:
      describe
        :: String
           -> m0 b0 -> hspec-core-2.8.5:Test.Hspec.Core.Spec.Monad.Spec
   |
36 |   describe "reversePattern" $ do
   |   ^^^^^^^^

test/Spec.hs:37:5-6: error:
    • Variable not in scope:
        it
          :: String
             -> Either
                  parsec-3.1.14.0:Text.Parsec.Error.ParseError
                  (Pattern, (GroupIndex, DoPa))
             -> t4
    • Perhaps you meant ‘id’ (imported from Prelude)
   |
37 |     it "reverses normal characters" $
   |     ^^

test/Spec.hs:39:9-18: error:
    Variable not in scope:
      shouldBe
        :: t4
           -> Either
                parsec-3.1.14.0:Text.Parsec.Error.ParseError
                (Pattern, (GroupIndex, DoPa))
           -> m0 a3
   |
39 |         `shouldBe` (first ignoreDoPa <$> parseRegex "ba")
   |         ^^^^^^^^^^

test/Spec.hs:41:5-6: error:
    • Variable not in scope:
        it
          :: String
             -> Either
                  parsec-3.1.14.0:Text.Parsec.Error.ParseError
                  (Pattern, (GroupIndex, DoPa))
             -> t3
    • Perhaps you meant ‘id’ (imported from Prelude)
   |
41 |     it "changes carat to dollar" $
   |     ^^

test/Spec.hs:42:43-52: error:
    Variable not in scope:
      shouldBe
        :: t3
           -> Either
                parsec-3.1.14.0:Text.Parsec.Error.ParseError
                (Pattern, (GroupIndex, DoPa))
           -> m0 a2
   |
42 |       (reversePattern <$> parseRegex "^") `shouldBe` parseRegex "$"
   |                                           ^^^^^^^^^^

test/Spec.hs:44:5-6: error:
    • Variable not in scope:
        it
          :: String
             -> Either
                  parsec-3.1.14.0:Text.Parsec.Error.ParseError
                  (Pattern, (GroupIndex, DoPa))
             -> t2
    • Perhaps you meant ‘id’ (imported from Prelude)
   |
44 |     it "changes dollar to carat" $
   |     ^^

test/Spec.hs:45:43-52: error:
    Variable not in scope:
      shouldBe
        :: t2
           -> Either
                parsec-3.1.14.0:Text.Parsec.Error.ParseError
                (Pattern, (GroupIndex, DoPa))
           -> m0 a1
   |
45 |       (reversePattern <$> parseRegex "$") `shouldBe` parseRegex "^"
   |                                           ^^^^^^^^^^

test/Spec.hs:47:5-6: error:
    • Variable not in scope: it :: String -> Property -> m0 a0
    • Perhaps you meant ‘id’ (imported from Prelude)
   |
47 |     it "forms the identity when applied twice" $
   |     ^^

test/Spec.hs:48:75-84: error:
    Variable not in scope:
      shouldBe
        :: Either
             parsec-3.1.14.0:Text.Parsec.Error.ParseError
             (Pattern, (GroupIndex, DoPa))
           -> Either
                parsec-3.1.14.0:Text.Parsec.Error.ParseError
                (Pattern, (GroupIndex, DoPa))
           -> t1
   |
48 |       property $ \p -> (reversePattern . reversePattern <$> parseRegex p) `shouldBe` parseRegex p
   |                                                                           ^^^^^^^^^^

test/Spec.hs:50:5-6: error:
    • Variable not in scope:
        it
          :: String
             -> Either
                  parsec-3.1.14.0:Text.Parsec.Error.ParseError
                  (Pattern, (GroupIndex, DoPa))
             -> t0
    • Perhaps you meant ‘id’ (imported from Prelude)
   |
50 |     it "recursively reverses patterns" $
   |     ^^

test/Spec.hs:52:9-18: error:
    Variable not in scope:
      shouldBe
        :: t0
           -> Either
                parsec-3.1.14.0:Text.Parsec.Error.ParseError
                (Pattern, (GroupIndex, DoPa))
           -> m0 b0
   |
52 |         `shouldBe` (first ignoreDoPa <$> parseRegex "oof|rab")
   |         ^^^^^^^^^^
 at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 107.
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 131
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 642
	Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe() called at -e line 1
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:153: build-ghc-stamp] Error 25


More information about the Pkg-haskell-maintainers mailing list