Bug 1091499
Summary: | Please use luajit instead of lua in F20+ (prosody requires lua 5.1; lua 5.2 is packaged) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Benfell <benfell> |
Component: | prosody | Assignee: | Robert Scheck <redhat-bugzilla> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | dridi.boukelmoune, jkaluza, Neustradamus, redhat-bugzilla |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | prosody-0.9.8-1.fc20 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-26 12:51:53 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
David Benfell
2014-04-25 18:29:28 UTC
Please use luajit instead of lua in F20+. luajit will remain compatible with lua 5.1 and prosody works quite well with it. Done in rawhide. Hello, I have the opposite problem, I can't use lua modules with luajit. What am I supposed to do to make this work? $ luajit -l lpeg luajit: module 'lpeg' not found: no field package.preload['lpeg'] no file './lpeg.lua' no file '/usr/share/luajit-2.0.3/lpeg.lua' no file '/usr/local/share/lua/5.1/lpeg.lua' no file '/usr/local/share/lua/5.1/lpeg/init.lua' no file '/usr/share/lua/5.1/lpeg.lua' no file '/usr/share/lua/5.1/lpeg/init.lua' no file './lpeg.so' no file '/usr/local/lib/lua/5.1/lpeg.so' no file '/usr/lib64/lua/5.1/lpeg.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: at 0x004460d0 [C]: at 0x00404e90 $ rpm -qa lua-lpeg luajit lua-lpeg-0.12-2.fc20.x86_64 luajit-2.0.3-1.fc20.x86_64 Do we need compat packages for luajit? This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Status: We have luajit and compat-lua in Fedora...and both provide 5.1, but not all lua modules have a -compat subpackage for 5.1. Given that I do not have a deep clue about Lua so far, I asked upstream for a suggestion between luajit and compat-lua. prosody-0.9.8-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/prosody-0.9.8-1.fc20 prosody-0.9.8-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/prosody-0.9.8-1.fc21 prosody-0.9.8-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/prosody-0.9.8-1.fc22 Package prosody-0.9.8-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing prosody-0.9.8-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-6428/prosody-0.9.8-1.fc20 then log in and leave karma (feedback). prosody-0.9.8-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. prosody-0.9.8-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. prosody-0.9.8-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |