ldoc appears to be incorrectly packaged without builtin markdown.lua, installing lua-markdown doesn't help
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lua-ldoc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
It appears that ldoc appears to be incorrectly packaged without builtin markdown.lua. In the original source repo, ldoc has this in its main source code dir: https:/
When I run ldoc on my project, I get this error and all markdown pages end up broken:
format: markdown not found, falling back to text
And when I do this, it fixes things:
cd /usr/share/
So the problem really seems to be this missing markdown.lua file. If the point was to make it use lua-markdown instead, I installed that package and that didn't fix anything so that doesn't seem to work. Hence I recommend adding back in the built-in one so this doesn't end up broken.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: lua-ldoc 1.4.6-1 [modified: usr/bin/ldoc]
ProcVersionSign
Uname: Linux 5.3.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.4
Architecture: amd64
Date: Mon Mar 23 13:08:29 2020
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lua-ldoc
UpgradeStatus: Upgraded to eoan on 2020-03-01 (22 days ago)
You need lua-markdown package. ldoc markdown.lua is not included in the package, yes.