<?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>1856</bug_id>
          
          <creation_ts>2011-12-21 02:59:16 +0000</creation_ts>
          <short_desc>Architecture is sometimes incorrect for qt4 tools</short_desc>
          <delta_ts>2012-01-04 06:16:43 +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>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Fix merged to master (4 Jan)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2 M2</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>
          
          
          <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>17780</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-12-21 02:59:16 +0000</bug_when>
    <thetext>Some users see the following QA errors when building qt4:
&gt; | ERROR: QA Issue: Architecture did not match (40 to 3) on /work/armv5te-angstrom-linux-gnueabi/qt4-embedded-4.7.4-r39.5/packages-split/qt4-embedded-tools/usr/bin/rcc
&gt; | ERROR: QA Issue: Architecture did not match (40 to 3) on /work/armv5te-angstrom-linux-gnueabi/qt4-embedded-4.7.4-r39.5/packages-split/qt4-embedded-tools/usr/bin/moc
&gt; | ERROR: QA Issue: Architecture did not match (40 to 3) on /work/armv5te-angstrom-linux-gnueabi/qt4-embedded-4.7.4-r39.5/packages-split/qt4-embedded-tools/usr/bin/uic

We originally fixed this problem by simply deleting these executables [1] on the assumption that they were always meant to be host executables. However, after a patch submission [2] and some testing with various architectures the executables were found to have the correct architecture, so the patch was effectively reverted. Now we have a report [3] of the problem returning.

We need to figure out the correct solution to this (and not just revert the patch.) The first thing to do is to figure out how to reproduce it, because at the moment I can&apos;t.

[1] http://cgit.openembedded.org/openembedded-core/commit/?id=69eeb3d2276e5b10d084b47d308ecfc8daf8b467
[2] http://patches.openembedded.org/patch/16397/
[3] http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/014779.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17825</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-12-22 09:42:16 +0000</bug_when>
    <thetext>I have a fix for this but am waiting for Eric Bénard (or someone else who experienced this issue) to verify that it fixes the problem. The patch can be found in this OE-core contrib branch:

http://cgit.openembedded.org/openembedded-core-contrib/log/?h=paule/qt4-arch-fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17950</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-01-04 06:16:43 +0000</bug_when>
    <thetext>Fix merged to master in revision 99a6e1a3a453c17575439723599da6bef62175bb.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>