https://bugzilla.redhat.com/show_bug.cgi?id=2440977
Bug ID: 2440977
Summary: luaL_openlibs not exported
Product: Fedora
Version: rawhide
OS: Linux
Status: NEW
Component: lua
Severity: medium
Assignee: spotrh(a)gmail.com
Reporter: jskarvad(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: 4le(a)live.com, drjohnson1(a)gmail.com,
lua-packagers-sig(a)lists.fedoraproject.org,
mhroncok(a)redhat.com, michel(a)michel-slm.name,
spotrh(a)gmail.com
Target Milestone: ---
Classification: Fedora
According to the Lua 5.5 doc the function should be available:
https://www.lua.org/manual/5.5/manual.html#luaL_openlibs
But it isn't exported. It's causing rrdtool Lua bindings not to build.
Reproducible: Always
Steps to Reproduce:
1. cat >test.c <<:EOF
char luaL_openlibs ();
int
main ()
{
return luaL_openlibs ();
;
return 0;
}
:EOF
2. gcc -o test test.c -llua
Actual Results:
/usr/bin/ld.bfd: /tmp/ccnn2IFm.o: in function `main':
test.c:(.text+0x5): undefined reference to `luaL_openlibs'
collect2: error: ld returned 1 exit status
Expected Results:
No error
Additional Information:
With Lua 5.4 it works as expected.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2440977
Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-sp…
https://bugzilla.redhat.com/show_bug.cgi?id=2439880
Bug ID: 2439880
Summary: LuaRocks package on Fedora Rawhide is broken
Product: Fedora
Version: rawhide
OS: Linux
Status: NEW
Component: luarocks
Keywords: Regression
Severity: urgent
Assignee: michel(a)michel-slm.name
Reporter: solemnwarning(a)solemnwarning.net
QA Contact: extras-qa(a)fedoraproject.org
CC: epel-packagers-sig(a)lists.fedoraproject.org,
ktdreyer(a)ktdreyer.com,
lua-packagers-sig(a)lists.fedoraproject.org,
michel(a)michel-slm.name
Target Milestone: ---
Classification: Fedora
Running any `luarocks` command on rawhide fails with the following error:
/usr/bin/lua: error loading module 'luarocks.core.util' from file
'/usr/share/lua/5.4/luarocks/core/util.lua':
/usr/share/lua/5.4/luarocks/core/util.lua:95: attempt to assign to
const variable 'k'
stack traceback:
[C]: in ?
[C]: in local 'require'
/usr/share/lua/5.4/luarocks/core/cfg.lua:16: in main chunk
[C]: in global 'require'
/usr/bin/luarocks:7: in main chunk
[C]: in ?
Reproducible: Always
Steps to Reproduce:
1. Install luarocks
2. Run `luarocks`
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2439880
Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-sp…