Source: haskell-text-conversions Version: 0.3.0-3 Severity: serious Tags: ftbfs bookworm sid
https://buildd.debian.org/status/package.php?p=haskell-text-conversions&suite=sid ... src/Data/Text/Conversions.hs:152:5: error: • Couldn't match expected type: Either String B.ByteString with actual type: (B.ByteString, a3) • In the pattern: (bs, "") In a case alternative: (bs, "") -> Just $ Base16 bs In the expression: case Base16.decode (T.encodeUtf8 txt) of (bs, "") -> Just $ Base16 bs (_, _) -> Nothing | 152 | (bs, "") -> Just $ Base16 bs | ^^^^^^^^ src/Data/Text/Conversions.hs:153:5: error: • Couldn't match expected type: Either String B.ByteString with actual type: (a2, b1) • In the pattern: (_, _) In a case alternative: (_, _) -> Nothing In the expression: case Base16.decode (T.encodeUtf8 txt) of (bs, "") -> Just $ Base16 bs (_, _) -> Nothing | 153 | (_, _) -> Nothing | ^^^^^^^ src/Data/Text/Conversions.hs:164:5: error: • Couldn't match expected type: Either String BL.ByteString with actual type: (BL.ByteString, a1) • In the pattern: (bs, "") In a case alternative: (bs, "") -> Just $ Base16 bs In the expression: case Base16L.decode (TL.encodeUtf8 $ TL.fromStrict txt) of (bs, "") -> Just $ Base16 bs (_, _) -> Nothing | 164 | (bs, "") -> Just $ Base16 bs | ^^^^^^^^ src/Data/Text/Conversions.hs:165:5: error: • Couldn't match expected type: Either String BL.ByteString with actual type: (a0, b0) • In the pattern: (_, _) In a case alternative: (_, _) -> Nothing In the expression: case Base16L.decode (TL.encodeUtf8 $ TL.fromStrict txt) of (bs, "") -> Just $ Base16 bs (_, _) -> Nothing | 165 | (_, _) -> Nothing | ^^^^^^^ 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