<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3457</bug_id>
          
          <creation_ts>2012-11-16 18:29:44 +0000</creation_ts>
          <short_desc>qt4-x11 build failure</short_desc>
          <delta_ts>2012-11-27 03:11:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jessica">jessica.zhang</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27527</commentid>
    <comment_count>0</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-11-16 18:29:44 +0000</bug_when>
    <thetext>The nightly build failed with the following errors.  Seems is caused by glib upgrade.
========================================================= 
Build Reason: Triggerable(nightly-x86) 
Build Source Stamp: [branch master] 9e0d3c0faa9cc80ce8f2ce0eb31dcd20ef875955 
 
| i586-poky-linux-g++ -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86 -c -O2 -pipe -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -Werror -Wno-c++0x-compat -fno-stack-protector -Wno-c++0x-compat -O3 -pthread -fPIC -fPIC -fPIC -D_REENTRANT -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_GLIB_SUPPORT=1 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I../../../../../mkspecs/linux-g++ -I. -I../../../../../include/QtCore -I../../../../../include -I. -I../../Source -I../ThirdParty -Iassembler -Ibytecode -Ibytecompiler -Iheap -Idfg -Idebugger -Iinterpreter -Ijit -Iparser -Iprofiler -Iruntime -Iwtf -Iwtf/gobject -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/qt4-x11-free-4.8.1-r48.1/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -Iwtf/unicode -Iyarr -IAPI -IForwardingHeaders -Igenerated -I../../Source -I../../include -I/include/QtWebKit -I/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I.moc/release-static -o .obj/release-static/PageAllocationAligned.o wtf/PageAllocationAligned.cpp
| i586-poky-linux-g++ -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86 -c -O2 -pipe -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -Werror -Wno-c++0x-compat -fno-stack-protector -Wno-c++0x-compat -O3 -pthread -fPIC -fPIC -fPIC -D_REENTRANT -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_GLIB_SUPPORT=1 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I../../../../../mkspecs/linux-g++ -I. -I../../../../../include/QtCore -I../../../../../include -I. -I../../Source -I../ThirdParty -Iassembler -Ibytecode -Ibytecompiler -Iheap -Idfg -Idebugger -Iinterpreter -Ijit -Iparser -Iprofiler -Iruntime -Iwtf -Iwtf/gobject -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/qt4-x11-free-4.8.1-r48.1/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -Iwtf/unicode -Iyarr -IAPI -IForwardingHeaders -Igenerated -I../../Source -I../../include -I/include/QtWebKit -I/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I.moc/release-static -o .obj/release-static/PageBlock.o wtf/PageBlock.cpp
| wtf/gobject/GOwnPtr.cpp: In function &apos;void WTF::freeOwnedGPtr(T*) [with T = _GCond]&apos;:
| wtf/gobject/GOwnPtr.cpp:43:9: error: &apos;void g_cond_free(GCond*)&apos; is deprecated (declared at /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0/glib/deprecated/gthread.h:277) [-Werror=deprecated-declarations]
| wtf/gobject/GOwnPtr.cpp:43:24: error: &apos;void g_cond_free(GCond*)&apos; is deprecated (declared at /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0/glib/deprecated/gthread.h:277) [-Werror=deprecated-declarations]
| wtf/gobject/GOwnPtr.cpp: In function &apos;void WTF::freeOwnedGPtr(T*) [with T = _GMutex]&apos;:
| wtf/gobject/GOwnPtr.cpp:49:9: error: &apos;void g_mutex_free(GMutex*)&apos; is deprecated (declared at /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0/glib/deprecated/gthread.h:273) [-Werror=deprecated-declarations]
| wtf/gobject/GOwnPtr.cpp:49:25: error: &apos;void g_mutex_free(GMutex*)&apos; is deprecated (declared at /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0/glib/deprecated/gthread.h:273) [-Werror=deprecated-declarations]
| cc1plus: all warnings being treated as errors
| make[2]: *** [.obj/release-static/GOwnPtr.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/qt4-x11-free-4.8.1-r48.1/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/JavaScriptCore&apos;
| make[1]: *** [sub-JavaScriptCore-JavaScriptCore-pro-make_default-ordered] Error 2
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/qt4-x11-free-4.8.1-r48.1/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source&apos;
| make: *** [sub-webkit-make_default-ordered] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/qt4-x11-free-4.8.1-r48.1/temp/log.do_compile.17837 for further information)
ERROR: Task 4111 (/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/meta/recipes-qt/qt4/qt4-x11-free_4.8.1.bb, do_compile) failed with exit code &apos;1&apos;
Summary: There was 1 ERROR message shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27550</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-11-19 14:24:38 +0000</bug_when>
    <thetext>I&apos;ve got a patch for 4.8.1, but it turns out 4.8.3 doesn&apos;t have the problem.

I&apos;ve just sent a patch series to drop 4.8.1 and make 4.8.3 the default.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27578</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-11-20 15:42:28 +0000</bug_when>
    <thetext>Merged to master, poky 1f71583dacaf2abde4930815b3415c3af104f514.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27712</commentid>
    <comment_count>3</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-11-27 03:11:14 +0000</bug_when>
    <thetext>build a qemux86 sato-sdk image, there is no such error when build.then check log from dir &quot;tmp/log/cooker/qemux86&quot;,logs below:
...
NOTE: Running task 6122 of 6149 (ID: 3405, /buildarea/poky.ubuntu.new/meta/recipes-qt/qt4/qt4-x11-free_4.8.3.bb, do_compile)
NOTE: recipe qt4-x11-free-4.8.3-r48.0: task do_compile: Succeeded
NOTE: Running task 6123 of 6149 (ID: 3400, /buildarea/poky.ubuntu.new/meta/recipes-qt/qt4/qt4-x11-free_4.8.3.bb, do_install)
NOTE: recipe qt4-x11-free-4.8.3-r48.0: task do_install: Succeeded
...

git commit: 9be83df144a1675c8e7c9f0962e7e9e61ff767fd
git branch: poky/master
test env: 
hosts: ubuntu 12.04 x86_64</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>