Created
March 8, 2024 21:34
-
-
Save chenrui333/31d6d02f1fa5fed2dfaca95f8c511755 to your computer and use it in GitHub Desktop.
luarocks on macOS 13.6 - Homebrew build logs
This file contains 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
Homebrew build logs for luarocks on macOS 13.6 | |
Build date: 2024-03-08 21:32:21 |
This file contains 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
HOMEBREW_VERSION: 4.2.11-103-gcd1f040 | |
ORIGIN: https://github.com/Homebrew/brew | |
HEAD: cd1f0409493c77e7964cf03a0fb1e93d03a83772 | |
Last commit: 86 minutes ago | |
Core tap HEAD: 2bf8bcd37938caa8ad1e1476b62b68d2ac410933 | |
Core tap last commit: 11 minutes ago | |
Core cask tap HEAD: 8f7ec275124c3b3e91b15eb24f08f617706a5ca9 | |
Core cask tap last commit: 33 minutes ago | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CASK_OPTS: ["--no-quarantine"] | |
HOMEBREW_COLOR: set | |
HOMEBREW_DEVELOPER: set | |
HOMEBREW_GITHUB_API_TOKEN: set | |
HOMEBREW_MAKE_JOBS: 4 | |
HOMEBREW_NO_ANALYTICS: set | |
HOMEBREW_NO_AUTO_UPDATE: set | |
HOMEBREW_NO_INSTALL_CLEANUP: set | |
HOMEBREW_NO_INSTALL_FROM_API: set | |
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set | |
HOMEBREW_SORBET_RUNTIME: set | |
Homebrew Ruby: 3.1.4 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby | |
CPU: quad-core 64-bit ivybridge | |
Clang: 15.0.0 build 1500 | |
Git: 2.43.2 => /usr/local/bin/git | |
Curl: 8.4.0 => /usr/bin/curl | |
macOS: 13.6.4-x86_64 | |
CLT: 15.1.0.0.1.1700200546 | |
Xcode: 15.0.1 => /Applications/Xcode_15.0.1.app/Contents/Developer |
This file contains 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
[1mPlease note that these warnings are just used to help the Homebrew maintainers | |
with debugging if you file an issue. If everything you use Homebrew for is | |
working fine: please don't worry or file an issue; just ignore this. Thanks![0m | |
[33mWarning:[0m Some installed formulae are deprecated or disabled. | |
You should find replacements for the following formulae: | |
[email protected] | |
packer | |
[33mWarning:[0m You have uncommitted modifications to Homebrew/homebrew-core. | |
If this is a surprise to you, then you should stash these modifications. | |
Stashing returns Homebrew to a pristine state but can be undone | |
should you later need to do so for some reason. | |
cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core && git stash -u && git clean -d -f | |
Uncommitted files: | |
M Formula/l/luarocks.rb | |
[33mWarning:[0m /usr/bin occurs before /usr/local/bin in your PATH. | |
This means that system-provided programs will be used instead of those | |
provided by Homebrew. Consider setting your PATH so that | |
/usr/local/bin occurs before /usr/bin. Here is a one-liner: | |
echo 'export PATH="/usr/local/bin:$PATH"' >> /Users/runner/.bash_profile | |
The following tools exist at both paths: | |
corelist | |
cpan | |
enc2xs | |
encguess | |
git | |
git-receive-pack | |
git-shell | |
git-upload-archive | |
git-upload-pack | |
h2ph | |
h2xs | |
instmodsh | |
json_pp | |
libnetcfg | |
openssl | |
perl | |
perlbug | |
perldoc | |
perlivp | |
perlthanks | |
piconv | |
pip3 | |
pl2pm | |
pod2html | |
pod2man | |
pod2text | |
pod2usage | |
podchecker | |
prove | |
ptar | |
ptardiff | |
ptargrep | |
python3 | |
shasum | |
splain | |
streamzip | |
tidy | |
xsubpp | |
zipdetails | |
[33mWarning:[0m Homebrew's "bin" was not found in your PATH. | |
Consider setting your PATH for example like so: | |
echo 'export PATH="/usr/local/bin:$PATH"' >> /Users/runner/.bash_profile | |
[33mWarning:[0m Homebrew's "sbin" was not found in your PATH but you have installed | |
formulae that put executables in /usr/local/sbin. | |
Consider setting your PATH for example like so: | |
echo 'export PATH="/usr/local/sbin:$PATH"' >> /Users/runner/.bash_profile |
This file contains 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 |
This file contains 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
2024-03-08 21:32:19 +0000 | |
./configure | |
--prefix=/usr/local/Cellar/luarocks/3.10.0 | |
--sysconfdir=/usr/local/etc | |
--rocks-tree=/usr/local | |
[1;36mConfiguring LuaRocks version 3.10.0...[0m | |
Lua version detected: [1;32m5.4[0m | |
Lua interpreter found: [1;32m/usr/local/opt/lua/bin/lua5.4[0m | |
lua.h found: [1;32m/usr/local/opt/lua/include/lua5.4/lua.h[0m | |
unzip found in PATH: [1;32m/usr/bin[0m | |
[1;36mDone configuring.[0m | |
LuaRocks will be installed at......: [1;32m/usr/local/Cellar/luarocks/3.10.0[0m | |
LuaRocks will install rocks at.....: [1;32m/usr/local[0m | |
LuaRocks configuration directory...: [1;32m/usr/local/etc/luarocks[0m | |
Using Lua from.....................: [1;32m/usr/local/opt/lua[0m | |
* Type [1mmake[0m and [1mmake install[0m: | |
to install to /usr/local/Cellar/luarocks/3.10.0 as usual. | |
* Type [1mmake bootstrap[0m: | |
to install LuaRocks into /usr/local as a rock. | |
This file contains 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
2024-03-08 21:32:21 +0000 | |
make | |
install | |
mkdir -p "build" | |
rm -f src/luarocks/core/hardcoded.lua | |
mkdir -p "build" | |
mkdir -p "build" | |
echo "#!/bin/sh" > luarocks-admin | |
echo "unset LUA_PATH LUA_PATH_5_2 LUA_PATH_5_3 LUA_PATH_5_4 LUA_CPATH LUA_CPATH_5_2 LUA_CPATH_5_3 LUA_CPATH_5_4" >> luarocks-admin | |
(printf '#!/usr/local/opt/lua/bin/lua5.4\n'\ | |
'package.loaded["luarocks.core.hardcoded"] = { '\ | |
"$([ -n "" ] && printf 'FORCE_CONFIG = true, ')"\ | |
'SYSCONFDIR = [[/usr/local/etc/luarocks]] }\n'\ | |
'package.path=[[/usr/local/Cellar/luarocks/3.10.0/share/lua/5.4/?.lua;]] .. package.path\n'\ | |
'local list = package.searchers or package.loaders; table.insert(list, 1, function(name) if name:match("^luarocks%%.") then return loadfile([[/usr/local/Cellar/luarocks/3.10.0/share/lua/5.4/]] .. name:gsub([[%%.]], [[/]]) .. [[.lua]]) end end)\n'; \ | |
tail -n +2 src/bin/luarocks-admin \ | |
)> "build/luarocks-admin" | |
(printf '#!/usr/local/opt/lua/bin/lua5.4\n'\ | |
'package.loaded["luarocks.core.hardcoded"] = { '\ | |
"$([ -n "" ] && printf 'FORCE_CONFIG = true, ')"\ | |
'SYSCONFDIR = [[/usr/local/etc/luarocks]] }\n'\ | |
'package.path=[[/usr/local/Cellar/luarocks/3.10.0/share/lua/5.4/?.lua;]] .. package.path\n'\ | |
'local list = package.searchers or package.loaders; table.insert(list, 1, function(name) if name:match("^luarocks%%.") then return loadfile([[/usr/local/Cellar/luarocks/3.10.0/share/lua/5.4/]] .. name:gsub([[%%.]], [[/]]) .. [[.lua]]) end end)\n'; \ | |
tail -n +2 src/bin/luarocks \ | |
)> "build/luarocks" | |
echo 'LUAROCKS_SYSCONFDIR="/usr/local/etc/luarocks" LUA_PATH="/private/tmp/luarocks-20240308-7719-xxoaza/luarocks-3.10.0/src/?.lua;;" exec "/usr/local/opt/lua/bin/lua5.4" "/private/tmp/luarocks-20240308-7719-xxoaza/luarocks-3.10.0/src/bin/luarocks-admin" --project-tree="/private/tmp/luarocks-20240308-7719-xxoaza/luarocks-3.10.0/lua_modules" "$@"' >> luarocks-admin | |
chmod +rx ./luarocks-admin | |
mkdir -p '/usr/local/etc/luarocks/' | |
mkdir -p .luarocks | |
install -m 644 './build/config-5.4.lua' '/usr/local/etc/luarocks/config-5.4.lua' | |
cp ./build/config-5.4.lua .luarocks/config-5.4.lua | |
rm -f src/luarocks/core/hardcoded.lua | |
echo "#!/bin/sh" > luarocks | |
echo "unset LUA_PATH LUA_PATH_5_2 LUA_PATH_5_3 LUA_PATH_5_4 LUA_CPATH LUA_CPATH_5_2 LUA_CPATH_5_3 LUA_CPATH_5_4" >> luarocks | |
echo 'LUAROCKS_SYSCONFDIR="/usr/local/etc/luarocks" LUA_PATH="/private/tmp/luarocks-20240308-7719-xxoaza/luarocks-3.10.0/src/?.lua;;" exec "/usr/local/opt/lua/bin/lua5.4" "/private/tmp/luarocks-20240308-7719-xxoaza/luarocks-3.10.0/src/bin/luarocks" --project-tree="/private/tmp/luarocks-20240308-7719-xxoaza/luarocks-3.10.0/lua_modules" "$@"' >> luarocks | |
chmod +rx ./luarocks | |
./luarocks init | |
Initializing project 'luarocks-3.10.0' for Lua 5.4 ... | |
------------------------------------------------------ | |
Adding entries to .gitignore ... | |
Preparing ./.luarocks/ ... | |
Wrote .luarocks/config-5.4.lua | |
Preparing ./lua_modules/ ... | |
luarocks already exists. Not overwriting it! | |
Preparing lua for version 5.4... | |
mkdir -p '/usr/local/Cellar/luarocks/3.10.0/bin/' | |
install './build/luarocks' '/usr/local/Cellar/luarocks/3.10.0/bin/luarocks' | |
install './build/luarocks-admin' '/usr/local/Cellar/luarocks/3.10.0/bin/luarocks-admin' | |
find src/luarocks/ -type d | while read f; \ | |
do \ | |
mkdir -p '/usr/local/Cellar/luarocks/3.10.0/share/lua/5.4'/`echo $f | sed 's,^src/,,'`; \ | |
done | |
find src/luarocks/ -type f -name '*.lua' | while read f; \ | |
do \ | |
install -m 644 "$f" '/usr/local/Cellar/luarocks/3.10.0/share/lua/5.4'/`echo $f | sed 's,^src/,,'`; \ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment