All of lore.kernel.org
 help / color / mirror / Atom feed
* Eclipse Plugin: ADT Version too old
@ 2011-10-24  9:03 Jack Mitchell
  2011-10-24  9:12 ` Jack Mitchell
  2011-10-24  9:18 ` Lu, Lianhao
  0 siblings, 2 replies; 16+ messages in thread
From: Jack Mitchell @ 2011-10-24  9:03 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

I am trying to use the new eclipse plugin, which I have had working fine 
for the past couple of weeks until I switched from the master branch to 
edison.

I performed a fresh build using the stable edison branch, installed the 
new 1.1 eclipse plugin and now whenever I try to setup the Yocto eclipse 
environment I receive the following error:

Yocto Preferences Configuration Error!
OECORE related items are not found in envrionement setup files.
The ADT version you're using is too old.
Please upgrade to our latest ADT Version!

This pops up in a message box, not the eclipse console. I have followed 
the ADT Setup guide to the letter and it's not playing ball - could 
someone confirm this as working or point me towards a reason why I may 
be getting this error?

Cheers,
Jack.

[-- Attachment #2: Type: text/html, Size: 1170 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-24  9:03 Eclipse Plugin: ADT Version too old Jack Mitchell
@ 2011-10-24  9:12 ` Jack Mitchell
  2011-10-24 15:33   ` Joshua Lock
  2011-10-24  9:18 ` Lu, Lianhao
  1 sibling, 1 reply; 16+ messages in thread
From: Jack Mitchell @ 2011-10-24  9:12 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]

On 24/10/2011 10:03, Jack Mitchell wrote:
> I am trying to use the new eclipse plugin, which I have had working 
> fine for the past couple of weeks until I switched from the master 
> branch to edison.
>
> I performed a fresh build using the stable edison branch, installed 
> the new 1.1 eclipse plugin and now whenever I try to setup the Yocto 
> eclipse environment I receive the following error:
>
> Yocto Preferences Configuration Error!
> OECORE related items are not found in envrionement setup files.
> The ADT version you're using is too old.
> Please upgrade to our latest ADT Version!
>
> This pops up in a message box, not the eclipse console. I have 
> followed the ADT Setup guide to the letter and it's not playing ball - 
> could someone confirm this as working or point me towards a reason why 
> I may be getting this error?
>
> Cheers,
> Jack.
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

This is a pastebin of my current environment setup file:

http://pastebin.com/4vnWPAD2

[-- Attachment #2: Type: text/html, Size: 2070 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-24  9:03 Eclipse Plugin: ADT Version too old Jack Mitchell
  2011-10-24  9:12 ` Jack Mitchell
@ 2011-10-24  9:18 ` Lu, Lianhao
  2011-10-24  9:23   ` Jack Mitchell
  1 sibling, 1 reply; 16+ messages in thread
From: Lu, Lianhao @ 2011-10-24  9:18 UTC (permalink / raw)
  To: yocto@yoctoproject.org


Jack Mitchell wrote on 2011-10-24:
> I am trying to use the new eclipse plugin, which I have had working 
> fine for the past couple of weeks until I switched from the master branch to edison.
> 
> I performed a fresh build using the stable edison branch, installed 
> the new 1.1 eclipse plugin and now whenever I try to setup the Yocto 
> eclipse environment I receive the following error:
> 
> Yocto Preferences Configuration Error!
> OECORE related items are not found in envrionement setup files.
> The ADT version you're using is too old.
> Please upgrade to our latest ADT Version!
> 
> This pops up in a message box, not the eclipse console. I have 
> followed the ADT Setup guide to the letter and it's not playing ball - 
> could someone confirm this as working or point me towards a reason why I may be getting this error?
> 

Hi Jack,

How did you install your ADT? You can check the ADT version by "cat" the file /opt/poky/${version}/version-xxxx, where xxxx is your target sys architecture.

-Lianhao


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-24  9:18 ` Lu, Lianhao
@ 2011-10-24  9:23   ` Jack Mitchell
  2011-10-24 15:42     ` Zhang, Jessica
  0 siblings, 1 reply; 16+ messages in thread
From: Jack Mitchell @ 2011-10-24  9:23 UTC (permalink / raw)
  To: yocto

On 24/10/2011 10:18, Lu, Lianhao wrote:
> Jack Mitchell wrote on 2011-10-24:
>> I am trying to use the new eclipse plugin, which I have had working
>> fine for the past couple of weeks until I switched from the master branch to edison.
>>
>> I performed a fresh build using the stable edison branch, installed
>> the new 1.1 eclipse plugin and now whenever I try to setup the Yocto
>> eclipse environment I receive the following error:
>>
>> Yocto Preferences Configuration Error!
>> OECORE related items are not found in envrionement setup files.
>> The ADT version you're using is too old.
>> Please upgrade to our latest ADT Version!
>>
>> This pops up in a message box, not the eclipse console. I have
>> followed the ADT Setup guide to the letter and it's not playing ball -
>> could someone confirm this as working or point me towards a reason why I may be getting this error?
>>
> Hi Jack,
>
> How did you install your ADT? You can check the ADT version by "cat" the file /opt/poky/${version}/version-xxxx, where xxxx is your target sys architecture.
>
> -Lianhao
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Hi Lianhao,

I am using the yocto build tree so I don't have an installed ADT in /opt 
but one that has been generated within my build directory, this is 
correct yes?

Jack.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-24  9:12 ` Jack Mitchell
@ 2011-10-24 15:33   ` Joshua Lock
  2011-10-24 15:41     ` Jack Mitchell
  0 siblings, 1 reply; 16+ messages in thread
From: Joshua Lock @ 2011-10-24 15:33 UTC (permalink / raw)
  To: yocto



On 24/10/11 02:12, Jack Mitchell wrote:
> On 24/10/2011 10:03, Jack Mitchell wrote:
>> I am trying to use the new eclipse plugin, which I have had working
>> fine for the past couple of weeks until I switched from the master
>> branch to edison.
>>
>> I performed a fresh build using the stable edison branch, installed
>> the new 1.1 eclipse plugin and now whenever I try to setup the Yocto
>> eclipse environment I receive the following error:
>>
>> Yocto Preferences Configuration Error!
>> OECORE related items are not found in envrionement setup files.
>> The ADT version you're using is too old.
>> Please upgrade to our latest ADT Version!
>>
>> This pops up in a message box, not the eclipse console. I have
>> followed the ADT Setup guide to the letter and it's not playing ball -
>> could someone confirm this as working or point me towards a reason why
>> I may be getting this error?
>>
>> Cheers,
>> Jack.
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> 
> This is a pastebin of my current environment setup file:
> 
> http://pastebin.com/4vnWPAD2
> 

I'm not ADT expert but I expect the problem is this line:

export OECORE_DISTRO_VERSION="1.1+snapshot-20111021"

By switching to the edison branch you'll now have a DISTRO_VERSION of
"1.1", without the snapshot and date - hence version mismatch.

I'm not sure if you need to change the plugin or just build a new
meta-ide-support, though.

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-24 15:33   ` Joshua Lock
@ 2011-10-24 15:41     ` Jack Mitchell
  0 siblings, 0 replies; 16+ messages in thread
From: Jack Mitchell @ 2011-10-24 15:41 UTC (permalink / raw)
  To: yocto

On 24/10/2011 16:33, Joshua Lock wrote:
>
> On 24/10/11 02:12, Jack Mitchell wrote:
>> On 24/10/2011 10:03, Jack Mitchell wrote:
>>> I am trying to use the new eclipse plugin, which I have had working
>>> fine for the past couple of weeks until I switched from the master
>>> branch to edison.
>>>
>>> I performed a fresh build using the stable edison branch, installed
>>> the new 1.1 eclipse plugin and now whenever I try to setup the Yocto
>>> eclipse environment I receive the following error:
>>>
>>> Yocto Preferences Configuration Error!
>>> OECORE related items are not found in envrionement setup files.
>>> The ADT version you're using is too old.
>>> Please upgrade to our latest ADT Version!
>>>
>>> This pops up in a message box, not the eclipse console. I have
>>> followed the ADT Setup guide to the letter and it's not playing ball -
>>> could someone confirm this as working or point me towards a reason why
>>> I may be getting this error?
>>>
>>> Cheers,
>>> Jack.
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>> This is a pastebin of my current environment setup file:
>>
>> http://pastebin.com/4vnWPAD2
>>
> I'm not ADT expert but I expect the problem is this line:
>
> export OECORE_DISTRO_VERSION="1.1+snapshot-20111021"
>
> By switching to the edison branch you'll now have a DISTRO_VERSION of
> "1.1", without the snapshot and date - hence version mismatch.
>
> I'm not sure if you need to change the plugin or just build a new
> meta-ide-support, though.
>
> Cheers,
> Joshua

Ah, that makes sense Joshua. However, this is a fresh build directory 
created after I had checked out the edison tag, so due to me checking 
out a git 'tag' I have the snapshot tag version listed instead of the 
1.1 clean download version?

So all the things I built were built while on an edision checkout which 
means I shouldn't have old git versions lingering about.

Cheers,
Jack.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-24  9:23   ` Jack Mitchell
@ 2011-10-24 15:42     ` Zhang, Jessica
  2011-10-24 15:44       ` Jack Mitchell
  0 siblings, 1 reply; 16+ messages in thread
From: Zhang, Jessica @ 2011-10-24 15:42 UTC (permalink / raw)
  To: Jack Mitchell, yocto@yoctoproject.org

Hi Jack,

So you mean you did "bitbake meta-ide-support" to use the build tree?

I just tried with my Edison build tree mode on my laptop and it works fine. So can you check under your build/tmp directory, there should be an environment-setup-*-poky-linux file, where * is your target arch.  At the end file do you have several OECORE_* settings ? If not, you need to rerun "bitbake meta-ide-support" and ensure there're OECORE_* settings at the end.

Thanks,
Jessica

-----Original Message-----
From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Jack Mitchell
Sent: Monday, October 24, 2011 2:24 AM
To: yocto@yoctoproject.org
Subject: Re: [yocto] Eclipse Plugin: ADT Version too old

On 24/10/2011 10:18, Lu, Lianhao wrote:
> Jack Mitchell wrote on 2011-10-24:
>> I am trying to use the new eclipse plugin, which I have had working
>> fine for the past couple of weeks until I switched from the master branch to edison.
>>
>> I performed a fresh build using the stable edison branch, installed
>> the new 1.1 eclipse plugin and now whenever I try to setup the Yocto
>> eclipse environment I receive the following error:
>>
>> Yocto Preferences Configuration Error!
>> OECORE related items are not found in envrionement setup files.
>> The ADT version you're using is too old.
>> Please upgrade to our latest ADT Version!
>>
>> This pops up in a message box, not the eclipse console. I have
>> followed the ADT Setup guide to the letter and it's not playing ball -
>> could someone confirm this as working or point me towards a reason why I may be getting this error?
>>
> Hi Jack,
>
> How did you install your ADT? You can check the ADT version by "cat" the file /opt/poky/${version}/version-xxxx, where xxxx is your target sys architecture.
>
> -Lianhao
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Hi Lianhao,

I am using the yocto build tree so I don't have an installed ADT in /opt
but one that has been generated within my build directory, this is
correct yes?

Jack.
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-24 15:42     ` Zhang, Jessica
@ 2011-10-24 15:44       ` Jack Mitchell
  2011-10-24 15:55         ` Zhang, Jessica
  0 siblings, 1 reply; 16+ messages in thread
From: Jack Mitchell @ 2011-10-24 15:44 UTC (permalink / raw)
  To: Zhang, Jessica; +Cc: yocto@yoctoproject.org

On 24/10/2011 16:42, Zhang, Jessica wrote:
> Hi Jack,
>
> So you mean you did "bitbake meta-ide-support" to use the build tree?
>
> I just tried with my Edison build tree mode on my laptop and it works fine. So can you check under your build/tmp directory, there should be an environment-setup-*-poky-linux file, where * is your target arch.  At the end file do you have several OECORE_* settings ? If not, you need to rerun "bitbake meta-ide-support" and ensure there're OECORE_* settings at the end.
>
> Thanks,
> Jessica
>
> -----Original Message-----
> From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Jack Mitchell
> Sent: Monday, October 24, 2011 2:24 AM
> To: yocto@yoctoproject.org
> Subject: Re: [yocto] Eclipse Plugin: ADT Version too old
>
> On 24/10/2011 10:18, Lu, Lianhao wrote:
>> Jack Mitchell wrote on 2011-10-24:
>>> I am trying to use the new eclipse plugin, which I have had working
>>> fine for the past couple of weeks until I switched from the master branch to edison.
>>>
>>> I performed a fresh build using the stable edison branch, installed
>>> the new 1.1 eclipse plugin and now whenever I try to setup the Yocto
>>> eclipse environment I receive the following error:
>>>
>>> Yocto Preferences Configuration Error!
>>> OECORE related items are not found in envrionement setup files.
>>> The ADT version you're using is too old.
>>> Please upgrade to our latest ADT Version!
>>>
>>> This pops up in a message box, not the eclipse console. I have
>>> followed the ADT Setup guide to the letter and it's not playing ball -
>>> could someone confirm this as working or point me towards a reason why I may be getting this error?
>>>
>> Hi Jack,
>>
>> How did you install your ADT? You can check the ADT version by "cat" the file /opt/poky/${version}/version-xxxx, where xxxx is your target sys architecture.
>>
>> -Lianhao
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> Hi Lianhao,
>
> I am using the yocto build tree so I don't have an installed ADT in /opt
> but one that has been generated within my build directory, this is
> correct yes?
>
> Jack.
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Hi Jessica,

I posted my environment settings earlier, which are located here: 
http://pastebin.com/4vnWPAD2

Yes, I did use bitbake meta-ide-support to build my root.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-24 15:44       ` Jack Mitchell
@ 2011-10-24 15:55         ` Zhang, Jessica
  2011-10-25 14:45           ` Jack Mitchell
  0 siblings, 1 reply; 16+ messages in thread
From: Zhang, Jessica @ 2011-10-24 15:55 UTC (permalink / raw)
  To: Jack Mitchell; +Cc: yocto@yoctoproject.org

OK missed your env post. Then this is your problem:

16.export OECORE_DISTRO_VERSION="1.1+snapshot-20111021"
17.export OECORE_SDK_VERSION="1.1+snapshot"

They need to be 1.1 instead of 1.1+snapshot.  You need to update your Edison branch then do "bitbake meta-ide-support"

-----Original Message-----
From: Jack Mitchell [mailto:ml@communistcode.co.uk]
Sent: Monday, October 24, 2011 8:44 AM
To: Zhang, Jessica
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Eclipse Plugin: ADT Version too old

On 24/10/2011 16:42, Zhang, Jessica wrote:
> Hi Jack,
>
> So you mean you did "bitbake meta-ide-support" to use the build tree?
>
> I just tried with my Edison build tree mode on my laptop and it works fine. So can you check under your build/tmp directory, there should be an environment-setup-*-poky-linux file, where * is your target arch.  At the end file do you have several OECORE_* settings ? If not, you need to rerun "bitbake meta-ide-support" and ensure there're OECORE_* settings at the end.
>
> Thanks,
> Jessica
>
> -----Original Message-----
> From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Jack Mitchell
> Sent: Monday, October 24, 2011 2:24 AM
> To: yocto@yoctoproject.org
> Subject: Re: [yocto] Eclipse Plugin: ADT Version too old
>
> On 24/10/2011 10:18, Lu, Lianhao wrote:
>> Jack Mitchell wrote on 2011-10-24:
>>> I am trying to use the new eclipse plugin, which I have had working
>>> fine for the past couple of weeks until I switched from the master branch to edison.
>>>
>>> I performed a fresh build using the stable edison branch, installed
>>> the new 1.1 eclipse plugin and now whenever I try to setup the Yocto
>>> eclipse environment I receive the following error:
>>>
>>> Yocto Preferences Configuration Error!
>>> OECORE related items are not found in envrionement setup files.
>>> The ADT version you're using is too old.
>>> Please upgrade to our latest ADT Version!
>>>
>>> This pops up in a message box, not the eclipse console. I have
>>> followed the ADT Setup guide to the letter and it's not playing ball -
>>> could someone confirm this as working or point me towards a reason why I may be getting this error?
>>>
>> Hi Jack,
>>
>> How did you install your ADT? You can check the ADT version by "cat" the file /opt/poky/${version}/version-xxxx, where xxxx is your target sys architecture.
>>
>> -Lianhao
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> Hi Lianhao,
>
> I am using the yocto build tree so I don't have an installed ADT in /opt
> but one that has been generated within my build directory, this is
> correct yes?
>
> Jack.
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Hi Jessica,

I posted my environment settings earlier, which are located here:
http://pastebin.com/4vnWPAD2

Yes, I did use bitbake meta-ide-support to build my root.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-24 15:55         ` Zhang, Jessica
@ 2011-10-25 14:45           ` Jack Mitchell
  2011-10-25 18:05             ` Joshua Lock
                               ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Jack Mitchell @ 2011-10-25 14:45 UTC (permalink / raw)
  Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 3841 bytes --]

