Fedora Account System
Red Hat Associate
Red Hat Customer
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/
Created attachment 2151835 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2151836 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2151837 [details] state.log
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.
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.
(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>
Good! That would explain why I cannot reproduce the problem on ppc64le running the latest Rawhide, where 7.2-rc6 is running... :)
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle. Changing version to 45.