From 0e654ba974f1761fefbd4737d9e7d1e941297d66 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Fri, 27 Jun 2025 02:11:59 -0300 Subject: debug --- src/luarocks/deps.lua | 7 ++++++- src/luarocks/deps.tl | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua index 90c11bd5..be5fd6d8 100644 --- a/src/luarocks/deps.lua +++ b/src/luarocks/deps.lua @@ -837,7 +837,12 @@ function deps.check_lua_libdir(vars) vars.LUA_LIBDIR_OK = "ok" return true else - err = err or "Failed finding the Lua library. You can use `luarocks config variables.LUA_LIBDIR ` to set the correct location." + err = err or "Failed finding the Lua library. You can use `luarocks config variables.LUA_LIBDIR ` to set the correct location. " + for k, files in pairs(errfiles) do + for _, f in ipairs(files) do + err = err .. "\nTried: " .. k .. " => " .. f + end + end return nil, err, "dependency", errfiles end end diff --git a/src/luarocks/deps.tl b/src/luarocks/deps.tl index 55006a95..52ff4ce7 100644 --- a/src/luarocks/deps.tl +++ b/src/luarocks/deps.tl @@ -837,7 +837,12 @@ function deps.check_lua_libdir(vars: {string: string}): boolean, string, string, vars.LUA_LIBDIR_OK = "ok" return true else - err = err or "Failed finding the Lua library. You can use `luarocks config variables.LUA_LIBDIR ` to set the correct location." + err = err or "Failed finding the Lua library. You can use `luarocks config variables.LUA_LIBDIR ` to set the correct location. " + for k, files in pairs(errfiles) do + for _, f in ipairs(files) do + err = err .. "\nTried: " .. k .. " => " .. f + end + end return nil, err, "dependency", errfiles end end -- cgit v1.2.3-55-g6feb