strace FTBFS on ppc64el

Bug #1262396 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
strace (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

strace appears to need porting to ppc64el:

gcc -DHAVE_CONFIG_H -I. -I.. -I../linux/powerpc -I../linux -I./linux -Wall -Wwrite-strings -g -O2 -MT process.o -MD -MP -MF .deps/process.Tpo -c -o process.o ../process.c
In file included from ../process.c:66:0:
/usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct ptrace_peeksiginfo_args'
 struct ptrace_peeksiginfo_args {
        ^
In file included from ../defs.h:163:0,
                 from ../process.c:37:
/usr/include/powerpc64le-linux-gnu/sys/ptrace.h:161:8: note: originally defined here
 struct ptrace_peeksiginfo_args
        ^
make[3]: *** [process.o] Error 1
make[3]: *** Waiting for unfinished jobs....

https://launchpadlibrarian.net/160099771/buildlog_ubuntu-trusty-ppc64el.strace_4.8-1ubuntu2_FAILEDTOBUILD.txt.gz

Steve Langasek (vorlon)
tags: added: ftbfs ppc64el
Revision history for this message
Anton Blanchard (anton-samba) wrote :

This is a strace bug, fixed upstream. From memory the kernel headers started defining this in 3.10, which caused the issue.

Revision history for this message
Anton Blanchard (anton-samba) wrote :

This patch is also required to fix errors in make check.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "ptrace_peeksiginfo_args.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Steve Langasek (vorlon) wrote :

Thanks, with a bit of build system tweaking afterwards these two patches seem to do the job - uploaded to trusty.

Changed in strace (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package strace - 4.8-1ubuntu4

---------------
strace (4.8-1ubuntu4) trusty; urgency=medium

  * Rework debian/rules to ensure we finish our autoreconf before trying to
    do any of the builds, on architectures where we build strace for more
    than one target.
 -- Steve Langasek <email address hidden> Wed, 18 Dec 2013 23:15:29 -0800

Changed in strace (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.