Package Details: lua53-posix 35.1-3

Git Clone URL: https://aur.archlinux.org/lua-posix.git (read-only, click to copy)
Package Base: lua-posix
Description: POSIX bindings for Lua
Upstream URL: https://github.com/luaposix/luaposix
Licenses: MIT
Submitter: wookietreiber
Maintainer: alerque (hoelzro)
Last Packager: alerque
Votes: 15
Popularity: 0.70
First Submitted: 2016-11-08 14:03
Last Updated: 2021-09-16 21:01

Dependencies (9)

Required by (1)

Sources (1)

Pinned Comments

alerque commented on 2020-02-21 05:07

PSA: I've started hosting this, all its dependencies, and also many other Lua Rocks packages as prebuilt packages in my repository for those that want to install them using pacman without messing around with building from the AUR.

Latest Comments

1 2 3 Next › Last »

kmarius commented on 2021-10-14 14:32

I needed to additionally install lua51-bit32 for the lua 5.1 module to work.

lahwaacz commented on 2021-09-17 05:53

@alerque Well, I built lua-posix-35.1-1 and it depended only on lua, not lua-std-normalize. But I guess that was due to a typo in _luadeps vs _lua_deps... (it's fixed in https://aur.archlinux.org/cgit/aur.git/commit/?h=lua-posix&id=ecf7b8ac0e62806df258ffd497fd3fb60e91a788)

alerque commented on 2021-09-16 20:46

@lahwaacz Well now that's interesting. It wasn't exactly an accident, the packaging change was on purpose, but I guess the trick I used works better for repo packages than AUR ones. The correct depends are there in the meta data for the packages you build (and the makedepends allow it to build) so there isn't really a functional problem, but the AUR web interface doesn't show them right because the srcinfo generator doesn't work the same way as the actual package meta data info. I'll backtrack that to something more cooperative with the AUR. Lesson learned.

lahwaacz commented on 2021-09-16 12:47

Since the last commit, all depends are gone from the .SRCINFO – seems to be a mistake.

alerque commented on 2021-09-15 15:31

@Thaodan No, there is no standardized mechanism for that and it's not worth the hacking. I'm more likely to just move it to [community]. In the mean time I assume your concern is not wanting to pollute a host system with other versions of Lua. You can avoid that by building the way all official Arch packages are built using a chroot to isolate the build dependencies. Just run extra-x86_64-build instead of makepkg. Or use an AUR helper that supports this such as paru. Or just use the packages I've built (see pinned comment for adding the repo to get updates too or just install with pacman -S https://arch.alerque.com/x86_64/lua-posix-35.1-1-x86_64.pkg.tar.zst). Also note you can remove anything that was a makedepends after building (most build methods including makepkg and AUR helpers) have support for this. That's lots of supported methods for keeping your host system clean without me adding a hack that degrades the supported usage patterns.

Thaodan commented on 2021-09-15 11:48

Can you added a variable to just build the regular version or disable the versions for 5.1-5.3 by default?

matse commented on 2020-08-06 07:53

@caleb this package breaks my lmod at the moment... seems v34.1.1 is incompatible with lua 5.4 yet. v35.0 has "initial support for Lua 5.4" https://github.com/luaposix/luaposix/releases/tag/v35.0

alerque commented on 2020-08-06 07:31

@Ergus The Lua 5.4 rollout happened sometime after yesterday, it will take a while to update packages across the AUR. I'll be working through mine today, hold on to your horses.

Ergus commented on 2020-08-06 05:56

Hi the new lua version in arch is 5.4. This package does not provide the modules for it, only for 5.3.

> lua -e 'require("posix")'
lua: (command line):1: module 'posix' not found:
        no field package.preload['posix']
        no file '/usr/share/lua/5.4/posix.lua'
        no file '/usr/share/lua/5.4/posix/init.lua'
        no file '/usr/lib/lua/5.4/posix.lua'
        no file '/usr/lib/lua/5.4/posix/init.lua'
        no file './posix.lua'
        no file './posix/init.lua'
        no file '/usr/lib/lua/5.4/posix.so'
        no file '/usr/lib/lua/5.4/loadall.so'
        no file './posix.so'
stack traceback:
        [C]: in function 'require'
        (command line):1: in main chunk
        [C]: in ?

and:

> yay -Ql lua-posix
lua-posix /usr/
lua-posix /usr/lib/
lua-posix /usr/lib/lua/
lua-posix /usr/lib/lua/5.3/
lua-posix /usr/lib/lua/5.3/posix/
lua-posix /usr/lib/lua/5.3/posix/ctype.so
lua-posix /usr/lib/lua/5.3/posix/dirent.so
lua-posix /usr/lib/lua/5.3/posix/errno.so
lua-posix /usr/lib/lua/5.3/posix/fcntl.so
lua-posix /usr/lib/lua/5.3/posix/fnmatch.so
lua-posix /usr/lib/lua/5.3/posix/glob.so
lua-posix /usr/lib/lua/5.3/posix/grp.so
lua-posix /usr/lib/lua/5.3/posix/libgen.so
lua
...

alerque commented on 2020-02-21 05:07

PSA: I've started hosting this, all its dependencies, and also many other Lua Rocks packages as prebuilt packages in my repository for those that want to install them using pacman without messing around with building from the AUR.