On Wed, Jan 21, 2015 at 10:29:41AM -0600, Franklin S. Cooper Jr wrote:
> From: "Franklin S. Cooper Jr" <fcoo...@ti.com>
> 
> * Nativesdk-qt4-tools has been failing with many errors similar to the ones
>   below :
> 
>   <long path>/stdc-predef.h:59:1: error: use -Winvalid-pch for more 
> information
>   <long path>/stdc-predef.h:59:1: fatal error:
>                 .pch/release-static-emb-auto/QtCore: No such file or directory

I've seen this issue intermittently, but it usually goes away on a consecutive 
clean build. Do you see the same issue with target Qt build as well, or only 
with nativesdk-tools?


> * Based on http://qt-project.org/forums/viewthread/26781 and looking at the
>   main Qt 4 recipe this error can be fixed by disabling pch by passing -no-pch
>   to configure.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcoo...@ti.com>
> ---
>  .../qt4/nativesdk-qt4-tools_4.8.5.bbappend         |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git 
> a/meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.5.bbappend 
> b/meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.5.bbappend
> index 6296fbe..8391cdd 100644
> --- a/meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.5.bbappend
> +++ b/meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.5.bbappend
> @@ -1,7 +1,9 @@
> -PR_append = "-arago2"
> +PR_append = "-arago3"
>  
>  # Qt/E from Nokia is dual-licensed (LGPLv2.1 or GPLv3)
>  # For our distribution purposes we only use LGPLv2.1
>  LICENSE = "LGPLv2.1"
>  
>  DEPENDS := "${@oe_filter_out('nativesdk-libx11', '${DEPENDS}', d)}"
> +
> +EXTRA_OECONF += " -no-pch"
> -- 
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to