package/luarocks: fix buildroot addon vs 3.3.x
PATCH 1/1 package/luarocks: fix buildroot addon vs 3.3.x
an internal API change introduced by version 3.3.0 causes the following failure:
``` Error: LuaRocks 3.3.1 bug (please report at https://github.com/luarocks/luarocks/issues). Arch.: linux-x86_64 .../user/build/qarm/host/share/lua/5.3/luarocks/queries.lua:55: assertion failed! stack traceback: [C]: in function 'assert' .../user/build/qarm/host/share/lua/5.3/luarocks/queries.lua:55: in function 'luarocks.queries.new' ...m/host/share/lua/5.3/luarocks/cmd/external/buildroot.lua:322: in function 'luarocks.cmd.external.buildroot.command' (...tail calls...) [C]: in function 'xpcall' /home/user/build/qarm/host/share/lua/5.3/luarocks/cmd.lua:620: in function 'luarocks.cmd.run_command' /home/user/build/qarm/host/bin/luarocks:38: in main chunk [C]: in ? ```
Signed-off-by Francois Perrad <[email protected]>
--- package/luarocks/buildroot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/luarocks/buildroot.lua +1 -1
@@ -319,7 +319,7 @@ function buildroot.command(args) local rockname = assert(args.rockname) local fsname = args.brname or rockname - local query = queries.new(rockname:lower(), nil, false, 'src') + local query = queries.new(rockname:lower(), nil, nil, false, 'src') local url, err = search.find_suitable_rock(query) if not url then return nil, "Could not find a result named " .. tostring(query) .. ": " .. err
Signature · 1 line
2.20.1
PATCH 1/1 package/luarocks: fix buildroot addon vs 3.3.x
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Francois" == Francois Perrad <[email protected]> writes:
an internal API change introduced by version 3.3.0 causes the following failure:
``` Error: LuaRocks 3.3.1 bug (please report at https://github.com/luarocks/luarocks/issues). Arch.: linux-x86_64 .../user/build/qarm/host/share/lua/5.3/luarocks/queries.lua:55: assertion failed! stack traceback: [C]: in function 'assert' .../user/build/qarm/host/share/lua/5.3/luarocks/queries.lua:55: in function 'luarocks.queries.new' ...m/host/share/lua/5.3/luarocks/cmd/external/buildroot.lua:322: in function 'luarocks.cmd.external.buildroot.command' (...tail calls...) [C]: in function 'xpcall' /home/user/build/qarm/host/share/lua/5.3/luarocks/cmd.lua:620: in function 'luarocks.cmd.run_command' /home/user/build/qarm/host/bin/luarocks:38: in main chunk [C]: in ? ```
Quoted 1 line
Signed-off-by Francois Perrad <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard