Bug 3686 - errors when building headless build for eclipse-plugin 1.2.2
Summary: errors when building headless build for eclipse-plugin 1.2.2
Status: VERIFIED WORKSFORME
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 1.2.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.2.2
Assignee: Jessica
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-01-08 13:52 UTC by Alexandru Georgescu
Modified: 2013-03-11 11:26 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Georgescu 2013-01-08 13:52:06 UTC
ENVIRONMENT USED: Ubuntu 12.10 64bit
Branch: denzil 
commit: 1d05505e0653aa70f7e38239951b4e19ce0438e1


STEPS TO REPRODUCE:
1. Clone eclipse-plugin:
   $ git clone git://git.yoctoproject.org/eclipse-poky
   $ cd eclipse-poky
   $ git checkout denzil

2. Run the headless build:
./setup.sh

EXPECTED RESULT
2. Headless build finishes.

ACTUAL RESULT
2. Following errors appear:

yocto@yocto-o3:~/automatisation/denzil-0105-1/eclipse-poky/scripts$ ./setup.sh
Getting Eclipse SDK...
--2013-01-08 17:41:19--  http://otcro-tizen.rb.intel.com/res/other/eclipse-SDK-3.7.2-linux-gtk-x86_64.tar.gz
Resolving otcro-tizen.rb.intel.com (otcro-tizen.rb.intel.com)... 10.237.112.66
Connecting to otcro-tizen.rb.intel.com (otcro-tizen.rb.intel.com)|10.237.112.66|:80... connected.
HTTP 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'

100%[==================================================================================================================================================================================================>] 182,519,599 11.2M/s   in 16s

2013-01-08 17:41:35 (11.2 MB/s) - `eclipse-SDK-3.7.2-linux-gtk-x86_64.tar.gz' saved [182519599/182519599]

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

Your build environment is successfully created.
Run ECLIPSE_HOME=/home/yocto/automatisation/denzil-0105-1/eclipse-poky/scripts/eclipse ./build.sh <branch name> <release name> to build

yocto@yocto-o3:~/automatisation/denzil-0105-1/eclipse-poky/scripts$
Comment 1 Jessica 2013-01-10 19:41:49 UTC
I've tested and seems working fine (see below for output), can you verify the same step with your local system.  Probably a setup issue with the autotest? Seem recently there were some issue with autobuilder that Beth has resolved, so is your testing environment the same as AB?

===================
jzhang@jzhang-desktop:~$ git clone git://git.yoctoproject.org/eclipse-poky eclipse-poky-denzil
Cloning into 'eclipse-poky-denzil'...
remote: Counting objects: 4782, done.
remote: Compressing objects: 100% (1806/1806), done.
remote: Total 4782 (delta 2067), reused 4623 (delta 1910)
Receiving objects: 100% (4782/4782), 1.18 MiB, done.
Resolving deltas: 100% (2067/2067), done.
jzhang@jzhang-desktop:~$ cd eclipse-poky-denzil/
jzhang@jzhang-desktop:~/eclipse-poky-denzil$ git checkout denzil
Branch denzil set up to track remote branch denzil from origin.
Switched to a new branch 'denzil'
jzhang@jzhang-desktop:~/eclipse-poky-denzil$ cd scripts/
jzhang@jzhang-desktop:~/eclipse-poky-denzil/scripts$ ./setup.sh 
Getting Eclipse SDK...
--2013-01-10 11:33:36--  http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/eclipse-SDK-3.7.2-linux-gtk.tar.gz
Resolving proxy-jf.intel.com (proxy-jf.intel.com)... 10.7.211.16
Connecting to proxy-jf.intel.com (proxy-jf.intel.com)|10.7.211.16|:911... connected.
Proxy request sent, awaiting response... 200 OK
Length: 182321299 (174M) [application/x-gzip]
Saving to: `eclipse-SDK-3.7.2-linux-gtk.tar.gz'

100%[======================================>] 182,321,299  592K/s   in 4m 39s  

2013-01-10 11:38:18 (639 KB/s) - `eclipse-SDK-3.7.2-linux-gtk.tar.gz' saved [182321299/182321299]

eclipse LAUNCHER=org.eclipse.equinox.launcher_1.2.0.v20110502.jar
Installing CDT...
try to install org.eclipse.cdt.sdk.feature.group/8.0.2.201202111925 ...
Installing org.eclipse.cdt.sdk.feature.group 8.0.2.201202111925.
Operation completed in 344853 ms.
try to install org.eclipse.cdt.launch.remote.feature.group/6.0.0.201202111925 ...
Installing org.eclipse.cdt.launch.remote.feature.group 6.0.0.201202111925.
Operation completed in 30266 ms.
Installing RSE SDK...
try to install org.eclipse.rse.sdk.feature.group/3.3.1.R33x_v201109141647-7U7LFGHE62lGV2wVbOE6z0NW-XnV ...
Installing org.eclipse.rse.sdk.feature.group 3.3.1.R33x_v201109141647-7U7LFGHE62lGV2wVbOE6z0NW-XnV.
Operation completed in 73813 ms.
Install AutoTool...
try to install org.eclipse.linuxtools.cdt.autotools.feature.group/3.0.1.201202152032 ...
Installing org.eclipse.linuxtools.cdt.autotools.feature.group 3.0.1.201202152032.
Operation completed in 166605 ms.
Install TMF...
try to install org.eclipse.linuxtools.tmf.feature.group/0.4.0.201202152032 ...
Installing org.eclipse.linuxtools.tmf.feature.group 0.4.0.201202152032.
Operation completed in 28621 ms.

Your build environment is successfully created.
Run ECLIPSE_HOME=/home/jzhang/eclipse-poky-denzil/scripts/eclipse ./build.sh <branch name> <release name> to build

jzhang@jzhang-desktop:~/eclipse-poky-denzil/scripts$
Comment 2 Alexandru Georgescu 2013-03-11 11:26:20 UTC
verified