* [PATCH] nativesdk-qt4-tools: Add -no-pch to configure to fix build errors
@ 2015-01-21 16:29 Franklin S. Cooper Jr
2015-01-21 18:50 ` Denys Dmytriyenko
0 siblings, 1 reply; 3+ messages in thread
From: Franklin S. Cooper Jr @ 2015-01-21 16:29 UTC (permalink / raw)
To: meta-arago; +Cc: Franklin S. Cooper Jr
From: "Franklin S. Cooper Jr" <fcooper@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
* 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 <fcooper@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] nativesdk-qt4-tools: Add -no-pch to configure to fix build errors
2015-01-21 16:29 [PATCH] nativesdk-qt4-tools: Add -no-pch to configure to fix build errors Franklin S. Cooper Jr
@ 2015-01-21 18:50 ` Denys Dmytriyenko
2015-01-21 19:03 ` Cooper Jr., Franklin
0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2015-01-21 18:50 UTC (permalink / raw)
To: Franklin S. Cooper Jr; +Cc: meta-arago
On Wed, Jan 21, 2015 at 10:29:41AM -0600, Franklin S. Cooper Jr wrote:
> From: "Franklin S. Cooper Jr" <fcooper@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 <fcooper@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] nativesdk-qt4-tools: Add -no-pch to configure to fix build errors
2015-01-21 18:50 ` Denys Dmytriyenko
@ 2015-01-21 19:03 ` Cooper Jr., Franklin
0 siblings, 0 replies; 3+ messages in thread
From: Cooper Jr., Franklin @ 2015-01-21 19:03 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Wednesday, January 21, 2015 12:51 PM
> To: Cooper Jr., Franklin
> Cc: meta-arago@arago-project.org
> 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" <fcooper@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.
[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 <fcooper@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.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
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-21 19:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-21 16:29 [PATCH] nativesdk-qt4-tools: Add -no-pch to configure to fix build errors Franklin S. Cooper Jr
2015-01-21 18:50 ` Denys Dmytriyenko
2015-01-21 19:03 ` Cooper Jr., Franklin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.