Your message dated Thu, 9 Oct 2025 11:02:43 +0200
with message-id <[email protected]>
and subject line LUA dependecnies issues
has caused the Debian Bug report #1081208,
regarding LUA dependecnies issues
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1081208: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081208
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lua-http
Version: 0.4-1


Package: lua-lpeg-patterns
Version: 0.4-1.1


Package: lua5.3
Version: 5.3.6-2


Issue:

Using Debian bookworm with lua5.3, lua-http for lua5.3  requires
lua-lpeg-patterns, configured as dependency >=0.3, but lua-lpeg-patterns is
not compatible with lua-5.3, only 5.1 and 5.2. So the situation is that
both packages are already installed as dependencies indicated, but LUA
program  with lua-http and  interpreter 5.3 doesn't find lua-lpeg-patterns
files.

error:
Failed to execute lua script:
/usr/local/skudonet/config/ipds/waf/sets/lua-test.lua (main) -
/usr/share/lua/5.3/http/request.lua:2: module 'lpeg_patterns.http' not
found:
no field package.preload['lpeg_patterns.http']
no file '/usr/local/share/lua/5.3/lpeg_patterns/http.lua'
no file '/usr/local/share/lua/5.3/lpeg_patterns/http/init.lua'
no file '/usr/local/lib/lua/5.3/lpeg_patterns/http.lua'
no file '/usr/local/lib/lua/5.3/lpeg_patterns/http/init.lua'
no file '/usr/share/lua/5.3/lpeg_patterns/http.lua'
no file '/usr/share/lua/5.3/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.3/lpeg_patterns/http.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.3/lpeg_patterns/http.so'
no file '/usr/lib/lua/5.3/lpeg_patterns/http.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './lpeg_patterns/http.so'
no file '/usr/local/lib/lua/5.3/lpeg_patterns.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.3/lpeg_patterns.so'
no file '/usr/lib/lua/5.3/lpeg_patterns.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './lpeg_patterns.so'

code:
local http_request = require "http.request"
local headers, stream = assert(http_request.new_from_uri("http://example.com
"):go())
local body = assert(stream:get_body_as_string())
if headers:get ":status" ~= "200" then
    error(body)
end
print(body)

Regards!

--- End Message ---
--- Begin Message ---
Fixed with #1102416.

--- End Message ---

Reply via email to