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
Bug 2226537 - lua: FTBFS in Fedora rawhide/f39
Summary: lua: FTBFS in Fedora rawhide/f39
Alias: None
Product: Fedora
Classification: Fedora
Component: lua
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
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:
Last Closed: 2023-08-01 14:14:43 UTC
Type: ---

Attachments (Terms of Use)
build.log (deleted)
2023-07-25 20:33 UTC, Fedora Release Engineering
no flags Details
root.log (deleted)
2023-07-25 20:33 UTC, Fedora Release Engineering
no flags Details
state.log (deleted)
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

For details on the mass rebuild see:
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:

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

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]

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]

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

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

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