<?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>4775</bug_id>
          
          <creation_ts>2013-06-25 08:27:35 +0000</creation_ts>
          <short_desc>qt4-embedded failed to compile with build on autobuilder</short_desc>
          <delta_ts>2013-10-15 08:14:44 +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>core</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.5 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cristiana Voicu">cristiana.voicu</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <cc>bluelightning</cc>
    
    <cc>hongxu.jia</cc>
    
    <cc>kai.kang</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ning.zhang</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>sen.zhang</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34110</commentid>
    <comment_count>0</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2013-06-25 08:27:35 +0000</bug_when>
    <thetext>Autobuilder detected on autobuilder:

undefined reference to `QWidget::qwsEvent(QWSEvent*)&apos;
ERROR: Function failed: do_compile (log file is located at /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/qt4-embedded/4.8.4-r52.4/temp/log.do_compile.7280)
NOTE: recipe qt4-embedded-4.8.4-r52.4: task do_compile: Failed

More information: 
http://autobuilder.yoctoproject.org:8011/builders/nightly-world/builds/177/steps/Building%20Images/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34159</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-06-26 12:00:17 +0000</bug_when>
    <thetext>Hi Cristiana,

I could not reproduce the bug on my distro, would
you please append the log.do_configure of qt4-embedded.

Thanks,
Hongxu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34160</commentid>
    <comment_count>2</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2013-06-26 12:07:19 +0000</bug_when>
    <thetext>Hi Hongxu,

You can find the log file listed in the link: 
http://autobuilder.yoctoproject.org:8011/builders/nightly-world/builds/177/steps/Building%20Images/logs/stdio
The log begins after the line &quot;Log data follows:&quot;

Thanks,
Cristiana



(In reply to comment #1)
&gt; Hi Cristiana,
&gt; 
&gt; I could not reproduce the bug on my distro, would
&gt; you please append the log.do_configure of qt4-embedded.
&gt; 
&gt; Thanks,
&gt; Hongxu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34161</commentid>
    <comment_count>3</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-06-26 12:45:23 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Hi Hongxu,
&gt; 
&gt; You can find the log file listed in the link: 
&gt; http://autobuilder.yoctoproject.org:8011/builders/nightly-world/builds/177/
&gt; steps/Building%20Images/logs/stdio
&gt; The log begins after the line &quot;Log data follows:&quot;
&gt; 

Hi Cristiana,

It&apos;s about the log of do_compile, not do_configure.
And would you please append your local.conf also, it
seems multilib is enable.

Thanks,
Hongxu


&gt; Thanks,
&gt; Cristiana
&gt; 
&gt; 
&gt; 
&gt; (In reply to comment #1)
&gt; &gt; Hi Cristiana,
&gt; &gt; 
&gt; &gt; I could not reproduce the bug on my distro, would
&gt; &gt; you please append the log.do_configure of qt4-embedded.
&gt; &gt; 
&gt; &gt; Thanks,
&gt; &gt; Hongxu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34162</commentid>
    <comment_count>4</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2013-06-26 12:58:37 +0000</bug_when>
    <thetext>Hi,

Aa sorry. I don&apos;t have access to the other files on autobuilder to obtain the other log file or local.conf.

Saul can you please provide this information?

Thanks,
Cristiana

(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; Hi Hongxu,
&gt; &gt; 
&gt; &gt; You can find the log file listed in the link: 
&gt; &gt; http://autobuilder.yoctoproject.org:8011/builders/nightly-world/builds/177/
&gt; &gt; steps/Building%20Images/logs/stdio
&gt; &gt; The log begins after the line &quot;Log data follows:&quot;
&gt; &gt; 
&gt; 
&gt; Hi Cristiana,
&gt; 
&gt; It&apos;s about the log of do_compile, not do_configure.
&gt; And would you please append your local.conf also, it
&gt; seems multilib is enable.
&gt; 
&gt; Thanks,
&gt; Hongxu
&gt; 
&gt; 
&gt; &gt; Thanks,
&gt; &gt; Cristiana
&gt; &gt; 
&gt; &gt; 
&gt; &gt; 
&gt; &gt; (In reply to comment #1)
&gt; &gt; &gt; Hi Cristiana,
&gt; &gt; &gt; 
&gt; &gt; &gt; I could not reproduce the bug on my distro, would
&gt; &gt; &gt; you please append the log.do_configure of qt4-embedded.
&gt; &gt; &gt; 
&gt; &gt; &gt; Thanks,
&gt; &gt; &gt; Hongxu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34173</commentid>
    <comment_count>5</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-06-27 10:11:00 +0000</bug_when>
    <thetext>I could reproduce the bug on my distro:
STEPS:
1, bitbake qt4-x11-free
2, bitbake qt4-embedded</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34236</commentid>
    <comment_count>6</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-06-29 03:25:21 +0000</bug_when>
    <thetext>One of the related patch has been sent to oe-core by Jonathan:

The class is inheriting qmake2.bbclass which exports OE_QMAKE_QT_CONFIG
pointing to the qt4 qconfig.pri when it should be pointing to the
qt4-embedded qconfig.pri.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34238</commentid>
    <comment_count>7</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-06-29 03:54:45 +0000</bug_when>
    <thetext>There is another issue that building qt-mobility-embedded failed from
a clean environment:
...
qgstreamervideooverlay.cpp:51:1: error: &apos;QGstreamerVideoOverlay&apos; 
does not name a type
qgstreamervideooverlay.cpp:67:1: error: &apos;QGstreamerVideoOverlay&apos; 
does not name a type
qgstreamervideooverlay.cpp:75:5: error: &apos;QGstreamerVideoOverlay&apos; 
has not been declared
...

The reason is:
QMake pro files don&apos;t explicitly define QT_NO_XVIDEO if the
configuration lacks xvideo, but plugins code (qgstreamervide
ooverlay.cpp) relies on this define.

The solution is:
diff --git a/plugins/multimedia/gstreamer/gstreamer.pro b/plugins/multimedia/gstreamer/gstreamer.pro
--- a/plugins/multimedia/gstreamer/gstreamer.pro
+++ b/plugins/multimedia/gstreamer/gstreamer.pro
@@ -19,6 +19,10 @@ LIBS += \
     -lasound
 }
 
+unix:!contains(QT_CONFIG, xvideo) {
+    DEFINES += QT_NO_XVIDEO
+}
+
 CONFIG += link_pkgconfig</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34372</commentid>
    <comment_count>8</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-07-08 04:39:09 +0000</bug_when>
    <thetext>Merged into master
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4770cff7b90a50643973ec31ff536bc2950f77e4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37920</commentid>
    <comment_count>9</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-10-15 08:14:44 +0000</bug_when>
    <thetext>Verified on master branch.
Commit ID: faf8f8660fae26a14578738b642fdeb08bcb9d54</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>