<?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>1810</bug_id>
          
          <creation_ts>2011-12-07 06:32:43 +0000</creation_ts>
          <short_desc>Qt3 build attempts to use files from Qt4 and fails</short_desc>
          <delta_ts>2011-12-15 23:17:20 +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>Other</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Fix posted for review (8 Dec)</status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>17513</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-12-07 06:32:43 +0000</bug_when>
    <thetext>Configuration on the autobuilder has been changed recently so that builds are done in a different order. From the logs at least it appears that the Qt3 build is attempting to use Qt3Support headers from Qt4, which it should not be doing:

http://autobuilder.yoctoproject.org:8010/builders/nightly-arm/builds/206/steps/shell_67/logs/stdio

in particular:
---------------------------------------------------------
| ccache arm-poky-linux-gnueabi-g++  -march=armv5te  -mno-thumb -mthumb-interwork  -mtune=arm926ej-s --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/qemuarm -c -pipe -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/qemuarm/usr/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/qemuarm/usr/include/freetype2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/qemuarm/usr/include/mysql -fPIC -Wall -W -O2 -D_REENTRANT  -DDESIGNER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/x86_64-linux/usr/share/qmake/linux-gnueabi-oe-g++ -I. -I../shared -I../uilib -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/qemuarm/usr/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/qemuarm/usr/include/freetype2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/qemuarm/usr/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/qemuarm/usr/include/freetype2 -I../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o ./listvieweditorimpl.o listvieweditorimpl.cpp
| In file included from actioneditorimpl.h:30:0,
|                  from command.cpp:35:
| actioneditor.h:8:27: fatal error: QtCore/QVariant: No such file or directory
| compilation terminated.
| make[2]: *** [command.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| In file included from listboxeditorimpl.h:33:0,
|                  from listboxeditorimpl.cpp:27:
| listboxeditor.h:7:42: fatal error: Qt3Support/Q3MimeSourceFactory: No such file or directory
| compilation terminated.
| In file included from newformimpl.h:30:0,
|                  from newformimpl.cpp:27:
| newform.h:7:42: fatal error: Qt3Support/Q3MimeSourceFactory: No such file or directory
| compilation terminated.
---------------------------------------------------------

It should be possible to build these independently in any order as long as include and library paths are correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17525</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-12-08 08:44:09 +0000</bug_when>
    <thetext>I&apos;ve reproduced this locally - you have to do the following:

1. bitbake qt-x11-free-native
2. bitbake qt4-native
3. bitbake qt-x11-free

The issue is conflicting moc/uic executables in the sysroot between Qt3 and Qt4, so that incorrect includes get added to the source files that these tools create. uic*/moc need to be moved/renamed so that they can coexist and yet apps can still find the right one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17526</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-12-08 11:58:09 +0000</bug_when>
    <thetext>Have posted a fix for this to the yocto mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17538</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-12-09 08:36:28 +0000</bug_when>
    <thetext>Fix has been merged into meta-qt3 (commit id 016ed1af2a0986cd90bdd073091537d954588813).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17695</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-12-15 23:17:20 +0000</bug_when>
    <thetext>Verified with 1.2 M1 RC2 20111213 build. 

Tree/Branch: poky/1.2_M1
Poky Commit: b806f726b1db2cb605869c1022ef727c1110255b

meta-qt3 commit: 0c3153242344e5113a50002939d36a2b739cc497</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>