Created
June 19, 2025 17:43
-
-
Save gszr/baf0beb8445b5493d96e256552d7ad98 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
luarocks --verbose --tree /tmp/test install lua-cjson | |
------------------------------------------------------------------------------- | |
Current configuration: | |
------------------------------------------------------------------------------- | |
accept_unknown_fields = false | |
arch = "linux-aarch64" | |
cache = {} | |
cache_fail_timeout = 86400 | |
cache_timeout = 60 | |
check_certificates = false | |
cmake_generator = "Unix Makefiles" | |
config_files = { | |
nearest = "/usr/local/etc/luarocks/config-5.1.lua", | |
system = { | |
file = "/usr/local/etc/luarocks/config-5.1.lua", | |
found = true | |
}, | |
user = { | |
file = "/home/kong/.luarocks/config-5.1.lua", | |
found = false | |
} | |
} | |
connection_timeout = 30 | |
deps_mode = "one" | |
disabled_servers = {} | |
export_path_separator = ":" | |
external_deps_dirs = { | |
"/usr/local", | |
"/usr", | |
"/" | |
} | |
external_deps_patterns = { | |
bin = { | |
"?" | |
}, | |
include = { | |
"?.h" | |
}, | |
lib = { | |
"lib?.a", | |
"lib?.so", | |
"lib?.so.*" | |
} | |
} | |
external_deps_subdirs = { | |
bin = "bin", | |
include = "include", | |
lib = { | |
"lib/aarch64-linux-gnu", | |
"lib64", | |
"lib" | |
} | |
} | |
external_lib_extension = "so" | |
fs_use_modules = true | |
gcc_rpath = true | |
home = "/home/kong" | |
home_tree = "/home/kong/.luarocks" | |
homeconfdir = "/home/kong/.luarocks" | |
hooks_enabled = true | |
lib_extension = "so" | |
lib_modules_path = "lib/lua/5.1" | |
link_lua_explicitly = false | |
local_by_default = false | |
local_cache = "/home/kong/.cache/luarocks" | |
lua_extension = "lua" | |
lua_found = true | |
lua_interpreter = "luajit" | |
lua_modules_path = "share/lua/5.1" | |
lua_version = "5.1" | |
no_manifest = false | |
obj_extension = "o" | |
processor = "aarch64" | |
program_version = "3.12.1" | |
rocks_servers = { | |
{ | |
"https://luarocks.org", | |
"https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/", | |
"https://loadk.com/luarocks/" | |
} | |
} | |
rocks_subdir = "lib/luarocks/rocks-5.1" | |
rocks_trees = { | |
{ | |
name = "user", | |
root = "/home/kong/.luarocks" | |
}, | |
{ | |
name = "system", | |
root = "/usr/local" | |
} | |
} | |
runtime_external_deps_patterns = { | |
bin = { | |
"?" | |
}, | |
include = { | |
"?.h" | |
}, | |
lib = { | |
"lib?.so", | |
"lib?.so.*" | |
} | |
} | |
runtime_external_deps_subdirs = { | |
bin = "bin", | |
include = "include", | |
lib = { | |
"lib/aarch64-linux-gnu", | |
"lib64", | |
"lib" | |
} | |
} | |
static_lib_extension = "a" | |
sysconfdir = "/usr/local/etc/luarocks" | |
target_cpu = "aarch64" | |
upload = { | |
api_version = "1", | |
server = "https://luarocks.org", | |
tool_version = "1.0.0" | |
} | |
user_agent = "LuaRocks/3.12.1 linux-aarch64" | |
variables = { | |
AR = "ar", | |
BUNZIP2 = "bunzip2", | |
CC = "gcc", | |
CFLAGS = "-O2 -fPIC", | |
CHMOD = "chmod", | |
CMAKE = "cmake", | |
CP = "cp", | |
CURL = "curl", | |
CURLNOCERTFLAG = "-k", | |
CVS = "cvs", | |
FIND = "find", | |
GIT = "git", | |
GPG = "gpg", | |
GUNZIP = "gunzip", | |
HG = "hg", | |
ICACLS = "icacls", | |
LD = "gcc", | |
LIBFLAG = "-shared", | |
LIB_EXTENSION = "so", | |
LN = "ln", | |
LS = "ls", | |
LUA = "/usr/local/openresty/luajit/bin/luajit", | |
LUA_BINDIR = "/usr/local/openresty/luajit/bin", | |
LUA_DIR = "/usr/local/openresty/luajit", | |
LUA_INCDIR = "/usr/local/openresty/luajit/include/luajit-2.1", | |
MAKE = "make", | |
MD5 = "md5", | |
MD5SUM = "md5sum", | |
MKDIR = "mkdir", | |
MKTEMP = "mktemp", | |
OBJ_EXTENSION = "o", | |
OPENSSL = "openssl", | |
PWD = "pwd", | |
RANLIB = "ranlib", | |
RM = "rm", | |
RMDIR = "rmdir", | |
RSYNC = "rsync", | |
RSYNCFLAGS = "--exclude=.git -Oavz", | |
SCP = "scp", | |
SEVENZ = "7z", | |
SSCM = "sscm", | |
SVN = "svn", | |
TAR = "tar", | |
TEST = "test", | |
TOUCH = "touch", | |
UNZIP = "unzip -n", | |
WGET = "wget", | |
WGETNOCERTFLAG = "--no-check-certificate", | |
ZIP = "zip" | |
} | |
verbose = true | |
web_browser = "xdg-open" | |
wrapper_suffix = "" | |
------------------------------------------------------------------------------- | |
fs.absolute_name("/tmp/test") | |
fs.is_superuser() | |
fs.current_user() | |
fs.check_command_permissions("table: 0x1e976451d5c8") | |
fs.exists("/tmp/test/lib/luarocks/rocks-5.1") | |
fs.root_of("/tmp/test/lib/luarocks/rocks-5.1") | |
fs.exists("/tmp/test/lib/luarocks") | |
fs.exists("/tmp/test/lib") | |
fs.exists("/tmp/test") | |
fs.exists("/tmp") | |
fs.is_writable("/tmp") | |
fs.is_dir("/tmp") | |
fs.absolute_name("/tmp") | |
fs.exists("/tmp/test/share/lua/5.1") | |
fs.root_of("/tmp/test/share/lua/5.1") | |
fs.exists("/tmp/test/share/lua") | |
fs.exists("/tmp/test/share") | |
fs.exists("/tmp/test") | |
fs.exists("/tmp") | |
fs.is_writable("/tmp") | |
fs.is_dir("/tmp") | |
fs.absolute_name("/tmp") | |
fs.exists("/tmp/test/bin") | |
fs.root_of("/tmp/test/bin") | |
fs.exists("/tmp/test") | |
fs.exists("/tmp") | |
fs.is_writable("/tmp") | |
fs.is_dir("/tmp") | |
fs.absolute_name("/tmp") | |
fs.exists("/tmp/test/share/lua/5.1") | |
fs.root_of("/tmp/test/share/lua/5.1") | |
fs.exists("/tmp/test/share/lua") | |
fs.exists("/tmp/test/share") | |
fs.exists("/tmp/test") | |
fs.exists("/tmp") | |
fs.is_writable("/tmp") | |
fs.is_dir("/tmp") | |
fs.absolute_name("/tmp") | |
fs.lock_access("/tmp/test", "nil") | |
fs.make_dir("/tmp/test") | |
fs.set_permissions("/tmp/test", "exec", "all") | |
fs._unix_mode_scope_to_perms("exec", "all") | |
fs._unix_umask() | |
io.popen: umask -S | |
fs.execute("chmod", "775", "/tmp/test") | |
fs.quote_args("chmod", "775", "/tmp/test") | |
fs.Q("775") | |
fs.Q("/tmp/test") | |
fs.execute_string("chmod '775' '/tmp/test'") | |
os.execute: chmod '775' '/tmp/test' | |
..........: 0 | |
fs.file_age("/tmp/test/lockfile.lfs") | |
os.execute: "/usr/local/openresty/luajit/bin/luajit" -e "io.write(tostring(jit and jit.version:gsub([[^%S+ (%S+).*]], [[%1]])))" > /tmp/lua_SFoTUu | |
..........: 0 | |
fs.make_dir("/home/kong/.cache/luarocks/https___luarocks.org") | |
fs.file_age("/home/kong/.cache/luarocks/https___luarocks.org/manifest-5.1.json.check") | |
fs.make_temp_dir("local_cache") | |
fs.system_temp_dir() | |
fs.make_dir("/tmp/luarocks_local_cache-2514980") | |
fs.set_permissions("/tmp/luarocks_local_cache-2514980", "exec", "all") | |
fs._unix_mode_scope_to_perms("exec", "all") | |
fs._unix_umask() | |
fs.execute("chmod", "775", "/tmp/luarocks_local_cache-2514980") | |
fs.quote_args("chmod", "775", "/tmp/luarocks_local_cache-2514980") | |
fs.Q("775") | |
fs.Q("/tmp/luarocks_local_cache-2514980") | |
fs.execute_string("chmod '775' '/tmp/luarocks_local_cache-2514980'") | |
os.execute: chmod '775' '/tmp/luarocks_local_cache-2514980' | |
..........: 0 | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___luarocks.org") | |
fs.set_permissions("/tmp/luarocks_local_cache-2514980/https___luarocks.org", "exec", "all") | |
fs._unix_mode_scope_to_perms("exec", "all") | |
fs._unix_umask() | |
fs.execute("chmod", "775", "/tmp/luarocks_local_cache-2514980/https___luarocks.org") | |
fs.quote_args("chmod", "775", "/tmp/luarocks_local_cache-2514980/https___luarocks.org") | |
fs.Q("775") | |
fs.Q("/tmp/luarocks_local_cache-2514980/https___luarocks.org") | |
fs.execute_string("chmod '775' '/tmp/luarocks_local_cache-2514980/https___luarocks.org'") | |
os.execute: chmod '775' '/tmp/luarocks_local_cache-2514980/https___luarocks.org' | |
..........: 0 | |
fs.lock_access("/tmp/luarocks_local_cache-2514980/https___luarocks.org") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___luarocks.org") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___luarocks.org/lockfile.lfs") | |
fs.download("https://luarocks.org/manifest-5.1.json", "/home/kong/.cache/luarocks/https___luarocks.org/manifest-5.1.json", "true") | |
fs.absolute_name("/home/kong/.cache/luarocks/https___luarocks.org/manifest-5.1.json") | |
GET https://luarocks.org/manifest-5.1.json | |
fs.unlock_access("userdata: 0x1e9764465e88") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___luarocks.org") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___luarocks.org/manifest-5.1.zip.check") | |
fs.lock_access("/tmp/luarocks_local_cache-2514980/https___luarocks.org") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___luarocks.org") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___luarocks.org/lockfile.lfs") | |
fs.download("https://luarocks.org/manifest-5.1.zip", "/tmp/luarocks_local_cache-2514980/https___luarocks.org/manifest-5.1.zip", "true") | |
fs.absolute_name("/tmp/luarocks_local_cache-2514980/https___luarocks.org/manifest-5.1.zip") | |
GET https://luarocks.org/manifest-5.1.zip | |
fs.unlock_access("userdata: 0x1e97648291a0") | |
fs.absolute_name("/tmp/luarocks_local_cache-2514980/https___luarocks.org/manifest-5.1.zip") | |
fs.change_dir("/tmp/luarocks_local_cache-2514980/https___luarocks.org") | |
fs.delete("/tmp/luarocks_local_cache-2514980/https___luarocks.org/manifest-5.1") | |
fs.unzip("/tmp/luarocks_local_cache-2514980/https___luarocks.org/manifest-5.1.zip") | |
fs.is_tool_available("unzip -n", "unzip") | |
fs.search_in_path("unzip") | |
fs.execute_quiet("unzip -n", "/tmp/luarocks_local_cache-2514980/https___luarocks.org/manifest-5.1.zip") | |
fs.quote_args("unzip -n", "/tmp/luarocks_local_cache-2514980/https___luarocks.org/manifest-5.1.zip") | |
fs.Q("/tmp/luarocks_local_cache-2514980/https___luarocks.org/manifest-5.1.zip") | |
fs.execute_string("unzip -n '/tmp/luarocks_local_cache-2514980/https___luarocks.org/manifest-5.1.zip'") | |
os.execute: unzip -n '/tmp/luarocks_local_cache-2514980/https___luarocks.org/manifest-5.1.zip' | |
Archive: /tmp/luarocks_local_cache-2514980/https___luarocks.org/manifest-5.1.zip | |
inflating: manifest-5.1 | |
..........: 0 | |
fs.pop_dir() | |
Warning: Failed searching manifest: Failed loading manifest for https://luarocks.org: Error loading file: [string "/tmp/luarocks_local_cache-2514980/https___lua..."]:204113: main function has more than 65536 constants | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master") | |
fs.set_permissions("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master", "exec", "all") | |
fs._unix_mode_scope_to_perms("exec", "all") | |
fs._unix_umask() | |
fs.execute("chmod", "775", "/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master") | |
fs.quote_args("chmod", "775", "/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master") | |
fs.Q("775") | |
fs.Q("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master") | |
fs.execute_string("chmod '775' '/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master'") | |
os.execute: chmod '775' '/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master' | |
..........: 0 | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.1.json.check") | |
fs.lock_access("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/lockfile.lfs") | |
fs.download("https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest-5.1.json", "/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.1.json", "true") | |
fs.absolute_name("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.1.json") | |
GET https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest-5.1.json | |
fs.unlock_access("userdata: 0x1e9765275090") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.1.zip.check") | |
fs.lock_access("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/lockfile.lfs") | |
fs.download("https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest-5.1.zip", "/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.1.zip", "true") | |
fs.absolute_name("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.1.zip") | |
GET https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest-5.1.zip | |
fs.unlock_access("userdata: 0x1e976527fe00") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.1.check") | |
fs.lock_access("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/lockfile.lfs") | |
fs.download("https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest-5.1", "/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.1", "true") | |
fs.absolute_name("/tmp/luarocks_local_cache-2514980/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.1") | |
GET https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest-5.1 | |
fs.unlock_access("userdata: 0x1e9765b9af60") | |
Warning: Failed searching manifest: Failed loading manifest for https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/: Error loading file: [string "/tmp/luarocks_local_cache-2514980/https___raw..."]:204115: main function has more than 65536 constants | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks") | |
fs.set_permissions("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks", "exec", "all") | |
fs._unix_mode_scope_to_perms("exec", "all") | |
fs._unix_umask() | |
fs.execute("chmod", "775", "/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks") | |
fs.quote_args("chmod", "775", "/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks") | |
fs.Q("775") | |
fs.Q("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks") | |
fs.execute_string("chmod '775' '/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks'") | |
os.execute: chmod '775' '/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks' | |
..........: 0 | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks/manifest-5.1.json.check") | |
fs.lock_access("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks/lockfile.lfs") | |
fs.download("https://loadk.com/luarocks/manifest-5.1.json", "/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks/manifest-5.1.json", "true") | |
fs.absolute_name("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks/manifest-5.1.json") | |
GET https://loadk.com/luarocks/manifest-5.1.json | |
fs.unlock_access("userdata: 0x1e97643f0360") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks/manifest-5.1.zip.check") | |
fs.lock_access("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks/lockfile.lfs") | |
fs.download("https://loadk.com/luarocks/manifest-5.1.zip", "/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks/manifest-5.1.zip", "true") | |
fs.absolute_name("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks/manifest-5.1.zip") | |
GET https://loadk.com/luarocks/manifest-5.1.zip | |
fs.unlock_access("userdata: 0x1e9765517f80") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks/manifest-5.1.check") | |
fs.lock_access("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks") | |
fs.make_dir("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks") | |
fs.file_age("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks/lockfile.lfs") | |
fs.download("https://loadk.com/luarocks/manifest-5.1", "/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks/manifest-5.1", "true") | |
fs.absolute_name("/tmp/luarocks_local_cache-2514980/https___loadk.com_luarocks/manifest-5.1") | |
GET https://loadk.com/luarocks/manifest-5.1 | |
fs.unlock_access("userdata: 0x1e97655e54c8") | |
Warning: Failed searching manifest: Failed loading manifest for https://loadk.com/luarocks/: Error loading file: [string "/tmp/luarocks_local_cache-2514980/https___loa..."]:204106: main function has more than 65536 constants | |
fs.unlock_access("userdata: 0x1e9764368628") | |
Error: No results matching query were found for Lua 5.1. | |
To check if it is available for other Lua versions, use --check-lua-versions. | |
fs.change_dir_to_root() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment