Public bug reported:
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://raw.githubusercontent.com/stevedonovan/LDoc/master/ldoc/markdown.lua
However, in /usr/share/lua/5.3/ldoc this file is missing.
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/lua/5.3/ldoc && wget
https://raw.githubusercontent.com/stevedonovan/LDoc/master/ldoc/markdown.lua
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]
ProcVersionSignature: Ubuntu 5.3.0-40.32-generic 5.3.18
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
PackageArchitecture: all
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lua-ldoc
UpgradeStatus: Upgraded to eoan on 2020-03-01 (22 days ago)
** Affects: lua-ldoc (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug eoan uec-images
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868550
Title:
ldoc appears to be incorrectly packaged without builtin markdown.lua,
installing lua-markdown doesn't help
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lua-ldoc/+bug/1868550/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs