Your message dated Thu, 10 Apr 2025 17:41:57 +0200
with message-id <Z_fmxfeFcL4zkJp4@duagon-BXN3S64.>
and subject line lua-wsapi: /usr/share/lua/5.1/wsapi/common.lua:15: module
'wsapi' not found
has caused the Debian Bug report #737021,
regarding lua-wsapi: /usr/share/lua/5.1/wsapi/common.lua:15: module 'wsapi' not
found
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 ow...@bugs.debian.org
immediately.)
--
737021: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737021
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: lua-wsapi
Version: 1.6.0-1
Severity: important
Tags: patch
Hi,
/usr/bin/wsapi.fcgi in lua-wsapi fails like this:
$ /usr/bin/wsapi.fcgi
lua5.1: /usr/share/lua/5.1/wsapi/common.lua:15: module 'wsapi' not found:
no field package.preload['wsapi']
no file './wsapi.lua'
no file '/usr/local/share/lua/5.1/wsapi.lua'
no file '/usr/local/share/lua/5.1/wsapi/init.lua'
no file '/usr/local/lib/lua/5.1/wsapi.lua'
no file '/usr/local/lib/lua/5.1/wsapi/init.lua'
no file '/usr/share/lua/5.1/wsapi.lua'
no file '/usr/share/lua/5.1/wsapi/init.lua'
no file './wsapi.so'
no file '/usr/local/lib/lua/5.1/wsapi.so'
no file '/usr/lib/i386-linux-gnu/lua/5.1/wsapi.so'
no file '/usr/lib/lua/5.1/wsapi.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/usr/share/lua/5.1/wsapi/common.lua:15: in main chunk
[C]: in function 'require'
/usr/bin/wsapi.fcgi:8: in main chunk
[C]: ?
$
Attaching a patch that fixes this.
Roland
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.12-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lua-wsapi depends on:
ii lua-cgi 5.2~alpha2-1
ii lua-coxpcall 1.14.0-2
ii lua-filesystem 1.6.2-1
ii lua-rings 1.3.0-2
ii lua5.1 5.1.5-5
ii multiarch-support 2.17-97
lua-wsapi recommends no packages.
lua-wsapi suggests no packages.
-- no debconf information
Description: Fix common.lua's require directive
common.lua includes "wsapi" which isn't available, nor actually used by
common.lua. Therefore, this patch just removes the "require" directive.
Author: Roland Stigge <sti...@antcom.de>>
--- lua-wsapi-1.6.0.orig/src/wsapi/common.lua
+++ lua-wsapi-1.6.0/src/wsapi/common.lua
@@ -12,7 +12,6 @@ local io = require "io"
local table = require "table"
local debug = require "debug"
-local wsapi = require "wsapi"
local lfs = require "lfs"
local tostring, tonumber, pairs, ipairs, error, type, pcall, xpcall, setmetatable, dofile, rawget, rawset, assert, loadfile =
--- End Message ---
--- Begin Message ---
Version: 1.6.1-3
--- End Message ---