Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 2226537

Summary: lua: FTBFS in Fedora rawhide/f39
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: luaAssignee: Tom "spot" Callaway <spotrh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: 4le, dan, drjohnson1, lua-packagers-sig, mhroncok, michel, spotrh, yselkowi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-01 14:14:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765, 2168842    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

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