On 24/10/2011 16:55, Zhang, Jessica wrote:
> OK missed your env post. Then this is your problem:
>
> 16.export OECORE_DISTRO_VERSION="1.1+snapshot-20111021"
> 17.export OECORE_SDK_VERSION="1.1+snapshot"
>
> They need to be 1.1 instead of 1.1+snapshot.  You need to update your Edison branch then do "bitbake meta-ide-support"
>
> -----Original Message-----
> From: Jack Mitchell [mailto:ml@communistcode.co.uk]
> Sent: Monday, October 24, 2011 8:44 AM
> To: Zhang, Jessica
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] Eclipse Plugin: ADT Version too old
>
> On 24/10/2011 16:42, Zhang, Jessica wrote:
>> Hi Jack,
>>
>> So you mean you did "bitbake meta-ide-support" to use the build tree?
>>
>> I just tried with my Edison build tree mode on my laptop and it works fine. So can you check under your build/tmp directory, there should be an environment-setup-*-poky-linux file, where * is your target arch.  At the end file do you have several OECORE_* settings ? If not, you need to rerun "bitbake meta-ide-support" and ensure there're OECORE_* settings at the end.
>>
>> Thanks,
>> Jessica
>>
>> -----Original Message-----
>> From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Jack Mitchell
>> Sent: Monday, October 24, 2011 2:24 AM
>> To: yocto@yoctoproject.org
>> Subject: Re: [yocto] Eclipse Plugin: ADT Version too old
>>
>> On 24/10/2011 10:18, Lu, Lianhao wrote:
>>> Jack Mitchell wrote on 2011-10-24:
>>>> I am trying to use the new eclipse plugin, which I have had working
>>>> fine for the past couple of weeks until I switched from the master branch to edison.
>>>>
>>>> I performed a fresh build using the stable edison branch, installed
>>>> the new 1.1 eclipse plugin and now whenever I try to setup the Yocto
>>>> eclipse environment I receive the following error:
>>>>
>>>> Yocto Preferences Configuration Error!
>>>> OECORE related items are not found in envrionement setup files.
>>>> The ADT version you're using is too old.
>>>> Please upgrade to our latest ADT Version!
>>>>
>>>> This pops up in a message box, not the eclipse console. I have
>>>> followed the ADT Setup guide to the letter and it's not playing ball -
>>>> could someone confirm this as working or point me towards a reason why I may be getting this error?
>>>>
>>> Hi Jack,
>>>
>>> How did you install your ADT? You can check the ADT version by "cat" the file /opt/poky/${version}/version-xxxx, where xxxx is your target sys architecture.
>>>
>>> -Lianhao
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>> Hi Lianhao,
>>
>> I am using the yocto build tree so I don't have an installed ADT in /opt
>> but one that has been generated within my build directory, this is
>> correct yes?
>>
>> Jack.
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> Hi Jessica,
>
> I posted my environment settings earlier, which are located here:
> http://pastebin.com/4vnWPAD2
>
> Yes, I did use bitbake meta-ide-support to build my roo

Hi Jessica,

I just did a full fresh re-build from scratch and now my environment 
variables are as follows:

http://ix.io/1Wf

My current git status is:

# On branch edision
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#    ../bitbake/lib/bb/pysh/pyshtables.py
#    ../conf/
#    ./
#    ../qemuarm-toolchain/
nothing added to commit but untracked files present (use "git add" to 
track)

The environment variables are still wrong, can I manually change them, I 
understand this is bad practice but I can't develop until I fix this.
> t.


[-- Attachment #2: Type: text/html, Size: 5895 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-25 14:45           ` Jack Mitchell
@ 2011-10-25 18:05             ` Joshua Lock
  2011-10-25 20:17             ` Zhang, Jessica
                               ` (2 subsequent siblings)
  3 siblings, 0 replies; 16+ messages in thread
From: Joshua Lock @ 2011-10-25 18:05 UTC (permalink / raw)
  To: yocto


On 25/10/11 07:45, Jack Mitchell wrote:
> Hi Jessica,
> 
> I just did a full fresh re-build from scratch and now my environment
> variables are as follows:
> 
> http://ix.io/1Wf
> 
> My current git status is:
> 
> # On branch edision
> # Untracked files:
> #   (use "git add <file>..." to include in what will be committed)
> #
> #    ../bitbake/lib/bb/pysh/pyshtables.py
> #    ../conf/
> #    ./
> #    ../qemuarm-toolchain/
> nothing added to commit but untracked files present (use "git add" to
> track)
> 
> The environment variables are still wrong, can I manually change them, I
> understand this is bad practice but I can't develop until I fix this.

Jack,

I think Jessica is travelling to Prague for ELC-E so I say change the
environment variables manually and get on with your development. :-)

If you could file a bug against the ADT on bugzilla.yoctoproject.org I'm
sure someone will look into this.

Looks like there may be some out of sync metadata somewhere that we need
to track down.

Regards,

Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-25 14:45           ` Jack Mitchell
  2011-10-25 18:05             ` Joshua Lock
@ 2011-10-25 20:17             ` Zhang, Jessica
  2011-10-25 21:40             ` Flanagan, Elizabeth
  2011-10-26  1:59             ` Lu, Lianhao
  3 siblings, 0 replies; 16+ messages in thread
From: Zhang, Jessica @ 2011-10-25 20:17 UTC (permalink / raw)
  To: Jack Mitchell; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 4374 bytes --]

Jack,



One other thing to check, did you do git update of your Edison branch before running a fresh build?



From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Jack Mitchell
Sent: Tuesday, October 25, 2011 7:45 AM
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Eclipse Plugin: ADT Version too old



On 24/10/2011 16:55, Zhang, Jessica wrote:

OK missed your env post. Then this is your problem:

16.export OECORE_DISTRO_VERSION="1.1+snapshot-20111021"
17.export OECORE_SDK_VERSION="1.1+snapshot"

They need to be 1.1 instead of 1.1+snapshot.  You need to update your Edison branch then do "bitbake meta-ide-support"

-----Original Message-----
From: Jack Mitchell [mailto:ml@communistcode.co.uk]
Sent: Monday, October 24, 2011 8:44 AM
To: Zhang, Jessica
Cc: yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
Subject: Re: [yocto] Eclipse Plugin: ADT Version too old

On 24/10/2011 16:42, Zhang, Jessica wrote:

   Hi Jack,

   So you mean you did "bitbake meta-ide-support" to use the build tree?

   I just tried with my Edison build tree mode on my laptop and it works fine. So can you check under your build/tmp directory, there should be an environment-setup-*-poky-linux file, where * is your target arch.  At the end file do you have several OECORE_* settings ? If not, you need to rerun "bitbake meta-ide-support" and ensure there're OECORE_* settings at the end.

   Thanks,
   Jessica

   -----Original Message-----
   From: yocto-bounces@yoctoproject.org<mailto:yocto-bounces@yoctoproject.org> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Jack Mitchell
   Sent: Monday, October 24, 2011 2:24 AM
   To: yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
   Subject: Re: [yocto] Eclipse Plugin: ADT Version too old

   On 24/10/2011 10:18, Lu, Lianhao wrote:

      Jack Mitchell wrote on 2011-10-24:

         I am trying to use the new eclipse plugin, which I have had working
         fine for the past couple of weeks until I switched from the master branch to edison.

         I performed a fresh build using the stable edison branch, installed
         the new 1.1 eclipse plugin and now whenever I try to setup the Yocto
         eclipse environment I receive the following error:

         Yocto Preferences Configuration Error!
         OECORE related items are not found in envrionement setup files.
         The ADT version you're using is too old.
         Please upgrade to our latest ADT Version!

         This pops up in a message box, not the eclipse console. I have
         followed the ADT Setup guide to the letter and it's not playing ball -
         could someone confirm this as working or point me towards a reason why I may be getting this error?


      Hi Jack,

      How did you install your ADT? You can check the ADT version by "cat" the file /opt/poky/${version}/version-xxxx, where xxxx is your target sys architecture.

      -Lianhao
      _______________________________________________
      yocto mailing list
      yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
      https://lists.yoctoproject.org/listinfo/yocto

   Hi Lianhao,

   I am using the yocto build tree so I don't have an installed ADT in /opt
   but one that has been generated within my build directory, this is
   correct yes?

   Jack.
   _______________________________________________
   yocto mailing list
   yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
   https://lists.yoctoproject.org/listinfo/yocto


