[Bug 1061205] New: [HPC, Lmod] Make package lua-lmod Arch-dependent
http://bugzilla.suse.com/show_bug.cgi?id=1061205 Bug ID: 1061205 Summary: [HPC, Lmod] Make package lua-lmod Arch-dependent Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: All OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: eich@suse.com QA Contact: qa-bugs@suse.de CC: nmoreychaisemartin@suse.com Found By: Development Blocker: --- Lmod is written in Lua only and doesn't ship any *.so plugins. At first glance it therefore looks like a candidate for an Arch independent package. This however is not true: the search path for .so files gets hard-coded into some lua files, thus other Lua packages which are used by Lmod and require .so files won't work any more. Therefore make the lua-lmod package arch dependent (only the doc packages may be arch-independent). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1061205
http://bugzilla.suse.com/show_bug.cgi?id=1061205#c1
--- Comment #1 from Bernhard Wiedemann
http://bugzilla.suse.com/show_bug.cgi?id=1061205
http://bugzilla.suse.com/show_bug.cgi?id=1061205#c2
Egbert Eich
http://bugzilla.suse.com/show_bug.cgi?id=1061205
http://bugzilla.suse.com/show_bug.cgi?id=1061205#c3
--- Comment #3 from Bernhard Wiedemann
http://bugzilla.suse.com/show_bug.cgi?id=1061205
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1061205
http://bugzilla.suse.com/show_bug.cgi?id=1061205#c5
--- Comment #5 from Bernhard Wiedemann
http://bugzilla.suse.com/show_bug.cgi?id=1061205
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1061205
Marcus Meissner
http://bugzilla.suse.com/show_bug.cgi?id=1061205
http://bugzilla.suse.com/show_bug.cgi?id=1061205#c6
Marcus Meissner
http://bugzilla.suse.com/show_bug.cgi?id=1061205
Marcus Meissner
http://bugzilla.suse.com/show_bug.cgi?id=1061205
http://bugzilla.suse.com/show_bug.cgi?id=1061205#c7
--- Comment #7 from Marcus Meissner
http://bugzilla.suse.com/show_bug.cgi?id=1061205
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1061205
http://bugzilla.suse.com/show_bug.cgi?id=1061205#c8
--- Comment #8 from Egbert Eich
http://bugzilla.suse.com/show_bug.cgi?id=1061205
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1061205
Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1061205
https://bugzilla.suse.com/show_bug.cgi?id=1061205#c9
Matej Cepl
I'm not so sure about this as we are doing some fancy stuff in the spec file:
%define lua_path ?.lua;?/?.lua;%{lua_noarchdir}/?.lua;%{lua_noarchdir}/?/init.lua %define lua_cpath ?.so;?/?.so;%{lua_archdir}/?.so .. export LUA_CPATH="%{lua_cpath}" export LUA_PATH="%{lua_path}"
I do recall that this took quite some fiddling to get it right, but without setting these PATHs some lua files were not found. I need to reinvestigate.
And shouldn���t these fancy macros be in the lua-macros package? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1061205
https://bugzilla.suse.com/show_bug.cgi?id=1061205#c10
Egbert Eich
(In reply to Egbert Eich from comment #8)
I'm not so sure about this as we are doing some fancy stuff in the spec file:
%define lua_path ?.lua;?/?.lua;%{lua_noarchdir}/?.lua;%{lua_noarchdir}/?/init.lua %define lua_cpath ?.so;?/?.so;%{lua_archdir}/?.so .. export LUA_CPATH="%{lua_cpath}" export LUA_PATH="%{lua_path}"
I do recall that this took quite some fiddling to get it right, but without setting these PATHs some lua files were not found. I need to reinvestigate.
And shouldn���t these fancy macros be in the lua-macros package?
As I've said, I need to re-investigate. This is not a pressing issue - things work as expected. This is why it is open since 2017 without being addressed. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1061205
https://bugzilla.suse.com/show_bug.cgi?id=1061205#c11
--- Comment #11 from Egbert Eich
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com