[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 <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (1061205) was mentioned in https://build.opensuse.org/request/show/530302 Factory / lua-lmod -- 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#c2 Egbert Eich <eich@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Egbert Eich <eich@suse.com> --- - Submitted to Factory - Maintenance Request for Leap 42.3 ID #530303 -- 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#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (1061205) was mentioned in https://build.opensuse.org/request/show/530303 42.3 / lua-lmod -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1061205 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |obs:running:7331:moderate -- 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#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (1061205) was mentioned in https://build.opensuse.org/request/show/533072 Factory / lua-lmod -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1061205 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:7331:moderate |obs:running:7331:moderate | |ibs:running:5979:low -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1061205 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com -- 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#c6 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #6 from Marcus Meissner <meissner@suse.com> --- and i wonder why this needs to be. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1061205 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |eich@suse.com |ovo.novell.com | -- 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#c7 --- Comment #7 from Marcus Meissner <meissner@suse.com> --- Created attachment 747987 --> http://bugzilla.suse.com/attachment.cgi?id=747987&action=edit lmod-use-system-path.patch as I think our lua-lmod package just takes the regular system path of lua, we can just use the runtime ones. So I reverted the sys_lua_path usage here. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1061205 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:7331:moderate |obs:running:7331:moderate |ibs:running:5979:low | -- 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#c8 --- Comment #8 from Egbert Eich <eich@suse.com> --- 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. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1061205 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:7331:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1061205 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |maint:planned:update -- 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#c9 Matej Cepl <mcepl@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eich@suse.com, | |mcepl@suse.com Flags| |needinfo?(eich@suse.com) OS|openSUSE Factory |All --- Comment #9 from Matej Cepl <mcepl@suse.com> --- (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? -- 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 <eich@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(eich@suse.com) | --- Comment #10 from Egbert Eich <eich@suse.com> --- (In reply to Matej Cepl from comment #9)
(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 <eich@suse.com> --- Matej, since you took over addressing bsc#1159563 I actually feel inclined to look into this one again :) -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com