Fix macOS on arm64 CI failure: pass LUA_LIBDIR in rockspecs#5
Draft
cclauss wants to merge 1 commit into
Draft
Conversation
e577fb7 to
d431a55
Compare
2a6a8d9 to
55c4430
Compare
cclauss
added a commit
that referenced
this pull request
Jun 25, 2026
# This is the 1st commit message: luarocks make fails on macOS and Windows # The commit message #2 will be skipped: # luarocks make fails on macOS and Windows # The commit message #3 will be skipped: # luarocks make fails on macOS and Windows # The commit message #4 will be skipped: # luarocks make fails on macOS and Windows # The commit message #5 will be skipped: # luarocks make fails on macOS and Windows # The commit message #6 will be skipped: # luarocks make fails on macOS and Windows # The commit message #7 will be skipped: # luarocks make fails on macOS and Windows # The commit message #8 will be skipped: # luarocks make fails on macOS and Windows # The commit message #9 will be skipped: # luarocks make fails on macOS and Windows # The commit message #10 will be skipped: # luarocks make fails on macOS and Windows # The commit message #11 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#12 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#13 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#14 will be skipped: # luarocks make fails on macOS and Windows
105a57c to
d10d3dc
Compare
cclauss
added a commit
that referenced
this pull request
Jun 25, 2026
# This is the 1st commit message: luarocks make fails on macOS and Windows # The commit message #2 will be skipped: # luarocks make fails on macOS and Windows # The commit message #3 will be skipped: # luarocks make fails on macOS and Windows # The commit message #4 will be skipped: # luarocks make fails on macOS and Windows # The commit message #5 will be skipped: # luarocks make fails on macOS and Windows # The commit message #6 will be skipped: # luarocks make fails on macOS and Windows # The commit message #7 will be skipped: # luarocks make fails on macOS and Windows # The commit message #8 will be skipped: # luarocks make fails on macOS and Windows # The commit message #9 will be skipped: # luarocks make fails on macOS and Windows # The commit message #10 will be skipped: # luarocks make fails on macOS and Windows # The commit message #11 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#12 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#13 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#14 will be skipped: # luarocks make fails on macOS and Windows
d10d3dc to
09e5ed9
Compare
cclauss
added a commit
that referenced
this pull request
Jun 25, 2026
# This is the 1st commit message: luarocks make fails on macOS and Windows # The commit message #2 will be skipped: # luarocks make fails on macOS and Windows # The commit message #3 will be skipped: # luarocks make fails on macOS and Windows # The commit message #4 will be skipped: # luarocks make fails on macOS and Windows # The commit message #5 will be skipped: # luarocks make fails on macOS and Windows # The commit message #6 will be skipped: # luarocks make fails on macOS and Windows # The commit message #7 will be skipped: # luarocks make fails on macOS and Windows # The commit message #8 will be skipped: # luarocks make fails on macOS and Windows # The commit message #9 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#10 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#11 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#12 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#13 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#14 will be skipped: # luarocks make fails on macOS and Windows
09e5ed9 to
a6ca96d
Compare
cclauss
added a commit
that referenced
this pull request
Jun 25, 2026
# This is the 1st commit message: luarocks make fails on macOS and Windows # The commit message #2 will be skipped: # luarocks make fails on macOS and Windows # The commit message #3 will be skipped: # luarocks make fails on macOS and Windows # The commit message #4 will be skipped: # luarocks make fails on macOS and Windows # The commit message #5 will be skipped: # luarocks make fails on macOS and Windows # The commit message #6 will be skipped: # luarocks make fails on macOS and Windows # The commit message #7 will be skipped: # luarocks make fails on macOS and Windows # The commit message #8 will be skipped: # luarocks make fails on macOS and Windows # The commit message #9 will be skipped: # luarocks make fails on macOS and Windows # The commit message #10 will be skipped: # luarocks make fails on macOS and Windows # The commit message #11 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#12 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#13 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#14 will be skipped: # luarocks make fails on macOS and Windows
cclauss
added a commit
that referenced
this pull request
Jun 25, 2026
# This is the 1st commit message: luarocks make fails on macOS and Windows # The commit message #2 will be skipped: # luarocks make fails on macOS and Windows # The commit message #3 will be skipped: # luarocks make fails on macOS and Windows # The commit message #4 will be skipped: # luarocks make fails on macOS and Windows # The commit message #5 will be skipped: # luarocks make fails on macOS and Windows # The commit message #6 will be skipped: # luarocks make fails on macOS and Windows # The commit message #7 will be skipped: # luarocks make fails on macOS and Windows # The commit message #8 will be skipped: # luarocks make fails on macOS and Windows # The commit message #9 will be skipped: # luarocks make fails on macOS and Windows # The commit message #10 will be skipped: # luarocks make fails on macOS and Windows # The commit message #11 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#12 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#13 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#14 will be skipped: # luarocks make fails on macOS and Windows
a6ca96d to
cdc89d7
Compare
cclauss
added a commit
that referenced
this pull request
Jun 25, 2026
# This is the 1st commit message: luarocks make fails on macOS and Windows # The commit message #2 will be skipped: # luarocks make fails on macOS and Windows # The commit message #3 will be skipped: # luarocks make fails on macOS and Windows # The commit message #4 will be skipped: # luarocks make fails on macOS and Windows # The commit message #5 will be skipped: # luarocks make fails on macOS and Windows # The commit message #6 will be skipped: # luarocks make fails on macOS and Windows # The commit message #7 will be skipped: # luarocks make fails on macOS and Windows # The commit message #8 will be skipped: # luarocks make fails on macOS and Windows # The commit message #9 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#10 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#11 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#12 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#13 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#14 will be skipped: # luarocks make fails on macOS and Windows
0721250 to
5e6bddf
Compare
cclauss
added a commit
that referenced
this pull request
Jun 25, 2026
# This is the 1st commit message: luarocks make fails on macOS and Windows # The commit message #2 will be skipped: # luarocks make fails on macOS and Windows # The commit message #3 will be skipped: # luarocks make fails on macOS and Windows # The commit message #4 will be skipped: # luarocks make fails on macOS and Windows # The commit message #5 will be skipped: # luarocks make fails on macOS and Windows # The commit message #6 will be skipped: # luarocks make fails on macOS and Windows # The commit message #7 will be skipped: # luarocks make fails on macOS and Windows # The commit message #8 will be skipped: # luarocks make fails on macOS and Windows # The commit message #9 will be skipped: # luarocks make fails on macOS and Windows # The commit message #10 will be skipped: # luarocks make fails on macOS and Windows # The commit message #11 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#12 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#13 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#14 will be skipped: # luarocks make fails on macOS and Windows
5e6bddf to
aa2222b
Compare
cclauss
added a commit
that referenced
this pull request
Jun 25, 2026
# This is the 1st commit message: luarocks make fails on macOS and Windows # The commit message #2 will be skipped: # luarocks make fails on macOS and Windows # The commit message #3 will be skipped: # luarocks make fails on macOS and Windows # The commit message #4 will be skipped: # luarocks make fails on macOS and Windows # The commit message #5 will be skipped: # luarocks make fails on macOS and Windows # The commit message #6 will be skipped: # luarocks make fails on macOS and Windows # The commit message #7 will be skipped: # luarocks make fails on macOS and Windows # The commit message #8 will be skipped: # luarocks make fails on macOS and Windows # The commit message #9 will be skipped: # luarocks make fails on macOS and Windows # The commit message #10 will be skipped: # luarocks make fails on macOS and Windows # The commit message #11 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#12 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#13 will be skipped: # luarocks make fails on macOS and Windows # The commit message bastibe#14 will be skipped: # luarocks make fails on macOS and Windows
d3e154e to
3a6791a
Compare
Owner
Author
|
@copilot That is worse, not better. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the failing GitHub Actions "ci (macos-latest)" job.
Root Cause
The linker on macOS was receiving
-L/opt/homebrew/opt/lua/include/lua5.5(the include directory) instead of the lib directory, causingld: library 'lua' not found.This happened because
Makefile.luarocksderives the Lua library path from the include path usingpatsubst %/include,%/lib,$(LUA_INCDIR). This substitution only works when the path ends with/include, but Homebrew installs Lua with a versioned subdirectory (e.g./opt/homebrew/opt/lua/include/lua5.5), so the pattern never matched and the include path was passed unchanged to-L.Fix
Added
LUA_LIBDIR = '$(LUA_LIBDIR)'to thevariablestable in both rockspecs:lunatic-python-scm-0.rockspecrockspecs/lunatic-python-1.0-1.rockspecLuaRocks already knows the correct library directory and exposes it as
$(LUA_LIBDIR). Passing it explicitly means the Makefile's$(or $(LUA_LIBDIR),...)logic uses it directly, bypassing the brokenpatsubstfallback. The linker now correctly receives-L/opt/homebrew/opt/lua/lib -llua.