Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Because of a [packaging bug in Debian's `lua-posix` package][1], initialization of Lmod would fail with the following traceback: ``` /usr/bin/lua: /usr/share/lua/5.2/posix/init.lua:29: module 'posix.ctype' not found: no field package.preload['posix.ctype'] no file '/usr/local/share/lua/5.2/posix/ctype.lua' no file '/usr/local/share/lua/5.2/posix/ctype/init.lua' no file '/usr/local/lib/lua/5.2/posix/ctype.lua' no file '/usr/local/lib/lua/5.2/posix/ctype/init.lua' no file '/usr/share/lua/5.2/posix/ctype.lua' no file '/usr/share/lua/5.2/posix/ctype/init.lua' no file './posix/ctype.lua' no file '/usr/local/lib/lua/5.2/posix/ctype.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.2/posix/ctype.so' no file '/usr/lib/lua/5.2/posix/ctype.so' no file '/usr/local/lib/lua/5.2/loadall.so' no file './posix/ctype.so' no file '/usr/local/lib/lua/5.2/posix.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.2/posix.so' no file '/usr/lib/lua/5.2/posix.so' no file '/usr/local/lib/lua/5.2/loadall.so' no file './posix.so' stack traceback: [C]: in function 'require' /usr/share/lua/5.2/posix/init.lua:29: in main chunk [C]: in function 'require' /usr/share/lmod/lmod/libexec/addto:64: in main chunk [C]: in ? ``` Creating a symlink (as suggested in [comment #6][3] in the [Ubuntu Launchpad bug report][2]) fixes the issue. The corresponding Debian bug is [#891541][1] but it seems like no released Debian version is affected at this point in time. [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891541 [2]: https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082 [3]: https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082/comments/6
- Loading branch information