Summary: | x11-wm/awesome with =dev-lang/lua-5.1.5-r2 / =dev-lang/lua-5.2.3 - .../work/awesome-3.5.5/luaa.h:99: error: undefined reference to 'lua_rawlen' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | Current packages | Assignee: | Maxim Koltsov (RETIRED) <maksbotan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, ilmostro7, skrattaren, wired |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=510846 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 657722 | ||
Bug Blocks: | |||
Attachments: |
x11-wm:awesome-3.5.5:20140425-142843.log [/usr/bin/lua 5.2]
x11-wm:awesome-3.5.5:20140425-143219.log [/usr/bin/lua 5.1] lgi-0.9.2.ebuild lgi-0.9.2.patch |
Created attachment 375670 [details]
x11-wm:awesome-3.5.5:20140425-143219.log [/usr/bin/lua 5.1]
lua: (command line):1: module 'lgi' not found:
no field package.preload['lgi']
[etc]
Comment on attachment 375670 [details]
x11-wm:awesome-3.5.5:20140425-143219.log [/usr/bin/lua 5.1]
lua: (command line):1: module 'lgi' not found: [...]
Skip that. For some reason I didn't have dev-lua/lgi installed.
(In reply to Jeroen Roovers from comment #2) > Comment on attachment 375670 [details] > x11-wm:awesome-3.5.5:20140425-143219.log [/usr/bin/lua 5.1] > > lua: (command line):1: module 'lgi' not found: [...] > > Skip that. For some reason I didn't have dev-lua/lgi installed. ah, I did have it, but it is sensitive to whatever is the "system" lua at the time. That's a different bug... x11-wm/awesome-3.5.5 is no longer in portage (In reply to michal.halenka from comment #4) > x11-wm/awesome-3.5.5 is no longer in portage Version changes don't fix bugs. Indeed, this issue is discussed upstream for dev-lua/lgi at https://github.com/pavouk/lgi/issues/196. Created attachment 536494 [details, diff]
lgi-0.9.2.ebuild
updated dev-lua/lgi ebuild with EAPI=6
Created attachment 536496 [details, diff]
lgi-0.9.2.patch
This patch ensures that the correct lua version is selected for installation of dev-lua/lgi.
Removing PMASKED keyword because the package isn't masked. Removing this from the lua-5.2 tracker because having just tried it, awesome-4.3 does build fine against both 5.2 and 5.3 - as long as the version of system Lua is the same at the time of emerging dev-lua/lgi and x11-wm/awesome, which however is a problem with our current implementation of Lua slotting. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3cc8e821857eedf95d55ac99f4262928c83aa8 commit 5b3cc8e821857eedf95d55ac99f4262928c83aa8 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-12-03 21:49:11 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-12-03 21:52:41 +0000 x11-wm/awesome: migrate to lua-single.eclass Both the latest release and the live ebuild. In addition to supporting slotted Lua, this should also ensure Lua-version consistency between Awesome and dev-lua/lgi. Explicitly invoking maintainer time-out on this one. Closes: https://bugs.gentoo.org/508682 Closes: https://bugs.gentoo.org/752969 Signed-off-by: Marek Szuba <marecki@gentoo.org> profiles/package.mask | 1 + x11-wm/awesome/awesome-4.3-r100.ebuild | 137 +++++++++++++++++++++++++++++++++ x11-wm/awesome/awesome-9999.ebuild | 34 ++++---- 3 files changed, 157 insertions(+), 15 deletions(-) |
Created attachment 375668 [details] x11-wm:awesome-3.5.5:20140425-142843.log [/usr/bin/lua 5.2] -- Found Lua51: /usr/lib64/liblua5.1.so;/usr/lib64/libm.so [...] /var/tmp/portage/x11-wm/awesome-3.5.5/work/awesome-3.5.5/luaa.h:99: error: undefined reference to 'lua_rawlen' [etc]