All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: "Franklin S. Cooper Jr" <fcooper@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH] nativesdk-qt4-tools: Add -no-pch to configure to fix build errors
Date: Wed, 21 Jan 2015 13:50:45 -0500	[thread overview]
Message-ID: <20150121185044.GC21328@edge> (raw)
In-Reply-To: <1421857781-32763-1-git-send-email-fcooper@ti.com>

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


  reply	other threads:[~2015-01-21 18:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2015-01-21 19:03   ` Cooper Jr., Franklin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150121185044.GC21328@edge \
    --to=denys@ti.com \
    --cc=fcooper@ti.com \
    --cc=meta-arago@arago-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.