[Bug 589441] New: lua: module directories
http://bugzilla.novell.com/show_bug.cgi?id=589441 http://bugzilla.novell.com/show_bug.cgi?id=589441#c0 Summary: lua: module directories Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: ASSIGNED Severity: Normal Priority: P5 - None Component: Development AssignedTo: pgajdos@novell.com ReportedBy: pgajdos@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- Report from Florian Leparoux I generated the rpm for prosody and checked several times that it was patched. Despite this I still get this error: I packaged prosodyctl lua: /usr/lib/prosody/util/datamanager.lua:24: module 'lfs' not found: no field package.preload['lfs'] no file '/usr/lib/prosody/lfs.lua' no file './lfs.lua' no file '/usr/local/share/lua/5.1/lfs.lua' no file '/usr/local/share/lua/5.1/lfs/init.lua' no file '/usr/local/lib/lua/5.1/lfs.lua' no file '/usr/local/lib/lua/5.1/lfs/init.lua' no file '/usr/lib/prosody/lfs.so' no file './lfs.so' no file '/usr/local/lib/lua/5.1/lfs.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' /usr/lib/prosody/util/datamanager.lua:24: in main chunk [C]: in function 'require' /usr/bin/prosodyctl:64: in main chunk [C]: ? it would seem that it comes from lua package that was not patched correctly (maybe wrong) but after this error seems to be looking lua files in /usr /local .. I perceived a "/ usr / local" in the file "/ usr / include / luaconf.h" In debian there is a patch of doing the following: http://matthewwild.co.uk/uploads/module_paths.dpatch If it can be used. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589441 http://bugzilla.novell.com/show_bug.cgi?id=589441#c Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589441 http://bugzilla.novell.com/show_bug.cgi?id=589441#c1 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #1 from Petr Gajdos <pgajdos@novell.com> 2010-03-23 11:06:07 UTC --- Fixed.
From now on, /usr/local is not searched, only /usr. Added /usr/lib64 (in addition to /usr/lib) to lua default path.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589441 http://bugzilla.novell.com/show_bug.cgi?id=589441#c2 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #2 from Petr Gajdos <pgajdos@novell.com> 2010-03-29 08:12:57 UTC --- (In reply to comment #1)
Fixed.
From now on, /usr/local is not searched, only /usr. Added /usr/lib64 (in addition to /usr/lib) to lua default path.
This is reportedly wrong, so reopen to investigate this further. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589441 http://bugzilla.novell.com/show_bug.cgi?id=589441#c Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589441 http://bugzilla.novell.com/show_bug.cgi?id=589441#c3 --- Comment #3 from Petr Gajdos <pgajdos@novell.com> 2010-03-29 13:39:44 UTC --- Another try: Request #35979: submit: devel:languages:misc/lua(r18) -> openSUSE:Factory/lua Message: None State: new 2010-03-29T15:26:06 pgajdos Comment: None -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589441 http://bugzilla.novell.com/show_bug.cgi?id=589441#c4 --- Comment #4 from Petr Gajdos <pgajdos@novell.com> 2010-03-29 13:55:15 UTC --- request #35979 revoked I have done some cosmetic changes to spec file and changes file: Request #35991: submit: devel:languages:misc/lua(r19) -> openSUSE:Factory/lua Message: None State: new 2010-03-29T15:54:36 pgajdos Comment: None -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589441 http://bugzilla.novell.com/show_bug.cgi?id=589441#c5 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Petr Gajdos <pgajdos@novell.com> 2010-04-01 08:36:32 UTC --- Fixed for factory. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=589441 https://bugzilla.novell.com/show_bug.cgi?id=589441#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-01-07 09:00:08 CET --- This is an autogenerated message for OBS integration: This bug (589441) was mentioned in https://build.opensuse.org/request/show/99319 Factory / lua51 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=589441 https://bugzilla.novell.com/show_bug.cgi?id=589441#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-01-07 08:00:08 UTC --- This is an autogenerated message for OBS integration: This bug (589441) was mentioned in https://build.opensuse.org/request/show/99319 Factory / lua51 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=589441 https://bugzilla.novell.com/show_bug.cgi?id=589441#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-01-07 12:00:09 CET --- This is an autogenerated message for OBS integration: This bug (589441) was mentioned in https://build.opensuse.org/request/show/99320 Factory / lua51 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com