Bug 985789
| Summary: | lua-json doesn't work with current lua-lpeg | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Olivier Andrieu <oandrieu> |
| Component: | lua-json | Assignee: | Michel Lind <michel> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | ademar111190, harningt, michel |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | lua-json-1.3.2-2.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-27 13:08:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Olivier Andrieu
2013-07-18 09:08:05 UTC
An additional detail, lua-lpeg-0.10.2 as shipped with Fedora 19 should work. It is just the update to lua-lpeg-0.12 that broke the system. I'm getting the same problem: [root@erika nginx]# rpm -q lua-json lua-lpeg lua-json-1.2.2-3.fc19.noarch lua-lpeg-0.12-1.fc19.i686 [root@erika nginx]# lua -ljson lua: /usr/share/lua/5.1/json/decode/strings.lua:90: loop body may accept empty string stack traceback: [C]: ? /usr/share/lua/5.1/json/decode/strings.lua:90: in function 'buildCaptureString' /usr/share/lua/5.1/json/decode/strings.lua:111: in function 'buildCapture' /usr/share/lua/5.1/json/decode/strings.lua:126: in function 'load_types' /usr/share/lua/5.1/json/decode.lua:86: in function 'buildDecoder' /usr/share/lua/5.1/json/decode.lua:112: in main chunk [C]: in function 'require' /usr/share/lua/5.1/json.lua:5: in main chunk [C]: ? [C]: ? in addtional my distro infos (Linux erika 3.11.6-201.fc19.i686 #1 SMP Sat Nov 2 14:51:59 UTC 2013 i686 i686 i386 GNU/Linux) I'm solve just updating my luajson library:
[ademar@erika ademar]$ luarocks new_version luajson
Wrote luajson-1.3.2-2.rockspec
[ademar@erika ademar]$ su -c 'luarocks install luajson-1.3.2-2.rockspec'
[ademar@erika ademar]$ lua -ljson
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
>
is shows that the bug is at version "lua-json-1.2.2-3".
lua-json-1.3.2-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/lua-json-1.3.2-2.fc19 Package lua-json-1.3.2-2.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lua-json-1.3.2-2.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1135/lua-json-1.3.2-2.fc19 then log in and leave karma (feedback). lua-json-1.3.2-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |