Github messages for voidlinux
 help / color / mirror / Atom feed
From: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] luarocks modules only included in luarocks-lua53
Date: Wed, 04 May 2022 04:15:12 +0200	[thread overview]
Message-ID: <20220504021512.q44WGEtReQMLWFqzfoOLHRSqzrgroHleCc_xyfT45B8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25396@inbox.vuxu.org>

[-- 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

      parent reply	other threads:[~2022-05-04  2:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-06 23:37 [ISSUE] " huglovefan
2022-04-20  2:15 ` github-actions
2022-05-04  2:15 ` github-actions [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220504021512.q44WGEtReQMLWFqzfoOLHRSqzrgroHleCc_xyfT45B8@z \
    --to=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).