Bug 11423 - redefinition of struct struct ptrace_peeksiginfo_args causes strace to not build
Summary: redefinition of struct struct ptrace_peeksiginfo_args causes strace to not build
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-10 05:19 CEST by David Walser
Modified: 2014-08-16 18:12 CEST (History)
1 user (show)

See Also:
Source RPM: kernel-userspace-headers, glibc
CVE:
Status comment:


Attachments

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


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