Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lmod installation broken due to Lua+Prefix issues #99

Closed
bedroge opened this issue Apr 29, 2021 · 1 comment
Closed

Lmod installation broken due to Lua+Prefix issues #99

bedroge opened this issue Apr 29, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@bedroge
Copy link
Collaborator

bedroge commented Apr 29, 2021

In #98 I noticed that the action for testing the Prefix installation playbook was failing, and this is (again) due to Lua stuff not installing correctly inside Gentoo Prefix.

It looks like they added a fix for luaposix, which requires us to revert a change in our eclass/lua-utils.eclass (which was taken from here and: https://bugs.gentoo.org/768909):

			LUA_INCLUDE_DIR)
				local val

				val=$($(tc-getPKG_CONFIG) --variable includedir ${impl}) || die
                                # ADD THE FOLLOWING LINE:
                                val="${val#${ESYSROOT#${SYSROOT}}}"

				export LUA_INCLUDE_DIR=${val}
				debug-print "${FUNCNAME}: LUA_INCLUDE_DIR = ${LUA_INCLUDE_DIR}"

But then dev-lua/lpeg breaks, for which I opened a PR here:
gentoo/gentoo#20576

So if this gets merged, we can add the change to the eclass file, and remove our custom luaposix ebuild.

@bedroge bedroge added the bug Something isn't working label Apr 29, 2021
@bedroge
Copy link
Collaborator Author

bedroge commented Jun 7, 2021

Both issues have been fixed in the gentoo overlay.

@bedroge bedroge closed this as completed Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant