Skip to content

Comments

lua: update to 5.5.0#28014

Draft
dragon-archer wants to merge 3 commits intomsys2:masterfrom
dragon-archer:update-lua
Draft

lua: update to 5.5.0#28014
dragon-archer wants to merge 3 commits intomsys2:masterfrom
dragon-archer:update-lua

Conversation

@dragon-archer
Copy link
Contributor

Fix #28002

  • refresh patches
  • merge 2 implib related patches
  • add check()

Several TODOs:

  • Should we add a lua54 package, just like current lua51 and lua53
  • Not sure whether 0004-fix-fseek-on-mingw.patch is useful, seemes that the compile and check suceeds without it.
  • Rebuild lots of packages

* refresh patches
* merge 2 implib related patches
* add check()
@lazka
Copy link
Member

lazka commented Feb 20, 2026

Should we add a lua54 package, just like current lua51 and lua53

@luau-project do you have any thoughts on this?

@luau-project
Copy link
Contributor

Should we add a lua54 package, just like current lua51 and lua53

@luau-project do you have any thoughts on this?

@lazka

I do think it is a good idea to add a lua54 package. In the Lua ecosystem, many packages are not ready for Lua 5.5 yet.

Hosted here:

  • mingw-w64-lua-luarocks, mingw-w64-luafilesystem and mingw-w64-lua-cjson are ready (5.5);
  • mingw-w64-lua-lsqlite3 hasn't been updated to work on Lua 5.5, even though there is an update request (https://lua.sqlite.org/home/tktview/c2bbe79c03);
  • Regarding the packages for texlive and other lesser known Lua packages here, I have no idea about their status.

Note

From what I see in the wild, not many people use Lua 5.3. It might be a target for removal, if you want to save hosting space.

Mostly, 5.1, 5.4 and 5.5 would cover most users.

@luau-project
Copy link
Contributor

Not sure whether 0004-fix-fseek-on-mingw.patch is useful, seemes that the compile and check suceeds without it.

@dragon-archer

Without this patch, building Lua with MinGW-w64, the lua.exe interpreter is not large file aware. This patch is needed to seek over 32-bit range ( > 2 GB ) in files. In short, without this patch, we would face #20892 again.

@lazka lazka marked this pull request as draft February 20, 2026 21:22
@lazka
Copy link
Member

lazka commented Feb 20, 2026

ok, let's add 5.4 and 5.5 then (for the packages that support it)

after that we can look into cleaning up 5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lua update from 5.4 to 5.5

3 participants