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 -> Lauch HOB. 4. Select any Bitbake build directory which has compiled pseudo-native. EXPECTED RESULT: HOB launches successfully. ACTUAL RESULT: HOB doesn'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't reproduce on Ubuntu 13.10
*** Bug 5767 has been marked as a duplicate of this bug. ***
Can u check is it related to 5707?
I couldn't reproduce on my Fedora 20. I will investigate further on Ada's machine.
(In reply to comment #2) > Can u check is it related to 5707? In Ada'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 -> /bin/bash
*** Bug 5736 has been marked as a duplicate of this bug. ***
Changed this to Low - Enhancement. Xterm wasn't installed on the host machine which the error happened, and the error message was misleading: "The file does not exist for the external tool named hob" There must be an error message informing the user that Xterm isn't installed on his host machine.
Hi Scott, Can you add a doc note saying that eclipse plug-in requires xterm to be installed? Thanks, Jessica
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 "Graphical Package". (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 "Eclipse" category in the required packages section? Scott
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't installed on the system and we couldn't tell why HOB isn't starting from Eclipse because Eclipse didn't gave us any clue. I don'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't hurt.
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 "xterm" 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 "xterm" 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
Enhancement - moving to 1.7.
No comments on this fix for over two months. I am marking it as RESOLVED and setting the doc flag to "Done." Thanks, Scott
setting to M2 to get it off the lists.
Verified with eclipse eclipse-poky-juno poky: 52b788c6df9201764130ab744bf67b770b24b896 Fedora 20, x86_64 Cheers! Andra N.