[OE-core] [PATCH] perf: fix the check

Rongqing Li rongqing.li at windriver.com
Mon Aug 24 06:50:21 UTC 2015



On 2015年08月21日 21:26, Burton, Ross wrote:
>
> On 21 August 2015 at 09:06, <rongqing.li at windriver.com
> <mailto:rongqing.li at windriver.com>> wrote:
>
>     +       if [ "${@perf_feature_enabled('perf-scripting', 1, 0, d)}" =
>     "1" ] && grep -q install-python_ext ${S}/tools/perf/Makefile; then
>
>
> So now of course Python gets installed, but not packaged:
>
> ERROR: QA Issue: perf: Files/directories were installed but not shipped
> in any package:
>    /home
>    /home/pokybuild
>    /home/pokybuild/yocto-autobuilder
>    /home/pokybuild/yocto-autobuilder/yocto-worker
>    /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc-lsb
>    /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc-lsb/build
>
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc-lsb/build/build
>
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc-lsb/build/build/tmp
>
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc-lsb/build/build/tmp/sysroots
>
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc-lsb/build/build/tmp/sysroots/x86_64-linux
>
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc-lsb/build/build/tmp/sysroots/x86_64-linux/usr
>
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc-lsb/build/build/tmp/sysroots/x86_64-linux/usr/lib
>
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc-lsb/build/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7
>
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc-lsb/build/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages
>
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc-lsb/build/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/perf.so
>
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc-lsb/build/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/perf-0.1-py2.7.egg-info
> Please set FILES such that these items are packaged. Alternatively if
> they are unneeded, avoid installing them or delete them within
> do_install. [installed-vs-shipped]
>
> Ross

Hi Ross:

which branch do you use to test this patch?

since the install-python_ext is moved from Makefile to
Makefile.perf from linux v3.13, and this patch is not working
and I can not reproduce this issue of installing the target
file to native dir


-- 
Best Reagrds,
Roy | RongQing Li



More information about the Openembedded-core mailing list