module 'bit32' not found - missing dep
Task Info (Flyspray) | |
---|---|
Opened By | mbone (mbone) |
Task ID | 77084 |
Type | Bug Report |
Project | Community Packages |
Category | Packages |
Version | None |
OS | x86_64 |
Opened | 2023-01-11 01:30:16 UTC |
Status | Assigned |
Assignee | Caleb Maclennan (alerque) |
Details
Description: lua51-posix: module 'bit32' not found
[matt@ns524133 ~]$ lua5.1 Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio posix = assert(require("posix")) /usr/share/lua/5.1/posix/_base.lua:19: module 'bit32' not found:
Additional info: pacman -Qi lua51-posix Name : lua51-posix Version : 35.1-4
- config and/or log files etc.
[matt@ns524133 ~]$ lua5.1 Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio posix = assert(require("posix")) /usr/share/lua/5.1/posix/_base.lua:19: module 'bit32' not found:
Steps to reproduce:
- Install lua51-posix
- Run lua5.1
- Run code: posix = assert(require("posix"))
- Solution: lua51-posix needs a dependency on the lua51-bit32 package. Installing lua51-bit32 solves the dependency.
Upstream has a bit32 dependency in their rockspec, which is unaccounted for in this package. https://github.com/luaposix/luaposix/blob/master/luaposix-git-1.rockspec#L21