Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1222383 > unrolled thread
| Started by | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st> |
|---|---|
| First post | 2024-12-01 23:30 +0100 |
| Last post | 2024-12-08 12:20 +0100 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.debian.bugs.dist
Bug#1088842: fails to initialize under lua-lpeg v1.1 - due to lpeg.version change Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st> - 2024-12-01 23:30 +0100
Bug#1088842: moving bug to lua-lpeg Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st> - 2024-12-08 12:20 +0100
| From | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st> |
|---|---|
| Date | 2024-12-01 23:30 +0100 |
| Subject | Bug#1088842: fails to initialize under lua-lpeg v1.1 - due to lpeg.version change |
| Message-ID | <JP0BX-d4XN-13@gated-at.bofh.it> |
Package: lua-json
Version: 1.3.4-2
Severity: important
X-Debbugs-Cc: pkg-lua-devel@lists.alioth.debian.org
lua-lpeg was recently upgraded to v1.1, which broke lua-json in sid,
since lpeg.version is now a string, not a function.
Filing against lua-json, as this is already fixed upstream.
https://github.com/harningt/luajson/issues/47
$ nl -ba /usr/share/lua/5.3/json/decode/util.lua | head -97 | tail -3
95 -- Parse the lpeg version skipping patch-values
96 -- LPEG <= 0.7 have no version value... so 0.7 is value
97 local DecimalLpegVersion = lpeg.version and
tonumber(lpeg.version():match("^(%d+%.%d+)")) or 0.7
lua: /usr/share/lua/5.3/json/decode/util.lua:97: attempt to call a string value (field 'version')
stack traceback:
/usr/share/lua/5.3/json/decode/util.lua:97: in main chunk
[C]: in function 'require'
/usr/share/lua/5.3/json/decode.lua:12: in main chunk
[C]: in function 'require'
/usr/share/lua/5.3/json.lua:5: in main chunk
[C]: in function 'require'
[... snip local paths ...]
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'stable-updates'), (500, 'stable-security'), (10, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.1 (SMP w/4 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lua-json depends on:
ii lua-lpeg 1.1.0-1
lua-json recommends no packages.
lua-json suggests no packages.
-- no debconf information
[toc] | [next] | [standalone]
| From | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st> |
|---|---|
| Date | 2024-12-08 12:20 +0100 |
| Subject | Bug#1088842: moving bug to lua-lpeg |
| Message-ID | <JRnuq-eH8K-5@gated-at.bofh.it> |
| In reply to | #1222383 |
severity 1088842 grave merge 1088842 1089506 retitle 1088842 lua-lpeg: lua-lpeg v1.1 breaks lua-json - due to lpeg.version API change reassign 1088842 lua-lpeg 1.1.0-1 affects 1088842 lua-json thanks Moving the bug over to lua-lpeg, as lua-json 1.3.4-2 is only affected in testing/unstable, due to the upgrade to lua-lpeg 1.1.0-1. Even if I had done this last Sunday, then it would still AFAICT have migrated to testing, as it was selected for migration 30 min before my bug was opened. -- Best regards Asbjørn Sloth Tønnesen
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web