Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2023 01:41:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268875] devel/lua51-posix: module 'bit32' not found
Message-ID:  <bug-268875-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268875

            Bug ID: 268875
           Summary: devel/lua51-posix: module 'bit32' not found
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: matt@cloverbasin.com

Upstream has a "bit32" module dependency in their rockspec, which is
unaccounted for in this package:
https://github.com/luaposix/luaposix/blob/master/luaposix-git-1.rockspec#L21

The solution to this problem would be to introduce a similar package to Arch
Linux's lua51-bit32 package:
https://archlinux.org/packages/community/x86_64/lua51-bit32/

Arch Linux has the same problem, ( https://bugs.archlinux.org/task/77084 ) =
but
in their case the module dependency is readily available as a package alrea=
dy.

Error message:
[matt@inspiron ~]$ lua51
Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
> posix =3D assert(require("posix"))
/usr/local/share/lua/5.1/posix/_base.lua:19: module 'bit32' not found:

Package info:
[matt@inspiron ~]$ pkg info lua51-posix
lua51-posix-35.1
Name           : lua51-posix
Version        : 35.1
Installed on   : Tue Jan 10 21:58:51 2023 MST
Origin         : devel/lua-posix
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : devel
Licenses       : MIT
Maintainer     : sunpoet@FreeBSD.org
WWW            : https://github.com/luaposix/luaposix
Comment        : Lua bindings for POSIX APIs
Annotations    :
        FreeBSD_version: 1301000
        flavor         : lua51
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 714KiB

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268875-7788>