FS#77084 - [lua51-posix] module 'bit32' not found - missing dep

Attached to Project: Community Packages
Opened by mbone (mbone) - Wednesday, 11 January 2023, 01:30 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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:
1. Install lua51-posix
2. Run lua5.1
2. 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
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:05 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/lua-posix/issues/1

Loading...