Bug 11423

Summary: redefinition of struct struct ptrace_peeksiginfo_args causes strace to not build
Product: Mageia Reporter: David Walser <luigiwalser>
Component: RPM PackagesAssignee: Thomas Backlund <tmb>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: dan
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: kernel-userspace-headers, glibc CVE:
Status comment:

Description David Walser 2013-10-10 05:19:21 CEST
As you can see from this build log:
http://pkgsubmit.mageia.org/autobuild/cauldron/x86_64/core/2013-09-29/strace-4.8-1.mga4.src.rpm/build.0.20130929125928.log

struct ptrace_peeksiginfo_args from /usr/include/sys/ptrace.h (glibc-devel) is redefinied in /usr/include/linux/ptrace.h (kernel-userspace-headers), which causes gcc to complain and the build to fail.

As a side note, I located some of the headers strace looks for in configure in libaio-devel, sctp-devel, and acl-devel.  Should we add those as BuildRequires?

Reproducible: 

Steps to Reproduce:
Comment 1 David Walser 2013-10-15 01:21:17 CEST
Dan Fandich has added a patch to workaround this in strace-4.8-2.mga4 to get it to build, but it still looks like something that ideally should be fixed in either glibc or the kernel.

CC: (none) => dan

Comment 2 David Walser 2014-08-16 18:12:51 CEST
Strace 4.9 has been released to work around this.  I guess upstream kernel/glibc won't fix it.

Status: NEW => RESOLVED
Resolution: (none) => OLD