[OE-core] [PATCH] sanity: removed broken compiler check

Christopher Larson clarson at kergoth.com
Tue Nov 22 03:22:32 UTC 2016


On Wed, Nov 16, 2016 at 4:39 AM, Enrico Scholz <
enrico.scholz at sigma-chemnitz.de> wrote:

> From: Enrico Scholz <enrico.scholz at ensc.de>
>
> The compiler check is broken because it checks for the existance of
> ${CC} as a file.  This fails with ccache with
>
> |    Please install the following missing utilities: C Compiler (ccache
> gcc ),C++ Compiler (ccache g++ )
>
> Remove this check for now.
>
> Signed-off-by: Enrico Scholz <enrico.scholz at ensc.de>
> ---
>  meta/classes/sanity.bbclass | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
> index 7388da6..46f54df 100644
> --- a/meta/classes/sanity.bbclass
> +++ b/meta/classes/sanity.bbclass
> @@ -669,12 +669,6 @@ def check_sanity_version_change(status, d):
>      if not check_app_exists("${MAKE}", d):
>          missing = missing + "GNU make,"
>
> -    if not check_app_exists('${BUILD_CC}', d):
> -        missing = missing + "C Compiler (%s)," % d.getVar("BUILD_CC",
> True)
> -
> -    if not check_app_exists('${BUILD_CXX}', d):
> -        missing = missing + "C++ Compiler (%s)," % d.getVar("BUILD_CXX",
> True)
> -
>

Is there a reason check_app_exists() wasn’t fixed to handle symlinks
instead?
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161121/9219356d/attachment-0002.html>


More information about the Openembedded-core mailing list