Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508682 - 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'
Summary: x11-wm/awesome with =dev-lang/lua-5.1.5-r2 / =dev-lang/lua-5.2.3 - .../work/a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Maxim Koltsov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: slotted-lua
Blocks:
  Show dependency tree
 
Reported: 2014-04-25 14:37 UTC by Jeroen Roovers (RETIRED)
Modified: 2020-12-03 21:52 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
x11-wm:awesome-3.5.5:20140425-142843.log [/usr/bin/lua 5.2] (20140425-142843.log,118.48 KB, text/plain)
2014-04-25 14:37 UTC, Jeroen Roovers (RETIRED)
Details
x11-wm:awesome-3.5.5:20140425-143219.log [/usr/bin/lua 5.1] (20140425-143219.log,25.87 KB, text/plain)
2014-04-25 14:38 UTC, Jeroen Roovers (RETIRED)
Details
lgi-0.9.2.ebuild (file_508682.txt,1.41 KB, patch)
2018-06-20 04:32 UTC, Amel Hodzic
Details | Diff
lgi-0.9.2.patch (file_508682.txt,454 bytes, patch)
2018-06-20 04:33 UTC, Amel Hodzic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2014-04-25 14:37:10 UTC
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]
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-25 14:38:34 UTC
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 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-20 12:00:13 UTC
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.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-20 12:10:23 UTC
(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...
Comment 4 michal.halenka 2015-11-29 12:46:32 UTC
x11-wm/awesome-3.5.5 is no longer in portage
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2015-12-06 05:35:17 UTC
(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.
Comment 6 Amel Hodzic 2018-06-20 02:35:46 UTC
Indeed, this issue is discussed upstream for dev-lua/lgi at https://github.com/pavouk/lgi/issues/196.
Comment 7 Amel Hodzic 2018-06-20 04:32:20 UTC
Created attachment 536494 [details, diff]
lgi-0.9.2.ebuild

updated dev-lua/lgi ebuild with EAPI=6
Comment 8 Amel Hodzic 2018-06-20 04:33:39 UTC
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.
Comment 9 Virgil Dupras (RETIRED) gentoo-dev 2018-10-08 12:28:18 UTC
Removing PMASKED keyword because the package isn't masked.
Comment 10 Marek Szuba archtester gentoo-dev 2020-09-01 17:42:22 UTC
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.
Comment 11 Larry the Git Cow gentoo-dev 2020-12-03 21:52:50 UTC
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(-)