Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] luarocks modules only included in luarocks-lua53
@ 2020-10-06 23:37 huglovefan
  2022-04-20  2:15 ` github-actions
  2022-05-04  2:15 ` [ISSUE] [CLOSED] " github-actions
  0 siblings, 2 replies; 3+ messages in thread
From: huglovefan @ 2020-10-06 23:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1494 bytes --]

New issue by huglovefan on void-packages repository

https://github.com/void-linux/void-packages/issues/25396

Description:
* xuname: `Void 5.8.10_1 x86_64 GenuineIntel uptodate rrrmdFFF`
* package: `luarocks-lua51-3.3.1_3`, `luarocks-lua52-3.3.1_3`, `luarocks-lua54-3.3.1_3`

luarocks comes with some lua modules, but currently they're only installable for lua 5.3

one is documented to exist here:

> https://github.com/luarocks/luarocks/wiki/Using-LuaRocks#multiple-versions-using-the-luarocks-package-loader
>
> Alternatively, you can load the LuaRocks module loader from Lua by issuing this command:
> ```
> require "luarocks.loader"
> ```
> If your system is correctly set up so that this command runs with no errors, subsequent calls to `require()` are LuaRocks-aware [...]

but this only works with lua 5.3 in void

reproduction steps:

```sh
xbps-query -Rf luarocks-lua51 | grep /usr/share/lua/5.1/
xbps-query -Rf luarocks-lua52 | grep /usr/share/lua/5.2/
xbps-query -Rf luarocks-lua53 | grep /usr/share/lua/5.3/ # only this one outputs anything
xbps-query -Rf luarocks-lua54 | grep /usr/share/lua/5.4/

xbps-install luarocks-lua52
luarocks-5.2 --local install dkjson # <-- installs to ~/.luarocks
lua52 -e 'require("luarocks.loader") require("dkjson") print("success")' # <-- succeeds with 5.3 only
```

at least debian seems to include the same modules for all lua versions in the luarocks package: https://packages.debian.org/sid/all/luarocks/filelist

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: luarocks modules only included in luarocks-lua53
  2020-10-06 23:37 [ISSUE] luarocks modules only included in luarocks-lua53 huglovefan
@ 2022-04-20  2:15 ` github-actions
  2022-05-04  2:15 ` [ISSUE] [CLOSED] " github-actions
  1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2022-04-20  2:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/25396#issuecomment-1103384856

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ISSUE] [CLOSED] luarocks modules only included in luarocks-lua53
  2020-10-06 23:37 [ISSUE] luarocks modules only included in luarocks-lua53 huglovefan
  2022-04-20  2:15 ` github-actions
@ 2022-05-04  2:15 ` github-actions
  1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2022-05-04  2:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1497 bytes --]

Closed issue by huglovefan on void-packages repository

https://github.com/void-linux/void-packages/issues/25396

Description:
* xuname: `Void 5.8.10_1 x86_64 GenuineIntel uptodate rrrmdFFF`
* package: `luarocks-lua51-3.3.1_3`, `luarocks-lua52-3.3.1_3`, `luarocks-lua54-3.3.1_3`

luarocks comes with some lua modules, but currently they're only installable for lua 5.3

one is documented to exist here:

> https://github.com/luarocks/luarocks/wiki/Using-LuaRocks#multiple-versions-using-the-luarocks-package-loader
>
> Alternatively, you can load the LuaRocks module loader from Lua by issuing this command:
> ```
> require "luarocks.loader"
> ```
> If your system is correctly set up so that this command runs with no errors, subsequent calls to `require()` are LuaRocks-aware [...]

but this only works with lua 5.3 in void

reproduction steps:

```sh
xbps-query -Rf luarocks-lua51 | grep /usr/share/lua/5.1/
xbps-query -Rf luarocks-lua52 | grep /usr/share/lua/5.2/
xbps-query -Rf luarocks-lua53 | grep /usr/share/lua/5.3/ # only this one outputs anything
xbps-query -Rf luarocks-lua54 | grep /usr/share/lua/5.4/

xbps-install luarocks-lua52
luarocks-5.2 --local install dkjson # <-- installs to ~/.luarocks
lua52 -e 'require("luarocks.loader") require("dkjson") print("success")' # <-- succeeds with 5.3 only
```

at least debian seems to include the same modules for all lua versions in the luarocks package: https://packages.debian.org/sid/all/luarocks/filelist

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-04  2:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-06 23:37 [ISSUE] luarocks modules only included in luarocks-lua53 huglovefan
2022-04-20  2:15 ` github-actions
2022-05-04  2:15 ` [ISSUE] [CLOSED] " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).