Package: lua-ldoc
Version: 1.5.0-2
Severity: serious
Justification: Policy 3.5
Tags: ftbfs
Control: affects -1 src:awesome
X-Debbugs-Cc: [email protected], [email protected], 
[email protected]

If you install lua-ldoc together with lua5.3 (but not lua5.1), it 
installs successfully but does not work:

$ podman run --rm -it docker.io/debian:sid-slim
# apt update
# apt install lua-ldoc lua5.3
# ldoc --help
Error: no suitable Lua interpreter found
Error: supported versions are: 5.2 5.1

This appears to be causing src:awesome (which uses lua5.3) to FTBFS in 
Ubuntu (and possibly Debian too, I haven't checked), for example:
https://launchpadlibrarian.net/826360840/buildlog_ubuntu-resolute-amd64.awesome_4.3-8_BUILDING.txt.gz

The same would presumably happen for lua5.4.

Perhaps dh-lua needs a mechanism to parse scripts that run via lua-any, 
and generate a dependency that is limited to their supported versions, 
similar to the way dh-python recognises #!/usr/bin/python3.9 scripts and 
generates a dependency on python3.9 specifically?

    smcv

Reply via email to