Hi Jessica,

I posted my environment settings earlier, which are located here:
http://pastebin.com/4vnWPAD2

Yes, I did use bitbake meta-ide-support to build my roo


Hi Jessica,

I just did a full fresh re-build from scratch and now my environment variables are as follows:

http://ix.io/1Wf

My current git status is:

# On branch edision
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#    ../bitbake/lib/bb/pysh/pyshtables.py
#    ../conf/
#    ./
#    ../qemuarm-toolchain/
nothing added to commit but untracked files present (use "git add" to track)

The environment variables are still wrong, can I manually change them, I understand this is bad practice but I can't develop until I fix this.



t.




[-- Attachment #2: Type: text/html, Size: 10248 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-25 14:45           ` Jack Mitchell
  2011-10-25 18:05             ` Joshua Lock
  2011-10-25 20:17             ` Zhang, Jessica
@ 2011-10-25 21:40             ` Flanagan, Elizabeth
  2011-10-26  8:19               ` Jack Mitchell
  2011-10-26  1:59             ` Lu, Lianhao
  3 siblings, 1 reply; 16+ messages in thread
From: Flanagan, Elizabeth @ 2011-10-25 21:40 UTC (permalink / raw)
  To: Jack Mitchell; +Cc: yocto@yoctoproject.org

On Tue, Oct 25, 2011 at 7:45 AM, Jack Mitchell <ml@communistcode.co.uk> wrote:
>
> Hi Jessica,
>
> I posted my environment settings earlier, which are located here:
> http://pastebin.com/4vnWPAD2
>
> Yes, I did use bitbake meta-ide-support to build my roo
>
> Hi Jessica,
>
> I just did a full fresh re-build from scratch and now my environment
> variables are as follows:
>
> http://ix.io/1Wf
>
> My current git status is:
>
> # On branch edision
> # Untracked files:
> #   (use "git add <file>..." to include in what will be committed)
> #
> #    ../bitbake/lib/bb/pysh/pyshtables.py
> #    ../conf/
> #    ./
> #    ../qemuarm-toolchain/
> nothing added to commit but untracked files present (use "git add" to track)

Jack,

I just checked out a clean edison and ran bitbake meta-ide-support. My
env is showing export OECORE_DISTRO_VERSION="1.1". My guess is that,
since you are not in master, then you have a TMPDIR from a master
build, or perhaps are using something left over from one, as the only
place DISTRO_VERSION = "1.1+snapshot-${DATE}" would be there. Prior to
c88b991 on edison, DISTRO_VERSION = "1.0+snapshot-${DATE}". So you're
picking that up from some prior master build. It's not an older
version of edison as if it was an older version of edison it would be
1.0+snapshot-${DATE

-b

-- 
Elizabeth Flanagan
Yocto Project
Build and Release


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-25 14:45           ` Jack Mitchell
                               ` (2 preceding siblings ...)
  2011-10-25 21:40             ` Flanagan, Elizabeth
@ 2011-10-26  1:59             ` Lu, Lianhao
  3 siblings, 0 replies; 16+ messages in thread
From: Lu, Lianhao @ 2011-10-26  1:59 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Jack Mitchell wrote on 2011-10-25:
> 
> Hi Jessica,
> 
> I just did a full fresh re-build from scratch and now my environment 
> variables are as follows:
> 
> http://ix.io/1Wf
> 
> My current git status is:
> 
> # On branch edision # Untracked files: #   (use "git add <file>..." to
> include in what will be committed) # #   
> ../bitbake/lib/bb/pysh/pyshtables.py #    ../conf/ #    ./ #   
> ../qemuarm-toolchain/ nothing added to commit but untracked files 
> present (use "git add" to track)
> 
> The environment variables are still wrong, can I manually change them, 
> I understand this is bad practice but I can't develop until I fix this.
> 
Jack,

You may manually change them, but I doubt this suggesting that there might be some mismatch in your local git branch. The "bitbake meta-ide-support" of Edison branch on my machine could generate the right OECORE_DISTRO_VERSION and OECORE_SDK_VERSION, with the value of "1.1", not "1.1+snapshot". 

Could you check your file of meta-yocto/conf/distro/poky.conf for the variable DISTRO_VERSION, it should be "1.1'. 

b.t.w. When you "bitbake meta-ide-support", there will be some configuration information on the console which might help you identify the version and configurations, e.g.

OE Build Configuration:
BB_VERSION        = "1.13.3"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "1.1"
TUNE_FEATURES     = "armv5 dsp thumb arm926ejs"
TARGET_FPU        = "soft"
meta
meta-yocto        = "(nobranch):1924f52cc894d4dd6b9d9c1a2248b32fc0a24c8c"

Best Regards,
Lianhao



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-25 21:40             ` Flanagan, Elizabeth
@ 2011-10-26  8:19               ` Jack Mitchell
  2011-10-26 15:13                 ` Zhang, Jessica
  0 siblings, 1 reply; 16+ messages in thread
From: Jack Mitchell @ 2011-10-26  8:19 UTC (permalink / raw)
  Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2150 bytes --]

