<?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>1690</bug_id>
          
          <creation_ts>2011-10-21 08:53:31 +0000</creation_ts>
          <short_desc>Building an image for qemu* machines always builds X11</short_desc>
          <delta_ts>2012-09-05 15:00:21 +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>RESOLVED</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.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>jessica.zhang</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>16948</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-10-21 08:53:31 +0000</bug_when>
    <thetext>Because building an image for a qemu machine requires qemu-config, and qemu-config requires dbus-x11, distcc (which for some reason needs gtk+) and oprofileui-server (requiring a build of oprofileui), it requires X11 to be built. If you have removed x11 from DISTRO_FEATURES then this will fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17107</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-11-04 08:20:10 +0000</bug_when>
    <thetext>I have a fix for the oprofileui-server X11 dependency; however it requires a patch to oprofileui itself (specifically its configure script). I&apos;ve submitted that &quot;upstream&quot; and will wait until it gets merged, and will then submit the corresponding metadata patch.

The other half of this problem is due to anjuta-remote-run requiring dbus. Since we no longer support anjuta should this just be removed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17354</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-11-23 09:18:10 +0000</bug_when>
    <thetext>The oprofileui upstream fix has been merged, but the proposed fix for the metadata received some negative feedback. After discussion with a few people I&apos;m going to rework qemu-config into a task which is a little more generic and tidy that does not always install distcc; this will mean splitting out its components into separate recipes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17936</commentid>
    <comment_count>3</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-01-03 10:42:57 +0000</bug_when>
    <thetext>Paul, thought saw some patches from you regarding these? are they finalized yet? if so, please update the bug accordingly. thx</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17941</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-01-03 14:42:04 +0000</bug_when>
    <thetext>I produced a new set of patches for this but they are not yet finished.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18921</commentid>
    <comment_count>5</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-03-08 20:32:02 +0000</bug_when>
    <thetext>Paul, is this bug fixed by now? please update the status if there&apos;s change</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19437</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-03-23 18:02:58 +0000</bug_when>
    <thetext>So it&apos;s worth noting at this point that the underlying problem of not being able to build for a qemu machine has since been fixed by Xiaofeng Yan in commit 8de191d64aa7fa3a6c3e3fde2acca5949f36c95e. We still build a bunch of things that demand x11 for qemu machines when x11 *is* in DISTRO_FEATURES though, even if we&apos;re building a minimal images. I&apos;m convinced we can still improve here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19452</commentid>
    <comment_count>7</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-03-24 15:49:57 +0000</bug_when>
    <thetext>Moving to 1.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24062</commentid>
    <comment_count>8</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-08-15 12:44:18 +0000</bug_when>
    <thetext>Noted here because it hasn&apos;t been already - the workaround for this is to force POKYQEMUDEPS to &quot;&quot; (you may need to use an override such as forcevariable). This issue is specific to Poky and does not affect OE-Core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24217</commentid>
    <comment_count>9</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-08-20 10:39:41 +0000</bug_when>
    <thetext>New RFC patch sent to the OE-Core list:

http://lists.linuxtogo.org/pipermail/openembedded-core/2012-August/028236.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24840</commentid>
    <comment_count>10</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-09-05 15:00:21 +0000</bug_when>
    <thetext>This has finally been fixed and merged to poky master in the following revisions:

f6ae5d8b04f126e4de89b9d98b1bc115bc543869
80908c9f83660c10e39bd5ffb48bb6e417d14006
125650776991e40168dcab1dca372cc3ebe1d490
c2e68c6fb9be169f274453412565cb6376770b2b
54b8e84356b513b0fa6e5bcdfed75000ff8e0575
c8d739488574e422751f8d0f6052cdc0ef1429de
cbd1d867524dd86bb1b6922b5694e960db263e06

Note, despite earlier comments, before these changes it was still the case that the system would start to build components such as GTK+ on a system without x11 in DISTRO_FEATURES, that is now fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>