Source: debug-me
Version: 1.20190926-1
Severity: serious
Tags: ftbfs

This package fails to build on current sid.

>From my build log:

  Configuring debug-me-1.20190926...
  Warning: Instead of 'ghc-options: -XNoMonadFailDesugaring' use 'extensions:
  NoMonadFailDesugaring'
  Preprocessing executable 'debug-me' for debug-me-1.20190926..
  Building executable 'debug-me' for debug-me-1.20190926..
  
  on the commandline: warning:
      -XNoMonadFailDesugaring is deprecated: MonadFailDesugaring is now the 
default behavior
  [ 1 of 32] Compiling DotDir           ( DotDir.hs, 
dist/build/debug-me/debug-me-tmp/DotDir.o )
  [ 2 of 32] Compiling JSON             ( JSON.hs, 
dist/build/debug-me/debug-me-tmp/JSON.o )
  [ 3 of 32] Compiling Memory           ( Memory.hs, 
dist/build/debug-me/debug-me-tmp/Memory.o )
  [ 4 of 32] Compiling Output           ( Output.hs, 
dist/build/debug-me/debug-me-tmp/Output.o )
  [ 5 of 32] Compiling Pty              ( Pty.hs, 
dist/build/debug-me/debug-me-tmp/Pty.o )
  [ 6 of 32] Compiling ServerList       ( ServerList.hs, 
dist/build/debug-me/debug-me-tmp/ServerList.o )
  [ 7 of 32] Compiling Session          ( Session.hs, 
dist/build/debug-me/debug-me-tmp/Session.o )
  [ 8 of 32] Compiling SessionID        ( SessionID.hs, 
dist/build/debug-me/debug-me-tmp/SessionID.o )
  [ 9 of 32] Compiling Val              ( Val.hs, 
dist/build/debug-me/debug-me-tmp/Val.o )
  
  Val.hs:47:16: error:
      • Could not deduce (MonadFail m) arising from a use of ‘fail’
        from the context: Monad m
          bound by the type signature for:
                     unb64 :: forall (m :: * -> *). Monad m => T.Text -> m 
B.ByteString
          at Val.hs:45:1-44
        Possible fix:
          add (MonadFail m) to the context of
            the type signature for:
              unb64 :: forall (m :: * -> *). Monad m => T.Text -> m B.ByteString
      • In the expression: fail "bad base64 data"
        In the first argument of ‘either’, namely
          ‘(\ _ -> fail "bad base64 data")’
        In the expression:
          either
            (\ _ -> fail "bad base64 data")
            return
            (B64.decode $ T.encodeUtf8 t)
     |
  47 |         (\_ -> fail "bad base64 data")
     |                ^^^^^^^^^^^^^^^^^^^^^^
  make[2]: *** [Makefile:30: debug-me] Error 1
  make[2]: Leaving directory '/<<PKGBUILDDIR>>'
 
-- 
Niko Tyni   nt...@debian.org

Reply via email to