[OE-core] [PATCH 7/8] [sanity] fix hardcoded references to gcc

Burton, Ross ross.burton at intel.com
Tue Aug 23 14:53:36 UTC 2016


On 23 August 2016 at 08:25, Jérémy Rosen <jeremy.rosen at smile.fr> wrote:

> Signed-off-by: Jérémy Rosen <jeremy.rosen at smile.fr>
>

Did you test this patch with a totally clean build directory?

ross at flashheart ~/Yocto/poky/boofo (mut %)
$ bitbake m4
ERROR:  OE-core's config sanity checker detected a potential
misconfiguration.
    Either fix the cause of this error or at your own risk disable the
checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Please install the following missing utilities: C Compiler (gcc ),C++
Compiler (g++ )

I think this is because BUILD_CC by default contains whitespace, and
bb.utils.which looks for "gcc ".  I added a strip() to check_app_exists and
it passed, so can you please verify that your series doesn't regress when
BUILD_CC isn't overridden?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160823/e914bfdf/attachment-0002.html>


More information about the Openembedded-core mailing list