importing posix in Lua 5.2 on bionic fails to load posix.ctype
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lua-posix (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The following was originally noticed while trying to use Lmod, but can be reproduced with the standalone Lua interpreter. Lmod has worked fine earlier in the alpha, this behaviour is new within the last bunch of days.
lars@mononoke:~$ lsb_release -rd
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04
lars@mononoke:~$ lua5.2 <<< 'require("posix")'
lua5.2: /usr/share/
no field package.
no file '/usr/local/
no file '/usr/local/
no file '/usr/local/
no file '/usr/local/
no file '/usr/share/
no file '/usr/share/
no file './posix/ctype.lua'
no file '/usr/local/
no file '/usr/lib/
no file '/usr/lib/
no file '/usr/local/
no file './posix/ctype.so'
no file '/usr/local/
no file '/usr/lib/
no file '/usr/lib/
no file '/usr/local/
no file './posix.so'
stack traceback:
[C]: in function 'require'
/usr/share/
[C]: in function 'require'
stdin:1: in main chunk
[C]: in ?
lars@mononoke:~$ dpkg -l lua-posix
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii lua-posix:amd64 33.4.0-2 amd64 posix library for the Lua language
ii lua5.2 5.2.4-1.1build1 amd64 Simple, extensible, embeddable programming language
lars@mononoke:~$ dpkg -L lua-posix
/.
/usr
/usr/lib
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/share
/usr/share/doc
/usr/share/
/usr/share/
/usr/share/
/usr/share/lintian
/usr/share/
/usr/share/
/usr/share/lua
/usr/share/lua/5.1
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/lua/5.2
/usr/share/
/usr/share/lua/5.3
/usr/share/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
tags: | added: bionic packaging |
This also effects Lmod on my system.