Bug 2504691 - strace: FTBFS in Fedora rawhide/f45
Summary: strace: FTBFS in Fedora rawhide/f45
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: strace
Version: 45
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dmitry V. Levin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F45FTBFS F46FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2026-07-21 21:56 UTC by Fedora Release Engineering
Modified: 2026-08-17 15:34 UTC (History)
4 users (show)

Fixed In Version: strace-7.1-3.fc45
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2026-07-21 21:56 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2026-07-21 21:56 UTC, Fedora Release Engineering
no flags Details
state.log (1.61 KB, text/plain)
2026-07-21 21:56 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2026-07-21 21:56:17 UTC
strace failed to build from source in Fedora rawhide/f45

https://koji.fedoraproject.org/koji/taskinfo?taskID=147921986


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
Please fix strace 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,
strace will be orphaned. Before branching of Fedora 46,
strace 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 2026-07-21 21:56:28 UTC
Created attachment 2151835 [details]
build.log

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

Comment 2 Fedora Release Engineering 2026-07-21 21:56:33 UTC
Created attachment 2151836 [details]
root.log

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

Comment 3 Fedora Release Engineering 2026-07-21 21:56:36 UTC
Created attachment 2151837 [details]
state.log

Comment 4 Dmitry V. Levin 2026-07-22 06:40:19 UTC
This is a ppc64le-only PTRACE_GETREGS regression introduced by upstream Linux kernel commit https://git.kernel.org/torvalds/c/d7a6797e0bc1ee7bddb8a298f2d1acddb300efb3 aka v7.2-rc1~97^2~27: they've extended struct pt_regs by 32 bytes.

Comment 5 Michael Petlan 2026-08-04 16:48:46 UTC
IMO the corresponding struct in strace's code should be aligned with the kernel change in strace-7.2, however in fedora, we currently have kernel-7.2-rc6 while strace still in 7.1. So the question is how to deal with this in a clean way before it gets fixed upstream in strace.

Comment 6 Florian Weimer 2026-08-05 06:41:38 UTC
(In reply to Michael Petlan from comment #5)
> IMO the corresponding struct in strace's code should be aligned with the
> kernel change in strace-7.2, however in fedora, we currently have
> kernel-7.2-rc6 while strace still in 7.1. So the question is how to deal
> with this in a clean way before it gets fixed upstream in strace.

I think the kernel should apply the upstream fix:

powerpc: Fix exit_flags field placement in pt_regs for ptrace
<https://lore.kernel.org/all/20260723194809.4046600-1-mkchauras@gmail.com/>
<https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=263e5159e00aa46bf26f3496ff7aae1fc9a6c826>

Comment 7 Michael Petlan 2026-08-05 12:27:17 UTC
Good! That would explain why I cannot reproduce the problem on ppc64le running the latest Rawhide, where 7.2-rc6 is running... :)

Comment 8 Aoife Moloney 2026-08-17 15:34:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


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