Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
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: CONFIRMED
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
URL:
Whiteboard:
Keywords:
Depends on: ag-ops:dev-lua
Blocks:
  Show dependency tree
 
Reported: 2014-04-25 14:37 UTC by Jeroen Roovers
Modified: 2020-09-01 17:42 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
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
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 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 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 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 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 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 gentoo-dev 2018-10-08 12:28:18 UTC
Removing PMASKED keyword because the package isn't masked.
Comment 10 Marek Szuba 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.