[OE-core] [PATCH] perf: fix the check
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Aug 21 13:48:33 UTC 2015
On Fri, 2015-08-21 at 14:26 +0100, Burton, Ross wrote:
>
> On 21 August 2015 at 09:06, <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]
Note that this is even more broken since these are native python files,
not suitable for the target. Or at least native directories have been
used for what should be target libraries.
Cheers,
Richard
More information about the Openembedded-core
mailing list