Package: lua-lpeg-patterns
Version: 0.4-1.1
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
This package works fine with lua 5.1 and 5.2. However, upstream works
with 5.3 ad 5.4 as well, but the debian packaging does not install it
on the necessary paths for it to be visible to newer versions of Lua.
For example:
~/ $ lua5.4
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio
> require("lpeg_patterns.http")
stdin:1: module 'lpeg_patterns.http' not found:
no field package.preload['lpeg_patterns.http']
no file '/usr/local/share/lua/5.4/lpeg_patterns/http.lua'
no file '/usr/local/share/lua/5.4/lpeg_patterns/http/init.lua'
no file '/usr/local/lib/lua/5.4/lpeg_patterns/http.lua'
no file '/usr/local/lib/lua/5.4/lpeg_patterns/http/init.lua'
no file '/usr/share/lua/5.4/lpeg_patterns/http.lua'
no file '/usr/share/lua/5.4/lpeg_patterns/http/init.lua'
no file './lpeg_patterns/http.lua'
no file './lpeg_patterns/http/init.lua'
no file '/usr/local/lib/lua/5.4/lpeg_patterns/http.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.4/lpeg_patterns/http.so'
no file '/usr/lib/lua/5.4/lpeg_patterns/http.so'
no file '/usr/local/lib/lua/5.4/loadall.so'
no file './lpeg_patterns/http.so'
no file '/usr/local/lib/lua/5.4/lpeg_patterns.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.4/lpeg_patterns.so'
no file '/usr/lib/lua/5.4/lpeg_patterns.so'
no file '/usr/local/lib/lua/5.4/loadall.so'
no file './lpeg_patterns.so'
stack traceback:
[C]: in function 'require'
stdin:1: in main chunk
[C]: in ?
>
~/ $ lua5.1
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
> require("lpeg_patterns.http")
>
If we could get it so that the files in this library were placed on
the load path for all versions of Lua, that would be great.
-Phil
-- System Information:
Debian Release: 12.10
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-31-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages lua-lpeg-patterns depends on:
ii lua-lpeg 1.0.2-2
lua-lpeg-patterns recommends no packages.
lua-lpeg-patterns suggests no packages.
-- no debconf information