Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Toolybird (Toolybird) - Wednesday, 11 January 2023, 03:23 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Caleb Maclennan (alerque)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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

Loading...