> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Wednesday, January 21, 2015 12:51 PM
> To: Cooper Jr., Franklin
> Cc: [email protected]
> Subject: Re: [meta-arago] [PATCH] nativesdk-qt4-tools: Add -no-pch to
> configure to fix build errors
>
> On Wed, Jan 21, 2015 at 10:29:41AM -0600, Franklin S. Cooper Jr wrote:
> > From: "Franklin S. Cooper Jr" <[email protected]>
> >
> > * 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.
[Franklin] Usually that was the case but lately even consecutive builds didn't
resolve the issue.
Do you see the same issue with target Qt build as well, or only
> with nativesdk-tools?
[Franklin] Only nativesdk-tools. The qt4-embedded recipe already includes this
option.
>
>
> > * 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 <[email protected]>
> > ---
> > .../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.bbapp
> > +++ end
> > @@ -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
> > [email protected]
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago