lua failed to build from source in Fedora rawhide/f39 https://koji.fedoraproject.org/koji/taskinfo?taskID=103852429 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Please fix lua at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, lua will be orphaned. Before branching of Fedora 40, lua will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 1979943 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1979944 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1979945 [details] state.log
Failure is on s390x only, during tests: /builddir/build/BUILDROOT/lua-5.4.6-2.fc39.s390x//usr/bin/lua: calls.lua:355: binary string: bad binary format (integer format mismatch) stack traceback: [C]: in function 'assert' calls.lua:355: in main chunk (...tail calls...) all.lua:164: in main chunk [C]: in ? . This would seem related to https://github.com/lua/lua/commit/ab859fe59b464a038a45552921cb2b23892343af
I see the same failure on ppc64, so I guess the test is wrong for big endian platforms, because the precompiled code dump is in little endian format.
I have reported my findings upstream, but still haven't a usable URL from their mailing list archive. Until fixed upstream I would suggest to patch-out the new test ...
The test is patched out for now, 5.4.6-3.fc39 is built in rawhide.
my upstream report is http://lua-users.org/lists/lua-l/2023-08/msg00000.html