bit32 has been removed from luaposix but other modules expect it to be available with luaposix. It is listed as a dependency of luaposix as well[1]. Without it, some scripts crash when they try to use luaposix. [1] https://github.com/luaposix/luaposix/blob/master/rockspec.conf Reproducible: Always
I'm seeing this problem too, with the most trivial possible Lua program that uses luaposix: $ cat test_luaposix.lua require("posix") $ lua test_luaposix.lua lua: .../gentoo-prefix-test/usr/share/lua/5.1/posix/init.lua:17: module 'bit32' not found: no field package.preload['bit32'] no file './bit32.lua' no file '/tmp/gentoo-prefix-test/usr/share/lua/5.1/bit32.lua' no file '/tmp/gentoo-prefix-test/usr/share/lua/5.1/bit32/init.lua' no file '/tmp/gentoo-prefix-test/usr/lib64/lua/5.1/bit32.lua' no file '/tmp/gentoo-prefix-test/usr/lib64/lua/5.1/bit32/init.lua' no file '/usr/share/lua/5.1/bit32.lua' no file '/usr/share/lua/5.1/bit32/init.lua' no file './bit32.so' no file '/tmp/gentoo-prefix-test/usr/lib64/lua/5.1/bit32.so' no file '/usr/lib64/lua/5.1/bit32.so' no file '/tmp/gentoo-prefix-test/usr/lib64/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' .../gentoo-prefix-test/usr/share/lua/5.1/posix/init.lua:17: in main chunk [C]: in function 'require' test_luaposix.lua:1: in main chunk [C]: ? I'm very interested in getting this fixed, is there something I can do to help?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2513f4e45d12860e82dbe2d2022acc83d7842b82 commit 2513f4e45d12860e82dbe2d2022acc83d7842b82 Author: Azamat H. Hackimov <azamat.hackimov@gmail.com> AuthorDate: 2020-08-06 17:03:35 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-08-24 14:38:44 +0000 dev-lua/luaposix: new version 35.0 New version, new maintainer, added dependency dev-lua/lua-bit32 (#603812), changed license to MIT. Closes: https://bugs.gentoo.org/603812 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-lua/luaposix/Manifest | 1 + dev-lua/luaposix/luaposix-35.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ dev-lua/luaposix/metadata.xml | 15 +++++++++++---- 3 files changed, 47 insertions(+), 4 deletions(-)