<?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>2634</bug_id>
          
          <creation_ts>2012-06-20 14:41:18 +0000</creation_ts>
          <short_desc>cannot build successfuly eclipse plugin in Ubuntu 12.04 x86-64</short_desc>
          <delta_ts>2012-07-11 12:10:56 +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.3</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Lianhao Lu">lianhao.lu</assigned_to>
          <cc>yp.ep.watcher</cc>
    
    <cc>yp.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>22422</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-06-20 14:41:18 +0000</bug_when>
    <thetext>After clonin the eclipse plugin: $ git clone git://git.yoctoproject.org/eclipse-poky I have the following:
yocto@alex-pc:~/git/eclipse-poky/scripts$ ./setup.sh 
./setup.sh: 44: ./setup.sh: [[: not found
./setup.sh: 46: ./setup.sh: [[: not found
Getting Eclipse SDK...
--2012-06-20 16:41:27--  http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/eclipse-SDK-3.7.2-linux-gtk-x86_64.tar.gz
Resolving proxy-ir.glb.intel.com (proxy-ir.glb.intel.com)... 163.33.54.44, 163.33.54.43
Connecting to proxy-ir.glb.intel.com (proxy-ir.glb.intel.com)|163.33.54.44|:911... connected.
Proxy request sent, awaiting response... 200 OK
Length: 182519599 (174M) [application/x-gzip]
Saving to: `eclipse-SDK-3.7.2-linux-gtk-x86_64.tar.gz&apos;

100%[====================================================================================================================================================================================================&gt;] 182,519,599 2.02M/s   in 1m 46s  

2012-06-20 16:43:13 (1.64 MB/s) - `eclipse-SDK-3.7.2-linux-gtk-x86_64.tar.gz&apos; saved [182519599/182519599]

eclipse LAUNCHER=org.eclipse.equinox.launcher_1.2.0.v20110502.jar
Installing CDT...
./setup.sh: 163: ./setup.sh: [[: not found
./setup.sh: 149: ./setup.sh: cannot open 8.0.0: No such file
./setup.sh: 149: ./setup.sh: [[: not found
skip installed feature org.eclipse.cdt.sdk.feature.group
./setup.sh: 163: ./setup.sh: [[: not found
./setup.sh: 149: ./setup.sh: cannot open 6.0.0: No such file
./setup.sh: 149: ./setup.sh: [[: not found
skip installed feature org.eclipse.cdt.launch.remote.feature.group
Installing RSE SDK...
./setup.sh: 163: ./setup.sh: [[: not found
./setup.sh: 149: ./setup.sh: cannot open 3.3.0: No such file
./setup.sh: 149: ./setup.sh: [[: not found
skip installed feature org.eclipse.rse.sdk.feature.group
Install AutoTool...
./setup.sh: 163: ./setup.sh: [[: not found
./setup.sh: 149: ./setup.sh: cannot open 3.0.1: No such file
./setup.sh: 149: ./setup.sh: [[: not found
skip installed feature org.eclipse.linuxtools.cdt.autotools.feature.group
Install TMF...
./setup.sh: 163: ./setup.sh: [[: not found
./setup.sh: 149: ./setup.sh: cannot open 0.4.0.201202152032: No such file
./setup.sh: 149: ./setup.sh: [[: not found
./setup.sh: 151: ./setup.sh: [[: not found
skip installed feature org.eclipse.linuxtools.tmf.feature.group

Your build environment is successfully created.
Run ECLIPSE_HOME=/home/yocto/git/eclipse-poky/scripts/eclipse ./build.sh &lt;branch name&gt; &lt;release name&gt; to build

yocto@alex-pc:~/git/eclipse-poky/scripts$



I tried the same scenario in Fedora17 x86_64. The build finishes successfuly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22522</commentid>
    <comment_count>1</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2012-06-25 03:05:38 +0000</bug_when>
    <thetext>removed bashism in commit
http://git.yoctoproject.org/cgit/cgit.cgi/eclipse-poky/commit/?id=504d951812bf935942ed97c84001245643a68bbf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22998</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-07-11 12:10:56 +0000</bug_when>
    <thetext>Set to verified fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>