Bug 1692

Summary: qt4-x11-free build failed for beagleboard with 20111023 build on autobuilder
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Yi Zhao <yi.zhao>
Component: meta-yoctoAssignee: Nitin Kamble <nitin.a.kamble>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: High CC: jiajun.xu, liang.li2, poky.bs.watcher, poky.watcher, richard.purdie, sgw, wenhuax.fan, yi.zhao
Version: unspecified   
Target Milestone: 1.2 M1   
Hardware: Beagleboard   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Yi Zhao 2011-10-24 19:13:19 UTC
Tree/Branch: stage/master_under_test:88d7de9aa239bbb47245afc13d3a3e9689e9ebfb


Details could be found on
http://autobuilder.pokylinux.org:8010/builders/nightly-arm/builds/140/steps/shell_28/logs/stdio

Part of error log is as below:
##############
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from text/qfont.h:46,
|                  from text/qfont.cpp:42:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
|                  from ../../include/QtCore/qobject.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qiodevice.h:46,
|                  from ../../include/QtCore/qiodevice.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qdatastream.h:46,
|                  from ../../include/QtCore/qdatastream.h:1,
|                  from ../../include/QtCore/../../src/corelib/tools/qpair.h:45,
|                  from ../../include/QtCore/qpair.h:1,
|                  from ../../include/QtCore/../../src/corelib/tools/qhash.h:49,
|                  from ../../include/QtCore/qhash.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qdebug.h:46,
|                  from ../../include/QtCore/qdebug.h:1,
|                  from text/qfontengine.cpp:42:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
|                  from ../../include/QtCore/qobject.h:1,
|                  from text/qtextobject.h:45,
|                  from text/qtextobject.cpp:42:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
|                  from ../../include/QtCore/qobject.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qiodevice.h:46,
|                  from ../../include/QtCore/qiodevice.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qdatastream.h:46,
|                  from ../../include/QtCore/qdatastream.h:1,
|                  from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:46,
|                  from ../../include/QtCore/qstringlist.h:1,
|                  from ../../include/QtGui/../../src/gui/painting/qcolor.h:47,
|                  from ../../include/QtGui/qcolor.h:1,
|                  from text/qtextformat.h:45,
|                  from text/qtextformat.cpp:42:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
|                  from ../../include/QtCore/qobject.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qiodevice.h:46,
|                  from ../../include/QtCore/qiodevice.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qdatastream.h:46,
|                  from ../../include/QtCore/qdatastream.h:1,
|                  from ../../include/QtCore/../../src/corelib/tools/qpair.h:45,
|                  from ../../include/QtCore/qpair.h:1,
|                  from ../../include/QtCore/../../src/corelib/tools/qhash.h:49,
|                  from ../../include/QtCore/qhash.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qdebug.h:46,
|                  from ../../include/QtCore/qdebug.h:1,
|                  from text/qfontsubset.cpp:41:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| painting/qpaintengine_x11.cpp: In member function 'void QX11PaintEnginePrivate::fillPolygon_dev(const QPointF*, int, QX11PaintEnginePrivate::GCMode, QPaintEngine::PolygonDrawMode)':
| painting/qpaintengine_x11.cpp:1614:15: warning: variable 'br' set but not used [-Wunused-but-set-variable]
| painting/qpaintengine_x11.cpp: In member function 'virtual void QX11PaintEngine::drawPath(const QPainterPath&)':
| painting/qpaintengine_x11.cpp:1774:16: warning: variable 'old_matrix' set but not used [-Wunused-but-set-variable]
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
|                  from ../../include/QtCore/qobject.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qiodevice.h:46,
|                  from ../../include/QtCore/qiodevice.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qdatastream.h:46,
|                  from ../../include/QtCore/qdatastream.h:1,
|                  from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:46,
|                  from ../../include/QtCore/qstringlist.h:1,
|                  from ../../include/QtGui/../../src/gui/painting/qcolor.h:47,
|                  from ../../include/QtGui/qcolor.h:1,
|                  from ../../include/QtGui/../../src/gui/image/qpixmap.h:46,
|                  from ../../include/QtGui/qpixmap.h:1,
|                  from ../../include/QtGui/private/../../../src/gui/image/qpixmapdata_p.h:56,
|                  from ../../include/QtGui/private/qpixmapdata_p.h:1,
|                  from ../../include/QtGui/private/../../../src/gui/image/qpixmap_x11_p.h:56,
|                  from ../../include/QtGui/private/qpixmap_x11_p.h:1,
|                  from painting/qpaintengine_x11.cpp:44:
| ../../include/QtCore/../../src/corelib/tools/qstring.h: At global scope:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
|                  from ../../include/QtCore/qobject.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qiodevice.h:46,
|                  from ../../include/QtCore/qiodevice.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qdatastream.h:46,
|                  from ../../include/QtCore/qdatastream.h:1,
|                  from ../../include/QtGui/../../src/gui/painting/qregion.h:50,
|                  from ../../include/QtGui/qregion.h:1,
|                  from ../../include/QtGui/../../src/gui/painting/qmatrix.h:46,
|                  from ../../include/QtGui/qmatrix.h:1,
|                  from ../../include/QtGui/../../src/gui/painting/qpainterpath.h:45,
|                  from ../../include/QtGui/qpainterpath.h:1,
|                  from painting/qpaintengine_raster.cpp:51:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from ../../include/QtCore/../../src/corelib/io/qdir.h:45,
|                  from ../../include/QtCore/qdir.h:1,
|                  from text/qfontdatabase.cpp:42:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| text/qtextlayout.cpp: In member function 'void QTextLayout::drawCursor(QPainter*, const QPointF&, int, int) const':
| text/qtextlayout.cpp:1346:12: warning: variable 'pos_x' set but not used [-Wunused-but-set-variable]
| text/qtextlayout.cpp:1347:12: warning: variable 'pos_y' set but not used [-Wunused-but-set-variable]
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from text/qtextlayout.h:44,
|                  from text/qtextlayout.cpp:42:
| ../../include/QtCore/../../src/corelib/tools/qstring.h: At global scope:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
|                  from ../../include/QtCore/qobject.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qiodevice.h:46,
|                  from ../../include/QtCore/qiodevice.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qdatastream.h:46,
|                  from ../../include/QtCore/qdatastream.h:1,
|                  from ../../include/QtCore/../../src/corelib/tools/qpair.h:45,
|                  from ../../include/QtCore/qpair.h:1,
|                  from ../../include/QtCore/../../src/corelib/tools/qhash.h:49,
|                  from ../../include/QtCore/qhash.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qdebug.h:46,
|                  from ../../include/QtCore/qdebug.h:1,
|                  from text/qtextengine.cpp:42:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from textERROR: Function 'do_compile' failed (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qt4-x11-free-4.7.4-r32.3/temp/log.do_compile.7303 for further information)
| /qtextcursor.h:45,
|                  from text/qtextcursor.cpp:42:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from text/qtextdocumentfragment.h:45,
|                  from text/qtextdocumentfragment.cpp:42:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
|                  from ../../include/QtCore/qobject.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qiodevice.h:46,
|                  from ../../include/QtCore/qiodevice.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qdatastream.h:46,
|                  from ../../include/QtCore/qdatastream.h:1,
|                  from ../../include/QtCore/../../src/corelib/tools/qpair.h:45,
|                  from ../../include/QtCore/qpair.h:1,
|                  from ../../include/QtCore/../../src/corelib/tools/qhash.h:49,
|                  from ../../include/QtCore/qhash.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qdebug.h:46,
|                  from ../../include/QtCore/qdebug.h:1,
|                  from text/qtextdocument_p.cpp:43:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
|                  from ../../include/QtCore/qobject.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qiodevice.h:46,
|                  from ../../include/QtCore/qiodevice.h:1,
|                  from ../../include/QtCore/../../src/corelib/io/qdatastream.h:46,
|                  from ../../include/QtCore/qdatastream.h:1,
|                  from ../../include/QtCore/../../src/corelib/tools/qpair.h:45,
|                  from ../../include/QtCore/qpair.h:1,
|                  from ../../include/QtGui/../../src/gui/painting/qbrush.h:45,
|                  from ../../include/QtGui/qbrush.h:1,
|                  from text/qtexthtmlparser_p.h:57,
|                  from text/qtexthtmlparser.cpp:42:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| In file included from ../../include/QtCore/qstring.h:1:0,
|                  from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
|                  from ../../include/QtCore/qobject.h:1,
|                  from text/qtextdocument.h:45,
|                  from text/qtextdocument.cpp:42:
| ../../include/QtCore/../../src/corelib/tools/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
| make[1]: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qt4-x11-free-4.7.4-r32.3/qt-everywhere-opensource-src-4.7.4/src/gui'
| make: *** [sub-gui-make_default-ordered] Error 2
| ERROR: oe_runmake failed

######################
Comment 1 Saul Wold 2011-11-01 09:23:38 UTC
This is due to the new compiler, I am awaiting patches to fix this
Comment 2 Richard Purdie 2011-11-24 10:52:05 UTC
Since http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7022a8f8045bdf82b9209b8cd62fb09c4a7a24f8 was applied, this has been building fine on the autobuilder.
Comment 3 Yi Zhao 2011-12-12 23:24:29 UTC
Verified it with 1.2 M1 RC 20111207 build.

Tree/branch: poky/1.2_M1
Commit: b9d3a5224c7f76f273d5919a88b7460d35ad2574