Bug 2807

Summary: Cannot complete the headless build using eclipse-poky setup
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: VERIFIED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided CC: yp.ep.watcher, yp.watcher
Version: 1.3   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
log none

Description Alexandru Georgescu 2012-07-20 15:01:07 UTC
Hardware: Fedora 17 64bit.


[alex@alex-v scripts]$ ls
build.sh  eclipse  eclipse-4.2-linux-gtk-x86_64  find-version  readme.txt  setup.sh
[alex@alex-v scripts]$ ./setup.sh 
Installing CDT...
Jul 20, 2012 5:44:23 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 20, 2012 5:44:23 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 20, 2012 5:45:27 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 20, 2012 5:45:27 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 20, 2012 5:46:30 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 20, 2012 5:46:30 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 20, 2012 5:48:37 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 20, 2012 5:48:37 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 20, 2012 5:49:40 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 20, 2012 5:49:40 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 20, 2012 5:50:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 20, 2012 5:50:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 20, 2012 5:52:49 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 20, 2012 5:52:49 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 20, 2012 5:53:53 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 20, 2012 5:53:53 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 20, 2012 5:54:56 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 20, 2012 5:54:56 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 20, 2012 5:57:02 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 20, 2012 5:57:02 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 20, 2012 5:58:05 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 20, 2012 5:58:05 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 20, 2012 5:59:08 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 20, 2012 5:59:08 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
[FAILED 1]Can NOT find candidates of org.eclipse.cdt.sdk.feature.group version(8.1.0, ) at http://download.eclipse.org/releases/juno!
[alex@alex-v scripts]$ pwd
/home/alex/git/eclipse-poky/scripts
[alex@alex-v scripts]$
Comment 1 Jessica 2012-07-20 17:09:45 UTC
Hi Alex,

The eclipse upstream seems is extremely unstable, so when you ran into this kind of issue, please try again, many times the 2nd try will work.  I've tested on my local machine and it worked fine.
Comment 2 Alexandru Georgescu 2012-07-23 10:52:00 UTC
Created attachment 652 [details]
log
Comment 3 Alexandru Georgescu 2012-07-23 10:53:51 UTC
Hi,
Thank you for the tip. The .setup.sh script worked. Unfortunatelly, the actual build still have some errors. I attached also the log file:

[test1@alex-v scripts]$ ECLIPSE_HOME=/home/test1/eclipse-poky/scripts/eclipse ./build.sh 1.2_M4 myEclipse2
Cloning into '/home/test1/eclipse-poky/scripts/1.2_M4_build_201207231338/src'...
remote: Counting objects: 3800, done.
remote: Compressing objects: 100% (2870/2870), done.
remote: Total 3800 (delta 1588), reused 469 (delta 95)
Receiving objects: 100% (3800/3800), 1.02 MiB | 377 KiB/s, done.
Resolving deltas: 100% (1588/1588), done.
Note: checking out 'origin/1.2_M4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at bfed96b... Merge branch 'master' of git://git.yoctoproject.org/eclipse-poky into 1.2_M4
Buildfile: /home/test1/eclipse-poky/scripts/eclipse/plugins/org.eclipse.pde.build_3.8.0.v20120523-1555/scripts/build.xml

main:

preBuild:

preSetup:
    [mkdir] Created dir: /home/test1/eclipse-poky/scripts/1.2_M4_build_201207231338/build/plugins
     [exec] Cloning into 'org.eclipse.tcf'...
     [exec] Note: checking out 'CDT_8_0_1'.
     [exec] 
     [exec] You are in 'detached HEAD' state. You can look around, make experimental
     [exec] changes and commit them, and you can discard any commits you make in this
     [exec] state without impacting any branches by performing another checkout.
     [exec] 
     [exec] If you want to create a new branch to retain commits you create, you may
     [exec] do so (now or later) by using -b with the checkout command again. Example:
     [exec] 
     [exec]   git checkout -b new_branch_name
     [exec] 
     [exec] HEAD is now at 95c0638... Publish tcf build to cdt download site.
     [exec] [detached HEAD 18034b5] [350663] Applied Liping's patch to improve terminal service user experience in case of the non-login mode.
     [exec]  Author: adushistova <adushistova@6a79697e-3843-0410-8446-a9668620458d>
     [exec]  Committer: test1 <test1@alex-v.(none)>
     [exec] Your name and email address were configured automatically based
     [exec] on your username and hostname. Please check that they are accurate.
     [exec] You can suppress this message by setting them explicitly:
     [exec] 
     [exec]     git config --global user.name "Your Name"
     [exec]     git config --global user.email you@example.com
     [exec] 
     [exec] After doing this, you may fix the identity used for this commit with:
     [exec] 
     [exec]     git commit --amend --reset-author
     [exec] 
     [exec]  1 file changed, 9 insertions(+), 12 deletions(-)
     [move] Moving 22 files to /home/test1/eclipse-poky/scripts/1.2_M4_build_201207231338/build/plugins/org.eclipse.tm.tcf
     [move] Moving 84 files to /home/test1/eclipse-poky/scripts/1.2_M4_build_201207231338/build/plugins/org.eclipse.tm.tcf.core
     [move] Moving 49 files to /home/test1/eclipse-poky/scripts/1.2_M4_build_201207231338/build/plugins/org.eclipse.tm.tcf.rse
     [copy] Copying 259 files to /home/test1/eclipse-poky/scripts/1.2_M4_build_201207231338/build/plugins
     [copy] Copying 18 files to /home/test1/eclipse-poky/scripts/1.2_M4_build_201207231338/build/features

prepareForP2:

checkLocalMaps:

getMapFiles:

postSetup:

checkLocalBase:

getBaseComponents:

processRepos:

fetch:

generate:

preGenerate:

allElements:

allElementsDelegator:

init:

generateScript:
[eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied.
[eclipse.buildScript] Bundle org.yocto.sdk.ide:
[eclipse.buildScript] 	Missing required plug-in org.eclipse.linuxtools.cdt.autotools.ui_1.0.0.
[eclipse.buildScript] Bundle org.yocto.sdk.remotetools:
[eclipse.buildScript] 	Missing required plug-in org.yocto.sdk.ide_0.0.0.

BUILD FAILED
/home/test1/eclipse-poky/scripts/eclipse/plugins/org.eclipse.pde.build_3.8.0.v20120523-1555/scripts/build.xml:35: The following error occurred while executing this line:
/home/test1/eclipse-poky/scripts/eclipse/plugins/org.eclipse.pde.build_3.8.0.v20120523-1555/scripts/build.xml:91: The following error occurred while executing this line:
/home/test1/eclipse-poky/scripts/1.2_M4_build_201207231338/src/features/org.yocto.sdk.headless.build/customTargets.xml:12: The following error occurred while executing this line:
/home/test1/eclipse-poky/scripts/eclipse-4.2-linux-gtk-x86_64/eclipse/plugins/org.eclipse.pde.build_3.8.0.v20120523-1555/templates/headless-build/allElements.xml:16: The following error occurred while executing this line:
/home/test1/eclipse-poky/scripts/eclipse-4.2-linux-gtk-x86_64/eclipse/plugins/org.eclipse.pde.build_3.8.0.v20120523-1555/scripts/genericTargets.xml:111: Processing inclusion from feature org.yocto.sdk: Bundle org.yocto.sdk.ide_1.2.0.201207231339 failed to resolve.:
	Missing required plug-in org.eclipse.linuxtools.cdt.autotools.ui_1.0.0.


Total time: 39 seconds
An error has occurred. See the log file
/home/test1/workspace/.metadata/.log.
[Fail 13]: 13 normal build
BUILD_TOP=/home/test1/eclipse-poky/scripts/1.2_M4_build_201207231338
[test1@alex-v scripts]$
Comment 4 Jessica 2012-07-25 17:46:17 UTC
Alex,

So what you're trying to build here?  Seems you setup to build latest master which is Juno (4.2) but when you run the build, your command:

 ECLIPSE_HOME=/home/test1/eclipse-poky/scripts/eclipse ./build.sh 1.2_M4 myEclipse2

is trying to build Indigo since 1.2 is Indigo.
Comment 5 Alexandru Georgescu 2013-03-11 16:12:52 UTC
closing this as indigo support has been dropped