|
Bugzilla – Full Text Bug Listing |
| Summary: | luajit fails with "unknown luaJIT command or jit.* modules not installed" | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Shung-Hsi Yu <shung-hsi.yu> |
| Component: | Development | Assignee: | Matej Cepl <mcepl> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | mcepl |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE Tumbleweed | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Probably related to changes in commit 50e0fa03c4 "Switch build system to rolling releases."[1] CC Matej 1: https://github.com/LuaJIT/LuaJIT/commit/50e0fa03c48cb9af03c3efdc3100f12687651a2e Could you please test with the package from https://build.opensuse.org/request/show/1116533? Thank you (In reply to Matej Cepl from comment #2) > Could you please test with the package from > https://build.opensuse.org/request/show/1116533? > > Thank you Seems to work now, thank you! |
openSUSE:Factory/luajit fails to access jit.* modules since revision 10. Comparing the strace output of `luajit -b` between revision 9 and revision 10 it seems the problem is with locating the jit module. The problem with revision 10 is that luajit tries to find jit module under /usr/share/luajit-5_1-2.1.0-rolling/, but the actual location was /usr/share/luajit-5_1-2.1/. > --- luajit_trace_rev09.log 2023-09-22 04:07:12.002902348 +0000 > +++ luajit_trace_rev10.log 2023-09-22 04:06:44.792038334 +0000 > @@ -1,66 +1,76 @@ > ... > openat(AT_FDCWD, "./jit/bcsave.lua", O_RDONLY) = -1 ENOENT (No such file or directory) > -openat(AT_FDCWD, "/usr/share/luajit-5_1-2.1.0-beta3/jit/bcsave.lua", O_RDONLY) = 3 > -close(3) = 0 > -openat(AT_FDCWD, "/usr/share/luajit-5_1-2.1.0-beta3/jit/bcsave.lua", O_RDONLY) = 3 > -newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=19554, ...}, AT_EMPTY_PATH) = 0 > -read(3, "--------------------------------"..., 8192) = 8192 > -read(3, "s = ffi.offsetof(o, \"space\"), 1\n"..., 8192) = 8192 > -read(3, ")\n a.sec.size = #s\n a.sec."..., 8192) = 3170 > -read(3, "", 4096) = 0 > -close(3) = 0 > -write(2, "Save LuaJIT bytecode: luajit -b["..., 651) = 651 > +openat(AT_FDCWD, "/usr/share/luajit-5_1-2.1.0-rolling/jit/bcsave.lua", O_RDONLY) = -1 ENOENT (No such file or directory) > +openat(AT_FDCWD, "/usr/local/share/lua/5.1/jit/bcsave.lua", O_RDONLY) = -1 ENOENT (No such file or directory) > +openat(AT_FDCWD, "/usr/local/share/lua/5.1/jit/bcsave/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory) > +openat(AT_FDCWD, "/usr/share/lua/5.1/jit/bcsave.lua", O_RDONLY) = -1 ENOENT (No such file or directory) > +openat(AT_FDCWD, "/usr/share/lua/5.1/jit/bcsave/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory) > +openat(AT_FDCWD, "./jit/bcsave.so", O_RDONLY) = -1 ENOENT (No such file or directory) > +openat(AT_FDCWD, "/usr/local/lib/lua/5.1/jit/bcsave.so", O_RDONLY) = -1 ENOENT (No such file or directory) > +openat(AT_FDCWD, "/usr/lib64/lua/5.1/jit/bcsave.so", O_RDONLY) = -1 ENOENT (No such file or directory) > +openat(AT_FDCWD, "/usr/local/lib/lua/5.1/loadall.so", O_RDONLY) = -1 ENOENT (No such file or directory) > +openat(AT_FDCWD, "./jit.so", O_RDONLY) = -1 ENOENT (No such file or directory) > +openat(AT_FDCWD, "/usr/local/lib/lua/5.1/jit.so", O_RDONLY) = -1 ENOENT (No such file or directory) > +openat(AT_FDCWD, "/usr/lib64/lua/5.1/jit.so", O_RDONLY) = -1 ENOENT (No such file or directory) > +openat(AT_FDCWD, "/usr/local/lib/lua/5.1/loadall.so", O_RDONLY) = -1 ENOENT (No such file or directory) > +futex(0x7f9b0625f070, FUTEX_WAKE_PRIVATE, 2147483647) = 0 > +write(2, "luajit", 6) = 6 > +write(2, ":", 1) = 1 > +write(2, " ", 1) = 1 > +write(2, "unknown luaJIT command or jit.* "..., 53) = 53 > +write(2, "\n", 1) = 1 > +munmap(0x7f9b06219000, 131072) = 0 > exit_group(1) = ? > +++ exited with 1 +++