Bug 811

Summary: fotowall-0.9-r1: task do_compile: Failed
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Dexuan Cui <dexuan.cui>
Component: graphicsAssignee: Wenzong.Fan <wenzong.fan>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: Medium CC: ke.yu, liang.li2, liangliang.wang, meta.mr.watcher, meta.watcher, sgw, yi.zhao
Version: 1.0   
Target Milestone: 1.1 M4   
Hardware: All   
OS: ppc   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Dexuan Cui 2011-03-06 06:18:58 UTC
The issue only happens on ppc.
Please see http://autobuilder.yoctoproject.org:8010/builders/nightly-external/builds/71/steps/shell_20/logs/stdio

...
| In file included from App/ExportWizard.cpp:25:0:
| 3rdparty/posterazor/wizard.h:31:1: error: expected class-name before '{' token
| powerpc-poky-linux-g++ -mcpu=603e  -mhard-float --sysroot=/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc -c -pipe -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -DNO_WORDCLOUD_APPLIANCE -DHAS_VIDEOCAPTURE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../sysroots/qemuppc/usr/share/qt4/mkspecs/linux-g++ -I. -I/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc/usr/include/qt4/QtCore -I/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc/usr/include/qt4/QtNetwork -I/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc/usr/include/qt4/QtGui -I/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc/usr/include/qt4/QtXml -I/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc/usr/include/qt4/QtSvg -I/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc/usr/include/qt4 -I. -I3rdparty/posterazor -I.build -I.build -o .build/Workflow.o App/Workflow.cpp
| powerpc-poky-linux-g++ -mcpu=603e  -mhard-float --sysroot=/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc -c -pipe -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -fpermissive -fvisibility-inliERROR: Function 'do_compile' failed (see /srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/ppc603e-poky-linux/fotowall-0.9-r1/temp/log.do_compile.2445 for further information)
| nes-hidden -Wall -W -D_REENTRANT -DNO_WORDCLOUD_APPLIANCE -DHAS_VIDEOCAPTURE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../sysroots/qemuppc/usr/share/qt4/mkspecs/linux-g++ -I. -I/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc/usr/include/qt4/QtCore -I/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc/usr/include/qt4/QtNetwork -I/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc/usr/include/qt4/QtGui -I/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc/usr/include/qt4/QtXml -I/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc/usr/include/qt4/QtSvg -I/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuppc/usr/include/qt4 -I. -I3rdparty/posterazor -I.build -I.build -o .build/AbstractConfig.o Canvas/AbstractConfig.cpp
| make: *** [.build/ExportWizard.o] Error 1
| make: *** Waiting for unfinished jobs....
Comment 1 Saul Wold 2011-03-06 09:07:40 UTC
Not sure when this changed, but fotowall was not part of 0.9 and I thought we had it commented out for 1.0 also. It was building, so maybe a missing dependency.
Comment 2 Ke Yu 2011-03-06 19:07:57 UTC
(In reply to comment #1)
> Not sure when this changed, but fotowall was not part of 0.9 and I thought we
> had it commented out for 1.0 also. It was building, so maybe a missing
> dependency.

in meta/recipes-qt/tasks/task-poky-qt.bb, fotowall is not disabled yet:
QTDEMOS ?= "quicky ${COMMERCIAL_QT} fotowall"
#QTDEMOS_disabled = "fotowall"

probably we should disable it for 1.0
Comment 3 Ke Yu 2011-03-08 03:15:11 UTC
I can not reproduce this issue with master tree. the commit i used is 9ebf8f9d.

As the log shows the bug occurs with METADATA_BRANCH   = "distro/bernard" and METADATA_REVISION = "c192fefd868be53c20dfd8bc44e3e815cf53a10a", I will try this then.
Comment 4 Ke Yu 2011-03-08 15:13:29 UTC
another update: I can not reproduce this issue too with distro/bernard branch
Comment 5 Wenzong.Fan 2011-07-24 19:17:33 UTC
Update: I can't reproduce this issue too on master and the commit is: 

e803c58ffb05e6d1f5938f1bfe6dfca9e3c26e02

The original logs is unavailable now.
Comment 6 Wenzong.Fan 2011-08-12 01:47:32 UTC
Can't be reproduced on master branch
Comment 7 Yi Zhao 2011-08-19 02:23:40 UTC
Can't be reproduced on latest master branch: 978cdd5cb5b445f1cf406296444cb57cd8aa526a