On 25/10/2011 22:40, Flanagan, Elizabeth wrote:
> On Tue, Oct 25, 2011 at 7:45 AM, Jack Mitchell<ml@communistcode.co.uk>  wrote:
>> Hi Jessica,
>>
>> I posted my environment settings earlier, which are located here:
>> http://pastebin.com/4vnWPAD2
>>
>> Yes, I did use bitbake meta-ide-support to build my roo
>>
>> Hi Jessica,
>>
>> I just did a full fresh re-build from scratch and now my environment
>> variables are as follows:
>>
>> http://ix.io/1Wf
>>
>> My current git status is:
>>
>> # On branch edision
>> # Untracked files:
>> #   (use "git add<file>..." to include in what will be committed)
>> #
>> #    ../bitbake/lib/bb/pysh/pyshtables.py
>> #    ../conf/
>> #    ./
>> #    ../qemuarm-toolchain/
>> nothing added to commit but untracked files present (use "git add" to track)
> Jack,
>
> I just checked out a clean edison and ran bitbake meta-ide-support. My
> env is showing export OECORE_DISTRO_VERSION="1.1". My guess is that,
> since you are not in master, then you have a TMPDIR from a master
> build, or perhaps are using something left over from one, as the only
> place DISTRO_VERSION = "1.1+snapshot-${DATE}" would be there. Prior to
> c88b991 on edison, DISTRO_VERSION = "1.0+snapshot-${DATE}". So you're
> picking that up from some prior master build. It's not an older
> version of edison as if it was an older version of edison it would be
> 1.0+snapshot-${DATE
>
> -b
>

Ok, this is some more debug info:

OE Build Configuration:
BB_VERSION        = "1.13.3"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "1.1+snapshot-20111026"
TUNE_FEATURES     = "armv5 dsp thumb arm926ejs"
TARGET_FPU        = "soft"
meta
meta-yocto
meta-db-generic   = "edision:b4757833c3548b5ee3a1cce58e2f059b3f63cb09"

Could it be that because I have my own layer present it's skewing the 
git? Should the eclipse plug-in not match 1.1*?

Could you check your file of meta-yocto/conf/distro/poky.conf for the 
variable DISTRO_VERSION, it should be "1.1'.

It does indeed state 1.1.





[-- Attachment #2: Type: text/html, Size: 3482 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Eclipse Plugin: ADT Version too old
  2011-10-26  8:19               ` Jack Mitchell
@ 2011-10-26 15:13                 ` Zhang, Jessica
  0 siblings, 0 replies; 16+ messages in thread
From: Zhang, Jessica @ 2011-10-26 15:13 UTC (permalink / raw)
  To: Jack Mitchell; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2764 bytes --]

Jack,



I push out a support in Eclipse for post 1.1 (1.1+snapshort*), you can update your eclipse plug-in against latest eclipse-poky master following the steps in the ADT manual.  But it seems you still have some strange thing going on with your Edison build, it shouldn't contain "1.1+snapshot*" as version for both distro and adt.



Cheers,

Jessica



From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Jack Mitchell
Sent: Wednesday, October 26, 2011 1:20 AM
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Eclipse Plugin: ADT Version too old



On 25/10/2011 22:40, Flanagan, Elizabeth wrote:

On Tue, Oct 25, 2011 at 7:45 AM, Jack Mitchell <ml@communistcode.co.uk><mailto:ml@communistcode.co.uk> wrote:


   Hi Jessica,

   I posted my environment settings earlier, which are located here:
   http://pastebin.com/4vnWPAD2

   Yes, I did use bitbake meta-ide-support to build my roo

   Hi Jessica,

   I just did a full fresh re-build from scratch and now my environment
   variables are as follows:

   http://ix.io/1Wf

   My current git status is:

   # On branch edision
   # Untracked files:
   #   (use "git add <file>..." to include in what will be committed)
   #
   #    ../bitbake/lib/bb/pysh/pyshtables.py
   #    ../conf/
   #    ./
   #    ../qemuarm-toolchain/
   nothing added to commit but untracked files present (use "git add" to track)


Jack,

I just checked out a clean edison and ran bitbake meta-ide-support. My
env is showing export OECORE_DISTRO_VERSION="1.1". My guess is that,
since you are not in master, then you have a TMPDIR from a master
build, or perhaps are using something left over from one, as the only
place DISTRO_VERSION = "1.1+snapshot-${DATE}" would be there. Prior to
c88b991 on edison, DISTRO_VERSION = "1.0+snapshot-${DATE}". So you're
picking that up from some prior master build. It's not an older
version of edison as if it was an older version of edison it would be
1.0+snapshot-${DATE

-b



Ok, this is some more debug info:

OE Build Configuration:
BB_VERSION        = "1.13.3"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "1.1+snapshot-20111026"
TUNE_FEATURES     = "armv5 dsp thumb arm926ejs"
TARGET_FPU        = "soft"
meta
meta-yocto
meta-db-generic   = "edision:b4757833c3548b5ee3a1cce58e2f059b3f63cb09"

Could it be that because I have my own layer present it's skewing the git? Should the eclipse plug-in not match 1.1*?

Could you check your file of meta-yocto/conf/distro/poky.conf for the variable DISTRO_VERSION, it should be "1.1'.

It does indeed state 1.1.






[-- Attachment #2: Type: text/html, Size: 10999 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-10-26 15:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-24  9:03 Eclipse Plugin: ADT Version too old Jack Mitchell
2011-10-24  9:12 ` Jack Mitchell
2011-10-24 15:33   ` Joshua Lock
2011-10-24 15:41     ` Jack Mitchell
2011-10-24  9:18 ` Lu, Lianhao
2011-10-24  9:23   ` Jack Mitchell
2011-10-24 15:42     ` Zhang, Jessica
2011-10-24 15:44       ` Jack Mitchell
2011-10-24 15:55         ` Zhang, Jessica
2011-10-25 14:45           ` Jack Mitchell
2011-10-25 18:05             ` Joshua Lock
2011-10-25 20:17             ` Zhang, Jessica
2011-10-25 21:40             ` Flanagan, Elizabeth
2011-10-26  8:19               ` Jack Mitchell
2011-10-26 15:13                 ` Zhang, Jessica
2011-10-26  1:59             ` Lu, Lianhao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.