FYI - Arch has pushed Lua 5.5 to the repos, can you update this to add a lu54 package?
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/lua-cjson.git (read-only, click to copy) |
|---|---|
| Package Base: | lua-cjson |
| Description: | A fast JSON parsing and encoding support for Lua. |
| Upstream URL: | https://github.com/openresty/lua-cjson |
| Licenses: | MIT |
| Submitter: | speps |
| Maintainer: | colophony |
| Last Packager: | colophony |
| Votes: | 16 |
| Popularity: | 0.000017 |
| First Submitted: | 2011-09-15 19:01 (UTC) |
| Last Updated: | 2026-05-08 12:55 (UTC) |
FYI - Arch has pushed Lua 5.5 to the repos, can you update this to add a lu54 package?
After looking at a few other packages that dynamically set depends, it does seem to be a bug: e.g. lua51-tl has the same problem, though lua51-copas doesn't. Similar in the official repos, lua51-posix Source Files doesn't have the dependencies in .SRCINFO, but shows them correctly on the website (probably taken from .PKGINFO instead?)
Thanks, only downside of the approach you added is that it doesn't properly add this to .SRCINFO so it doesn't show in AURWEB.
I don't know if that's a bug in makepkg --printsrcinfo, because in .PKGINFOin resulted package this is shown correctly.
Just noticed that having luarocks installed but not the corresponding lua5x package leads to an error during the luarocks manifest hook, so while not ideal, I put them in depends after all
Yes for this.
$ json2lua
/usr/bin/json2lua: line 3: /usr/bin/lua5.4: No such file or directory
@micwoj92 Do you mean for json2lua/lua2json? In that case, maybe optdepends would be more fitting? Because as far as I can see the library itself doesn't depend on them.
please add lua (and lua51,52,53 for other versions) to deps of these packages.
@jprjr Should work now, I went with the second suggestion.
It looks like the subpackages all install json2lua and lua2json, so there's a conflict if I want to install all subpackages.
It may be worth either - removing /usr/bin from all subpackages except lua-cjson, or maybe in the other subpackages, rename json2lua and lua2json to something like json2lua-5.1, json2lua-5.2, etc.