Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589148 - dev-util/perf-4.4.4: fails to build on PowerPC
Summary: dev-util/perf-4.4.4: fails to build on PowerPC
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-19 12:15 UTC by Marcus Comstedt
Modified: 2020-05-14 06:18 UTC (History)
2 users (show)

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


Attachments
build.log (ppc) (perf-5.6.4:20200513-192132.log,829.86 KB, text/plain)
2020-05-13 19:28 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Comstedt 2016-07-19 12:15:20 UTC
The unpack function of the ebuild for dev-util/perf-4.4.4 does a partial unpack of the kernel source tree.  Among the subtrees it does _not_ unpack is "arch/*/include".  This makes the build fail on PowerPC as it attempts to include a file from there:

util/../perf-sys.h:40:56: fatal error: ../../arch/powerpc/include/uapi/asm/unistd.h: No such file or directory

So the ebuild needs to be fixed to unpack "arch/*/include" in addition to "arch/*/lib", just like the ebuild 4.1.5-r1 did.  I have verified that this change allows the build to complete normally.
Comment 1 Rees Machtemes 2017-11-30 20:07:53 UTC
Wow, reported by Marcus Comstedt of DC programming fame? Cool!

I have successfully merged dev-util/perf-4.9.13 on powerpc. I recommend this bug be closed and not fixed, as 4.4.4, unless there is a specific need for the older version.
Comment 2 ernsteiswuerfel archtester 2020-05-13 19:28:09 UTC
Created attachment 638658 [details]
build.log (ppc)

dev-util/perf-5.6.4 just builds fine on ppc. Guess this can be closed.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-14 06:18:50 UTC
(In reply to ernsteiswuerfel from comment #2)
> Created attachment 638658 [details]
> build.log (ppc)
> 
> dev-util/perf-5.6.4 just builds fine on ppc. Guess this can be closed.

Thank you! Closing as OBSOLETE.