Bug 2226537 - lua: FTBFS in Fedora rawhide/f39
Summary: lua: FTBFS in Fedora rawhide/f39
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lua
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker F39FTBFS
TreeView+ depends on / blocked
 
Reported: 2023-07-25 20:33 UTC by Fedora Release Engineering
Modified: 2023-08-02 10:35 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-01 14:14:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2023-07-25 20:33 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2023-07-25 20:33 UTC, Fedora Release Engineering
no flags Details
state.log (991 bytes, text/plain)
2023-07-25 20:33 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2023-07-25 20:33:15 UTC
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/

Comment 1 Fedora Release Engineering 2023-07-25 20:33:21 UTC
Created attachment 1979943 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2023-07-25 20:33:25 UTC
Created attachment 1979944 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2023-07-25 20:33:28 UTC
Created attachment 1979945 [details]
state.log

Comment 4 Yaakov Selkowitz 2023-07-31 20:47:58 UTC
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

Comment 5 Dan Horák 2023-08-01 09:14:38 UTC
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.

Comment 6 Dan Horák 2023-08-01 12:38:07 UTC
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 ...

Comment 7 Tom "spot" Callaway 2023-08-01 14:14:43 UTC
The test is patched out for now, 5.4.6-3.fc39 is built in rawhide.

Comment 8 Dan Horák 2023-08-02 10:35:01 UTC
my upstream report is http://lua-users.org/lists/lua-l/2023-08/msg00000.html


Note You need to log in before you can comment on or make changes to this bug.