Bug#867386: xmonad FTBFS: error: Couldn't match type `Maybe String' with `[Char]'

Adrian Bunk bunk at debian.org
Thu Jul 6 08:14:13 UTC 2017


Source: xmonad
Version: 0.13-1
Severity: serious

https://buildd.debian.org/status/package.php?p=xmonad&suite=sid

...
[1 of 1] Compiling Main             ( util/GenerateManpage.hs, util/GenerateManpage.o )

util/GenerateManpage.hs:82:42: error:
    * Couldn't match type `Maybe String' with `[Char]'
      Expected type: String
        Actual type: Maybe String
    * In the `writerTemplate' field of a record
      In the first argument of `writeMan', namely
        `def {writerTemplate = Just template}'
      In the second argument of `(.)', namely
        `writeMan (def {writerTemplate = Just template})'

util/GenerateManpage.hs:95:32: error:
    * Couldn't match type `Maybe String' with `[Char]'
      Expected type: String
        Actual type: Maybe String
    * In the `writerTemplate' field of a record
      In the first argument of `writeHtmlString', namely
        `def
           {writerVariables = [("include-before", 
                                "<h1>"
                                ++
                                  releaseName
                                  ++
                                    "</h1>"
                                    ++
                                      "<p>Section: xmonad manual (1)<br/>"
                                      ++ "Updated: " ++ releaseDate ++ "</p>" ++ "<hr/>")],
            writerTemplate = Just template, writerTableOfContents = True}'
      In the second argument of `(.)', namely
        `writeHtmlString
           (def
              {writerVariables = [("include-before", 
                                   "<h1>"
                                   ++
                                     releaseName
                                     ++
                                       "</h1>"
                                       ++
                                         "<p>Section: xmonad manual (1)<br/>"
                                         ++ "Updated: " ++ releaseDate ++ "</p>" ++ "<hr/>")],
               writerTemplate = Just template, writerTableOfContents = True})'
debian/rules:7: recipe for target 'man/xmonad.1' failed
make: *** [man/xmonad.1] Error 1



More information about the Pkg-haskell-maintainers mailing list