Description of problem: Observed failure to initiate s2s module Version-Release number of selected component (if applicable): 0.9.0-0.5.rc5.fc20 How reproducible: 100% Steps to Reproduce: 1. systemctl start prosody 2. watch logs 3. Actual results: trouble initializing s2s module Expected results: full start of prosody Additional info: According to upstream, prosody should not run against lua 5.2, which is currently packaged under Fedora, but requires lua 5.1. They were surprised it ran at all. Apparently, a newer version will detect lua 5.2 and refuse to run.
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.
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.