Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217219 - dev-util/ltrace-0.4 does not build on ppc64
Summary: dev-util/ltrace-0.4 does not build on ppc64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-10 20:40 UTC by Nate Case
Modified: 2008-04-14 21:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build fix for ppc64 (ltrace-0.4-r1.ebuild.ppc64.patch,643 bytes, patch)
2008-04-10 20:42 UTC, Nate Case
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Case 2008-04-10 20:40:40 UTC
ltrace 0.4 doesn't seem to support ppc64 since it's not listed in KEYWORDS.

If I add ppc64 to KEYWORDS, the build fails due to missing sysdeps/linux-gnu/ppc64.  However, after looking into it, it looks like we should just use sysdeps/linux-gnu/ppc on ppc64.

A small fixup in the ebuild to create a symlink from ppc -> ppc64 allows ltrace to build and run successfully (see attached patch).

Reproducible: Always

Steps to Reproduce:
1. emerge ltrace on any ppc64 system
2.
3.
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2008-04-10 20:42:28 UTC
Adding ppc64 as well so they can decide if they want to put this change in and test it.
Comment 2 Nate Case 2008-04-10 20:42:53 UTC
Created attachment 149340 [details, diff]
Build fix for ppc64
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2008-04-11 17:51:20 UTC
updated files/ltrace-0.5.3-ppc.patch to replace powerpc64 with ppc in HOST_CPU.

Please sync in an hour or so and try again (added ~ppc64 to 0.5.3).
Comment 4 Nate Case 2008-04-14 21:27:15 UTC
I just emerged ltrace-0.5.3 with your ppc64 changes.  I can verify that it built fine now and ltrace appears functional.  Thanks.