[pkg-lua-devel] Bug#942569: cjson: Package is lacking a version for lua 5.3

Jan bug-reporter at tuta.io
Fri Oct 18 09:56:33 BST 2019


Package: lua-cjson
Version: 2.1.0+dfsg-2.1
Severity: important
File: cjson

Dear Maintainer,

the package currently comes with support for lua 5.1 and 5.2 but
lacks a library for lua 5.3. I noticed because weechat-lua was
recently updated and a script that relies on cjson failed with
these errors:

10:49:39 =!= | lua: unable to execute file "/home/jan/.weechat/lua/autoload/matrix.lua"
10:49:39 =!= | lua: error: /home/jan/.weechat/lua/autoload/matrix.lua:48: module 'cjson' not found:
10:49:39     | no field package.preload['cjson']
10:49:39     | no file '/usr/local/share/lua/5.3/cjson.lua'
10:49:39     | no file '/usr/local/share/lua/5.3/cjson/init.lua'
10:49:39     | no file '/usr/local/lib/lua/5.3/cjson.lua'
10:49:39     | no file '/usr/local/lib/lua/5.3/cjson/init.lua'
10:49:39     | no file '/usr/share/lua/5.3/cjson.lua'
10:49:39     | no file '/usr/share/lua/5.3/cjson/init.lua'
10:49:39     | no file './cjson.lua'
10:49:39     | no file './cjson/init.lua'
10:49:39     | no file '/usr/local/lib/lua/5.3/cjson.so'
10:49:39     | no file '/usr/lib/x86_64-linux-gnu/lua/5.3/cjson.so'
10:49:39     | no file '/usr/lib/lua/5.3/cjson.so'
10:49:39     | no file '/usr/local/lib/lua/5.3/loadall.so'
10:49:39     | no file './cjson.so'

Compiling cjson with liblua5.3-dev fixes the problem.

Regards, Jan


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lua-cjson:amd64 depends on:
ii  libc6  2.29-2

lua-cjson:amd64 recommends no packages.

lua-cjson:amd64 suggests no packages.

-- no debconf information



More information about the pkg-lua-devel mailing list