Bug#865605: missing Recommends: libghc-filestore-data, pandoc-data

Trent W. Buck trentbuck at gmail.com
Fri Jun 23 04:37:08 UTC 2017


Package: gitit
Version: 0.12.1.1+dfsg-6+b3
Severity: normal

If I just do "apt install gitit", and
run "gitit" in an empty directory,
it crashes:

    root at slime:~/my_gitit# gitit
    gitit: /usr/share/filestore/extra/post-update: openBinaryFile: does not exist (No such file or directory)

If I run it again, it "works", but I'm in a *completely* empty wiki
with none of the usual default pages.

If I create a test page and try to export to ConTeXt format,
I get another error:

    gitit: Could not find data file /usr/share/pandoc/data/templates/default.context

These data files are provided by related Haskell packages.

After installing the two packages I mentioned above, I get a much more sensible initial run:

    root at slime:~/my_gitit# rm -rf gitit.log wikidata
    root at slime:~/my_gitit# gitit
    Created repository in wikidata
    Added Front Page.page to repository
    Added Help.page to repository
    Added Gitit User’s Guide.page to repository
    Created static/css/custom.css
    Created static/img/logo.png
    Created templates/footer.st

Please add necessary Recommends (or similar) relations to the debian/control file,
so that someone just doing an "apt install gitit" will get a gitit that works well.

I'm not sure exactly what those relations should be --- the issues
above are just what I turned up in the first five minutes of testing.



More information about the Pkg-haskell-maintainers mailing list