Source: git-repair
Version: 1.20200102-1
Severity: serious
Tags: ftbfs

This package fails to build on current sid.

>From my build log:

  [21 of 69] Compiling Utility.HumanTime ( Utility/HumanTime.hs, 
dist/build/git-repair/git-repair-tmp/Utility/HumanTime.o )
  
  Utility/HumanTime.hs:58:21: error:
      • Could not deduce (MonadFail m) arising from a use of ‘fail’
        from the context: Monad m
          bound by the type signature for:
                     parseDuration :: forall (m :: * -> *).
                                      Monad m =>
                                      String -> m Duration
          at Utility/HumanTime.hs:47:1-48
        Possible fix:
          add (MonadFail m) to the context of
            the inferred type of parsefail :: m a
            or the type signature for:
                 parseDuration :: forall (m :: * -> *).
                                  Monad m =>
                                  String -> m Duration
      • In the expression:
          fail "duration parse error; expected eg \"5m\" or \"1h5m\""
        In an equation for ‘parsefail’:
            parsefail
              = fail "duration parse error; expected eg \"5m\" or \"1h5m\""
        In an equation for ‘parseDuration’:
            parseDuration
              = maybe parsefail (return . Duration) . go 0
              where
                  go n [] = return n
                  go n s
                    = do num <- ...
                         ....
                  parsefail
                    = fail "duration parse error; expected eg \"5m\" or 
\"1h5m\""
     |
  58 |         parsefail = fail "duration parse error; expected eg \"5m\" or 
\"1h5m\""
     |                     
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  make[1]: *** [Makefile:8: build] Error 1
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  dh_auto_build: error: make -j1 returned exit code 2
  make: *** [debian/rules:10: binary] Error 25
 

-- 
Niko Tyni   nt...@debian.org

Reply via email to