Bug 1091499 - Please use luajit instead of lua in F20+ (prosody requires lua 5.1; lua 5.2 is packaged)
Summary: Please use luajit instead of lua in F20+ (prosody requires lua 5.1; lua 5.2 i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: prosody
Version: 20
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-25 18:29 UTC by David Benfell
Modified: 2015-05-10 23:53 UTC (History)
4 users (show)

Fixed In Version: prosody-0.9.8-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-26 12:51:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Benfell 2014-04-25 18:29:28 UTC
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.

Comment 1 Jan Kaluža 2014-05-06 05:52:22 UTC
Please use luajit instead of lua in F20+. luajit will remain compatible with lua 5.1 and prosody works quite well with it.

Comment 2 Jan Kaluža 2014-05-30 11:03:52 UTC
Done in rawhide.

Comment 3 Dridi Boukelmoune 2014-07-08 18:14:56 UTC
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?

Comment 4 Fedora Admin XMLRPC Client 2015-01-16 17:34:17 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Admin XMLRPC Client 2015-02-02 21:25:47 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Robert Scheck 2015-02-14 19:35:59 UTC
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.

Comment 7 Fedora Update System 2015-04-18 13:13:15 UTC
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

Comment 8 Fedora Update System 2015-04-18 13:16:16 UTC
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

Comment 9 Fedora Update System 2015-04-18 13:16:52 UTC
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

Comment 10 Fedora Update System 2015-04-21 18:31:01 UTC
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).

Comment 11 Fedora Update System 2015-04-26 12:51:53 UTC
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.

Comment 12 Fedora Update System 2015-04-30 11:46:49 UTC
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.

Comment 13 Fedora Update System 2015-05-10 23:53:13 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.