<?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>5766</bug_id>
          
          <creation_ts>2014-01-29 14:02:09 +0000</creation_ts>
          <short_desc>Eclipse must warn if Xterm is not installed</short_desc>
          <delta_ts>2014-08-27 14:58:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>1.6</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>02 June 2014: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.7 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ada Solcan">ada-mihaela.solcan</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>andrax.g.necula</cc>
    
    <cc>ioanax.grigoropol</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>srifenbark</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Andra Necula">andrax.g.necula</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40076</commentid>
    <comment_count>0</comment_count>
    <who name="Ada Solcan">ada-mihaela.solcan</who>
    <bug_when>2014-01-29 14:02:09 +0000</bug_when>
    <thetext>HOST: Fedora 20
poky: 1a9226f140f578f11696abf1a3c989fae1d4c14a
eclipse-poky-juno: 26bfc407781aa185f244a47ba63120343cee4a37

STEPS TO REPRODUCE:
1. Install Eclipse using a haeadless build 
2. Create a new BitBake Commander Project
3. Select the project, and in Eclipse toolbar select: Project -&gt; Lauch HOB.
4. Select any Bitbake build directory which has compiled pseudo-native.  

EXPECTED RESULT:
HOB launches successfully.

ACTUAL RESULT:
HOB doesn&apos;t launch and an error is displayed in the console from which eclipse had been launched: The file does not exist for the external tool named hob.


The bug doesn&apos;t reproduce on Ubuntu 13.10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40085</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2014-01-29 18:22:56 +0000</bug_when>
    <thetext>*** Bug 5767 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40088</commentid>
    <comment_count>2</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2014-01-29 20:21:31 +0000</bug_when>
    <thetext>Can u check is it related to 5707?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40100</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-01-30 13:38:00 +0000</bug_when>
    <thetext>I couldn&apos;t reproduce on my Fedora 20. I will investigate further on Ada&apos;s machine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40175</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-02-04 12:00:21 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Can u check is it related to 5707?

In Ada&apos;s machine, sh is a symlink to bash (Fedora20)

[ada@localhost build]$ ls -la /bin/sh
lrwxrwxrwx. 1 root root 9 Jan 20 10:51 /bin/sh -&gt; /bin/bash</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40493</commentid>
    <comment_count>5</comment_count>
    <who name="Ada Solcan">ada-mihaela.solcan</who>
    <bug_when>2014-02-20 13:09:09 +0000</bug_when>
    <thetext>*** Bug 5736 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40506</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-02-20 15:51:23 +0000</bug_when>
    <thetext>Changed this to Low - Enhancement.

Xterm wasn&apos;t installed on the host machine which the error happened, and the error message was misleading:

&quot;The file does not exist for the external tool named hob&quot;

There must be an error message informing the user that Xterm isn&apos;t installed on his host machine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41471</commentid>
    <comment_count>7</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2014-03-20 00:35:16 +0000</bug_when>
    <thetext>Hi Scott,

Can you add a doc note saying that eclipse plug-in requires xterm to be installed?

Thanks,
Jessica</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41686</commentid>
    <comment_count>8</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-03-25 12:48:07 +0000</bug_when>
    <thetext>Hi,

I need some more information on this bug.  Right now we require the Xterm package to be installed on a Fedora host as a &quot;Graphical Package&quot;. (see http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#fedora-packages).

Is the reason for HOB not launching a graphical issue?  If so, it would seem that a documentation note for Hob would want to say that you need to have the host packages that support Graphics installed on your system in order to run Hob under Eclipse.  

What I am wondering is what is the root issue here.  Is there anyway to find out? Also, is this just limited to Fedora?  Because we include Xterm in all the supported distro required package lists for Graphics.  

If it is not a graphics-related issue then a separate note for the Eclipse plug-in would be appropriate.  Although, we seem to have established a precedent where we tell the users what host packages are required in order to run what tools.  Perhaps we need to add an &quot;Eclipse&quot; category in the required packages section?

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41693</commentid>
    <comment_count>9</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-03-25 13:31:06 +0000</bug_when>
    <thetext>Hi Scott, Jessica,
I see no harm having a reference in the manual on the Eclipse setup to the required packages. There, the problem was that Xterm wasn&apos;t installed on the system and we couldn&apos;t tell why HOB isn&apos;t starting from Eclipse because Eclipse didn&apos;t gave us any clue. 

I don&apos;t think we  want this to be marked as a documentation enhancement for the purely reason that there are users which are not preparing properly their environment and the one explained above. So in my opinion the enhancement is that we need a clear error message from Eclipse plugin that informs the user that xterm must be installed and also the documentation won&apos;t hurt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41718</commentid>
    <comment_count>10</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-03-25 17:30:05 +0000</bug_when>
    <thetext>I made a couple changes here to try and satisfy the documentation component.  One in the dev-manual and one in the ref-manual.  I need someone to tell me if the one in the ref-manual is really okay or not:

http://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html#workflow-using-the-adt-and-eclipse - this change calls out the xterm package in particular as a requirement for using the Eclipse workflow.

http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#required-packages-for-the-host-development-system - Because the &quot;xterm&quot; package is already consistently listed as a requirement for the host package setup in the Graphics Support area, I modified this area to include the Eclipse stuff.  There are other packages listed along with &quot;xterm&quot; and I figured it would not break anything to have them also included as they are needed for Graphics support anyway.

Please look over these two changes and let me know if this satisfies the documentation portion of this bug.

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42075</commentid>
    <comment_count>11</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-04-01 22:41:05 +0000</bug_when>
    <thetext>Enhancement - moving to 1.7.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43701</commentid>
    <comment_count>12</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-06-02 13:05:54 +0000</bug_when>
    <thetext>No comments on this fix for over two months.  I am marking it as RESOLVED and setting the doc flag to &quot;Done.&quot;

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44085</commentid>
    <comment_count>13</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-06-19 04:55:38 +0000</bug_when>
    <thetext>setting to M2 to get it off the lists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45288</commentid>
    <comment_count>14</comment_count>
    <who name="Andra Necula">andrax.g.necula</who>
    <bug_when>2014-08-27 14:58:30 +0000</bug_when>
    <thetext>Verified with eclipse eclipse-poky-juno     

poky: 52b788c6df9201764130ab744bf67b770b24b896


Fedora 20, x86_64

Cheers! Andra N.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>