Skip to content

Conversation

@cyberplant
Copy link
Contributor

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description:

The LuaJIT that is compiled on alpine has some math bugs that have been solved in the git LuaJIT.

These bugs are preventing Luanti to start when using some games that make good use of the JIT component.

For example, trying to start latest game mineclonia with the latest luanti image on ARM fails with this error:

2025-10-28 04:29:29: ACTION[Main]: Server: Shutting down
2025-10-28 04:29:29: ERROR[Main]: ModError: Failed to load and run script from /config/.minetest/games/mineclonia/mods/MAPGEN/mcl_levelgen/init.lua:
2025-10-28 04:29:29: ERROR[Main]: ...est/games/mineclonia/mods/MAPGEN/mcl_levelgen/random.lua:857: assertion failed!
2025-10-28 04:29:29: ERROR[Main]: stack traceback:
2025-10-28 04:29:29: ERROR[Main]:        [C]: in function 'assert'
2025-10-28 04:29:29: ERROR[Main]:        ...est/games/mineclonia/mods/MAPGEN/mcl_levelgen/random.lua:857: in main chunk
2025-10-28 04:29:29: ERROR[Main]:        [C]: in function 'dofile'
2025-10-28 04:29:29: ERROR[Main]:        ...etest/games/mineclonia/mods/MAPGEN/mcl_levelgen/init.lua:168: in main chunk

Benefits of this PR and context:

Using latest LuaJIT from git fixes these bugs.

How Has This Been Tested?

Have built the docker image on my Raspberry Pi 4 and checked that the errors reported before are gone.

Source / References:

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this pull request! Be sure to follow the pull request template!

@LinuxServer-CI
Copy link
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/luanti/5.14.0-pkg-94f1fa49-dev-440b979eaaf623194924b404adc8611e111bbafe-pr-6/index.html
https://ci-tests.linuxserver.io/lspipepr/luanti/5.14.0-pkg-94f1fa49-dev-440b979eaaf623194924b404adc8611e111bbafe-pr-6/shellcheck-result.xml

Tag Passed
amd64-5.14.0-pkg-94f1fa49-dev-440b979eaaf623194924b404adc8611e111bbafe-pr-6
arm64v8-5.14.0-pkg-94f1fa49-dev-440b979eaaf623194924b404adc8611e111bbafe-pr-6

@redongh
Copy link

redongh commented Nov 15, 2025

confirming what @cyberplant wrote as I am affected in the same way. would be great if this would get reviewed / approved, is there anything that could be done to facilitate this?

@thespad thespad self-assigned this Nov 16, 2025
@thespad
Copy link
Member

thespad commented Nov 16, 2025

@cyberplant sorry this got overlooked. Please add an entry to the changelog in the readme-vars and then I'm happy to merge this.

@cyberplant
Copy link
Contributor Author

@cyberplant sorry this got overlooked. Please add an entry to the changelog in the readme-vars and then I'm happy to merge this.

Done, does it look good?

@LinuxServer-CI
Copy link
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/luanti/5.14.0-pkg-22fac08d-dev-86492eb8d1565a314a65eb1fe41ac527c15ae8af-pr-6/index.html
https://ci-tests.linuxserver.io/lspipepr/luanti/5.14.0-pkg-22fac08d-dev-86492eb8d1565a314a65eb1fe41ac527c15ae8af-pr-6/shellcheck-result.xml

Tag Passed
amd64-5.14.0-pkg-22fac08d-dev-86492eb8d1565a314a65eb1fe41ac527c15ae8af-pr-6
arm64v8-5.14.0-pkg-22fac08d-dev-86492eb8d1565a314a65eb1fe41ac527c15ae8af-pr-6

@github-project-automation github-project-automation bot moved this from PRs to PRs Approved in Issue & PR Tracker Nov 18, 2025
@thespad thespad merged commit b45630d into linuxserver:main Nov 18, 2025
2 checks passed
@LinuxServer-CI LinuxServer-CI moved this from PRs Approved to Done in Issue & PR Tracker Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

4 participants