Bug 5462

Summary: meta-toolchain-qte fails - one or more PCH files found, but they were invalid
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Florian <florian.2.ludwig>
Component: devtools / tool chainAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: Medium CC: florian.2.ludwig, meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, sgw
Version: 1.5   
Target Milestone: 1.5.1   
Hardware: x86   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
Full output on building meta-toolchain-qte none

Description Florian 2013-11-05 09:03:09 UTC
Created attachment 1605 [details]
Full output on building meta-toolchain-qte

I tried to build the meta-toolchain-qte (Qt Embedded) on the dora branch. I want to use it for compiling qte apps with directfb instead of X11 for the i.MX6q

The following error occurs on building (host: Ubuntu 12.04):

| In file included from <command-line>:0:0:
| /home/udcu/fsl-community-bsp/build/tmp/sysroots/i686-nativesdk-pokysdk-linux/opt/poky/1.5/sysroots/i686-pokysdk-linux/usr/include/stdc-predef.h:39:1: error: one or more PCH files were found, but they were invalid
|  #endif
|  ^

Full log attached!
Comment 1 Florian 2013-11-07 15:55:18 UTC
I found the problem: after removing the whole build/tmp directory everything compiled without problems.

I think the problem came from compiling the meta-toolchain-qt and direct afterwards the meta-toolchain-qte... maybe then some stuff isn't compatible.

Maybe this hint helps to get a workaround for this problem?
Comment 2 Laurentiu Palcu 2013-11-12 10:01:49 UTC
Hi Florian,

I tried to reproduce your issue but I couldn't. I used the dora branch and did two successive meta-toolchain-qt and meta-toolchain-qte builds for qemuarm. Build finished successfully. I'm closing this... If you succeed to reproduce it again, reopen it and fill in some clear steps to reproduce it myself.