* My config got stuck in the toaster
@ 2014-12-27 15:40 Mills, William
2014-12-27 18:48 ` William Mills
0 siblings, 1 reply; 10+ messages in thread
From: Mills, William @ 2014-12-27 15:40 UTC (permalink / raw)
To: yocto@yoctoproject.org
OK, you are not going to believe me but I swear this really happened ...
I have been playing with YP 1.7 over the break.
I thought I would give toaster a try so I had it running in the background as I tried various builds.
Somehow I got into a state where changes to my conf/local.conf file were being ignored.
I fixed it by stopping toaster.
Here is the sequence as I remember:
I was doing builds for qemuarm.
At some point I started toaster "source toaster start"
It could have been from a clean build dir but probably I had done a couple of test builds first.
For qemuarm I built:
core-image-minimal, meta-toolchain, core-image-sato, core-image-sato-sdk, world
I definitely poked around the toaster UI at some of those builds.
Next in the same build dir (and the same screen session) I edited conf/local.conf to
MACHINE = qemux86
I then did core-image-sato again
It built for qemuarm
I double check conf/* and ENV settings.
I rm -rf cache
still builds for qemuarm
I stopped toaster with "source toaster stop"
I rm -rf cache again for safe keeping
I tried core-image-sato again and it started building for qemux86.
I tried to reproduce this with a clean build dir and a trivial target "bitbake -c clean ed"
With or without toaster running it always detects the config change and rebuilds the cache.
In the process I have now learned that removing the cache dir does not cause a reparse as I expected.
However a config change does.
I thought I had a theory w/ persistent bitbake process and files being kept open
but I can't connect the dots and I can't reproduce it.
Any Ideas?
BTW: Building "world" does not look nice in toaster. It list 100s of build targets instead of just "world".
Thanks,
Bill
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: My config got stuck in the toaster
2014-12-27 15:40 My config got stuck in the toaster Mills, William
@ 2014-12-27 18:48 ` William Mills
2014-12-28 7:16 ` Barros Pena, Belen
2015-01-05 11:59 ` Barros Pena, Belen
0 siblings, 2 replies; 10+ messages in thread
From: William Mills @ 2014-12-27 18:48 UTC (permalink / raw)
To: yocto@yoctoproject.org
On 12/27/2014 10:40 AM, Mills, William wrote:
> OK, you are not going to believe me but I swear this really happened ...
>
> I have been playing with YP 1.7 over the break.
> I thought I would give toaster a try so I had it running in the background as I tried various builds.
> Somehow I got into a state where changes to my conf/local.conf file were being ignored.
> I fixed it by stopping toaster.
>
> Here is the sequence as I remember:
>
> I was doing builds for qemuarm.
> At some point I started toaster "source toaster start"
> It could have been from a clean build dir but probably I had done a couple of test builds first.
> For qemuarm I built:
> core-image-minimal, meta-toolchain, core-image-sato, core-image-sato-sdk, world
> I definitely poked around the toaster UI at some of those builds.
> Next in the same build dir (and the same screen session) I edited conf/local.conf to
> MACHINE = qemux86
> I then did core-image-sato again
> It built for qemuarm
> I double check conf/* and ENV settings.
> I rm -rf cache
> still builds for qemuarm
> I stopped toaster with "source toaster stop"
> I rm -rf cache again for safe keeping
> I tried core-image-sato again and it started building for qemux86.
>
> I tried to reproduce this with a clean build dir and a trivial target "bitbake -c clean ed"
> With or without toaster running it always detects the config change and rebuilds the cache.
> In the process I have now learned that removing the cache dir does not cause a reparse as I expected.
> However a config change does.
>
> I thought I had a theory w/ persistent bitbake process and files being kept open
> but I can't connect the dots and I can't reproduce it.
>
Actually it is easy to reproduce.
The first time I tried I don't think toaster was starting as port 8000
was busy. I thought I had stopped the other instance but I guess not.
To reproduce this I did this:
yocto$ $ . poky/oe-init-build-env toasted-build
yocto/toasted-build$ source toaster start
yocto/toasted-build$ bitbake -c clean ed
runs with MACHINE = "qemux86"
yocto/toasted-build$ mcedit conf/local.conf
change to MACHINE ??= "qemuarm"
yocto/toasted-build$ bitbake -c clean ed
still runs for qemux86
yocto/toasted-build$ source toaster stop
yocto/toasted-build$ bitbake -c clean ed
runs for qemuarm
Am I starting toaster in the wrong way to be just an observer?
I learned how to start toaster this way from:
https://www.yoctoproject.org/documentation/toaster-manual-17 ->
First link is "How to install and run Toaster locally" ->
https://wiki.yoctoproject.org/wiki/Setting_up_a_local_instance_of_Toaster
The Yocto Project Dev guide say the same thing:
https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#examining-builds-using-toaster
> Any Ideas?
>
> BTW: Building "world" does not look nice in toaster. It list 100s of build targets instead of just "world".
>
> Thanks,
> Bill
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: My config got stuck in the toaster
2014-12-27 18:48 ` William Mills
@ 2014-12-28 7:16 ` Barros Pena, Belen
2015-01-05 16:53 ` William Mills
2015-01-05 11:59 ` Barros Pena, Belen
1 sibling, 1 reply; 10+ messages in thread
From: Barros Pena, Belen @ 2014-12-28 7:16 UTC (permalink / raw)
To: William Mills, yocto@yoctoproject.org
On 28/12/2014 00:18, "William Mills" <wmills@ti.com> wrote:
>BTW: Building "world" does not look nice in toaster. It list 100s of
>build targets instead of just "world".
Anything with "does not look nice in toaster" is probably my problem.
Can I ask you to open an issue in Bugzilla for this, so that we can put
some thought into how to present 'world' builds?
Thanks!
Belén
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: My config got stuck in the toaster
2014-12-28 7:16 ` Barros Pena, Belen
@ 2015-01-05 16:53 ` William Mills
2015-01-06 7:22 ` Barros Pena, Belen
0 siblings, 1 reply; 10+ messages in thread
From: William Mills @ 2015-01-05 16:53 UTC (permalink / raw)
To: Barros Pena, Belen, yocto@yoctoproject.org
On 12/28/2014 02:16 AM, Barros Pena, Belen wrote:
> On 28/12/2014 00:18, "William Mills" <wmills@ti.com> wrote:
>
>> BTW: Building "world" does not look nice in toaster. It list 100s of
>> build targets instead of just "world".
>
> Anything with "does not look nice in toaster" is probably my problem.
>
> Can I ask you to open an issue in Bugzilla for this, so that we can put
> some thought into how to present 'world' builds?
>
Done.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7110
Thanks.
I also noticed that the "toaster manual" link in the upper corner of the
UI links to the Hob manual not the toaster manual.
I am running 1.7 code but the URL in templates/base.html looks OK to me.
The website seems to be redirecting this to the hob manual.
I filed the following bug against infrastructure with you in CC.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7111
-- Bill
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: My config got stuck in the toaster
2015-01-05 16:53 ` William Mills
@ 2015-01-06 7:22 ` Barros Pena, Belen
0 siblings, 0 replies; 10+ messages in thread
From: Barros Pena, Belen @ 2015-01-06 7:22 UTC (permalink / raw)
To: William Mills, yocto@yoctoproject.org
On 05/01/2015 22:23, "William Mills" <wmills@ti.com> wrote:
>
>
>On 12/28/2014 02:16 AM, Barros Pena, Belen wrote:
>> On 28/12/2014 00:18, "William Mills" <wmills@ti.com> wrote:
>>
>>> BTW: Building "world" does not look nice in toaster. It list 100s of
>>> build targets instead of just "world".
>>
>> Anything with "does not look nice in toaster" is probably my problem.
>>
>> Can I ask you to open an issue in Bugzilla for this, so that we can put
>> some thought into how to present 'world' builds?
>>
>
>Done.
>https://bugzilla.yoctoproject.org/show_bug.cgi?id=7110
>
>Thanks.
>
>I also noticed that the "toaster manual" link in the upper corner of the
>UI links to the Hob manual not the toaster manual.
>
>I am running 1.7 code but the URL in templates/base.html looks OK to me.
>The website seems to be redirecting this to the hob manual.
>
>I filed the following bug against infrastructure with you in CC.
>https://bugzilla.yoctoproject.org/show_bug.cgi?id=7111
Excellent. Thanks!
Belén
>
>-- Bill
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: My config got stuck in the toaster
2014-12-27 18:48 ` William Mills
2014-12-28 7:16 ` Barros Pena, Belen
@ 2015-01-05 11:59 ` Barros Pena, Belen
2015-01-05 16:32 ` William Mills
2015-02-11 18:35 ` Bob Cochran
1 sibling, 2 replies; 10+ messages in thread
From: Barros Pena, Belen @ 2015-01-05 11:59 UTC (permalink / raw)
To: William Mills, yocto@yoctoproject.org
On 28/12/2014 00:18, "William Mills" <wmills@ti.com> wrote:
>
>On 12/27/2014 10:40 AM, Mills, William wrote:
>> OK, you are not going to believe me but I swear this really happened ...
We do believe you :)
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6935
Hopefully to be fixed soon.
Cheers
Belén
>>
>> I have been playing with YP 1.7 over the break.
>> I thought I would give toaster a try so I had it running in the
>>background as I tried various builds.
>> Somehow I got into a state where changes to my conf/local.conf file
>>were being ignored.
>> I fixed it by stopping toaster.
>>
>> Here is the sequence as I remember:
>>
>> I was doing builds for qemuarm.
>> At some point I started toaster "source toaster start"
>> It could have been from a clean build dir but probably I had done a
>>couple of test builds first.
>> For qemuarm I built:
>> core-image-minimal, meta-toolchain, core-image-sato,
>>core-image-sato-sdk, world
>> I definitely poked around the toaster UI at some of those builds.
>> Next in the same build dir (and the same screen session) I edited
>>conf/local.conf to
>> MACHINE = qemux86
>> I then did core-image-sato again
>> It built for qemuarm
>> I double check conf/* and ENV settings.
>> I rm -rf cache
>> still builds for qemuarm
>> I stopped toaster with "source toaster stop"
>> I rm -rf cache again for safe keeping
>> I tried core-image-sato again and it started building for qemux86.
>>
>> I tried to reproduce this with a clean build dir and a trivial target
>>"bitbake -c clean ed"
>> With or without toaster running it always detects the config change and
>>rebuilds the cache.
>> In the process I have now learned that removing the cache dir does not
>>cause a reparse as I expected.
>> However a config change does.
>>
>> I thought I had a theory w/ persistent bitbake process and files being
>>kept open
>> but I can't connect the dots and I can't reproduce it.
>>
>
>Actually it is easy to reproduce.
>
>The first time I tried I don't think toaster was starting as port 8000
>was busy. I thought I had stopped the other instance but I guess not.
>
>To reproduce this I did this:
>
>yocto$ $ . poky/oe-init-build-env toasted-build
>yocto/toasted-build$ source toaster start
>yocto/toasted-build$ bitbake -c clean ed
> runs with MACHINE = "qemux86"
>yocto/toasted-build$ mcedit conf/local.conf
> change to MACHINE ??= "qemuarm"
>yocto/toasted-build$ bitbake -c clean ed
> still runs for qemux86
>yocto/toasted-build$ source toaster stop
>yocto/toasted-build$ bitbake -c clean ed
> runs for qemuarm
>
>Am I starting toaster in the wrong way to be just an observer?
>I learned how to start toaster this way from:
>https://www.yoctoproject.org/documentation/toaster-manual-17 ->
> First link is "How to install and run Toaster locally" ->
>https://wiki.yoctoproject.org/wiki/Setting_up_a_local_instance_of_Toaster
>
>The Yocto Project Dev guide say the same thing:
>https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#exami
>ning-builds-using-toaster
>
>> Any Ideas?
>>
>> BTW: Building "world" does not look nice in toaster. It list 100s of
>>build targets instead of just "world".
>>
>> Thanks,
>> Bill
>>
>--
>_______________________________________________
>yocto mailing list
>yocto@yoctoproject.org
>https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: My config got stuck in the toaster
2015-01-05 11:59 ` Barros Pena, Belen
@ 2015-01-05 16:32 ` William Mills
2015-02-11 18:35 ` Bob Cochran
1 sibling, 0 replies; 10+ messages in thread
From: William Mills @ 2015-01-05 16:32 UTC (permalink / raw)
To: Barros Pena, Belen, yocto@yoctoproject.org
On 01/05/2015 06:59 AM, Barros Pena, Belen wrote:
> On 28/12/2014 00:18, "William Mills" <wmills@ti.com> wrote:
>
>>
>> On 12/27/2014 10:40 AM, Mills, William wrote:
>>> OK, you are not going to believe me but I swear this really happened ...
>
> We do believe you :)
>
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=6935
>
Yep that sounds like another symptom of the same issue.
Thanks.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: My config got stuck in the toaster
2015-01-05 11:59 ` Barros Pena, Belen
2015-01-05 16:32 ` William Mills
@ 2015-02-11 18:35 ` Bob Cochran
2015-02-12 10:42 ` Barros Pena, Belen
2015-02-13 11:08 ` Barros Pena, Belen
1 sibling, 2 replies; 10+ messages in thread
From: Bob Cochran @ 2015-02-11 18:35 UTC (permalink / raw)
To: Barros Pena, Belen, William Mills, yocto@yoctoproject.org
On 01/05/2015 06:59 AM, Barros Pena, Belen wrote:
> On 28/12/2014 00:18, "William Mills" <wmills@ti.com> wrote:
>
>>
>> On 12/27/2014 10:40 AM, Mills, William wrote:
>>> OK, you are not going to believe me but I swear this really happened ...
>
> We do believe you :)
>
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=6935
Looks like this was patched & closed, but I'm seeing similar behavior
working with poky master (commit: 870323cac1e40).
I was modifying the MACHINEOVERRIDES settings in some of the conf files.
I noticed that the values weren't picked up during a build until I
stopped toaster (source toaster stop). However, bitbake did seem to
pick up each prepend and append modification ( =. and .=) while toaster
was running (but not the change in the variable's value).
In summary:
i) source toaster start
ii) make changes to MACHINEOVERRIDES in meta-fsl-ppc layer conf files
iii) bitbake init-ifupdown
iv) changes aren't accurately reflected in the build
v) source toaster stop
vi) bitbake init-ifupdown # all is OK
Bob
>
>
> Hopefully to be fixed soon.
>
> Cheers
>
> Belén
>
>>>
>>> I have been playing with YP 1.7 over the break.
>>> I thought I would give toaster a try so I had it running in the
>>> background as I tried various builds.
>>> Somehow I got into a state where changes to my conf/local.conf file
>>> were being ignored.
>>> I fixed it by stopping toaster.
>>>
>>> Here is the sequence as I remember:
>>>
>>> I was doing builds for qemuarm.
>>> At some point I started toaster "source toaster start"
>>> It could have been from a clean build dir but probably I had done a
>>> couple of test builds first.
>>> For qemuarm I built:
>>> core-image-minimal, meta-toolchain, core-image-sato,
>>> core-image-sato-sdk, world
>>> I definitely poked around the toaster UI at some of those builds.
>>> Next in the same build dir (and the same screen session) I edited
>>> conf/local.conf to
>>> MACHINE = qemux86
>>> I then did core-image-sato again
>>> It built for qemuarm
>>> I double check conf/* and ENV settings.
>>> I rm -rf cache
>>> still builds for qemuarm
>>> I stopped toaster with "source toaster stop"
>>> I rm -rf cache again for safe keeping
>>> I tried core-image-sato again and it started building for qemux86.
>>>
>>> I tried to reproduce this with a clean build dir and a trivial target
>>> "bitbake -c clean ed"
>>> With or without toaster running it always detects the config change and
>>> rebuilds the cache.
>>> In the process I have now learned that removing the cache dir does not
>>> cause a reparse as I expected.
>>> However a config change does.
>>>
>>> I thought I had a theory w/ persistent bitbake process and files being
>>> kept open
>>> but I can't connect the dots and I can't reproduce it.
>>>
>>
>> Actually it is easy to reproduce.
>>
>> The first time I tried I don't think toaster was starting as port 8000
>> was busy. I thought I had stopped the other instance but I guess not.
>>
>> To reproduce this I did this:
>>
>> yocto$ $ . poky/oe-init-build-env toasted-build
>> yocto/toasted-build$ source toaster start
>> yocto/toasted-build$ bitbake -c clean ed
>> runs with MACHINE = "qemux86"
>> yocto/toasted-build$ mcedit conf/local.conf
>> change to MACHINE ??= "qemuarm"
>> yocto/toasted-build$ bitbake -c clean ed
>> still runs for qemux86
>> yocto/toasted-build$ source toaster stop
>> yocto/toasted-build$ bitbake -c clean ed
>> runs for qemuarm
>>
>> Am I starting toaster in the wrong way to be just an observer?
>> I learned how to start toaster this way from:
>> https://www.yoctoproject.org/documentation/toaster-manual-17 ->
>> First link is "How to install and run Toaster locally" ->
>> https://wiki.yoctoproject.org/wiki/Setting_up_a_local_instance_of_Toaster
>>
>> The Yocto Project Dev guide say the same thing:
>> https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#exami
>> ning-builds-using-toaster
>>
>>> Any Ideas?
>>>
>>> BTW: Building "world" does not look nice in toaster. It list 100s of
>>> build targets instead of just "world".
>>>
>>> Thanks,
>>> Bill
>>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: My config got stuck in the toaster
2015-02-11 18:35 ` Bob Cochran
@ 2015-02-12 10:42 ` Barros Pena, Belen
2015-02-13 11:08 ` Barros Pena, Belen
1 sibling, 0 replies; 10+ messages in thread
From: Barros Pena, Belen @ 2015-02-12 10:42 UTC (permalink / raw)
To: Bob Cochran, yocto@yoctoproject.org
On 11/02/2015 18:35, "Bob Cochran" <yocto@mindchasers.com> wrote:
>On 01/05/2015 06:59 AM, Barros Pena, Belen wrote:
>> On 28/12/2014 00:18, "William Mills" <wmills@ti.com> wrote:
>>
>>>
>>> On 12/27/2014 10:40 AM, Mills, William wrote:
>>>> OK, you are not going to believe me but I swear this really happened
>>>>...
>>
>> We do believe you :)
>>
>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=6935
>
>
>Looks like this was patched & closed, but I'm seeing similar behavior
>working with poky master (commit: 870323cac1e40).
>
>I was modifying the MACHINEOVERRIDES settings in some of the conf files.
> I noticed that the values weren't picked up during a build until I
>stopped toaster (source toaster stop). However, bitbake did seem to
>pick up each prepend and append modification ( =. and .=) while toaster
>was running (but not the change in the variable's value).
>
>In summary:
>
>i) source toaster start
>ii) make changes to MACHINEOVERRIDES in meta-fsl-ppc layer conf files
>iii) bitbake init-ifupdown
>iv) changes aren't accurately reflected in the build
>v) source toaster stop
>vi) bitbake init-ifupdown # all is OK
Thanks for reporting this, Bob.
We'll look into it to see what's going on.
Cheers
Belén
>
>Bob
>
>
>
>
>
>>
>>
>> Hopefully to be fixed soon.
>>
>> Cheers
>>
>> Belén
>>
>>>>
>>>> I have been playing with YP 1.7 over the break.
>>>> I thought I would give toaster a try so I had it running in the
>>>> background as I tried various builds.
>>>> Somehow I got into a state where changes to my conf/local.conf file
>>>> were being ignored.
>>>> I fixed it by stopping toaster.
>>>>
>>>> Here is the sequence as I remember:
>>>>
>>>> I was doing builds for qemuarm.
>>>> At some point I started toaster "source toaster start"
>>>> It could have been from a clean build dir but probably I had done a
>>>> couple of test builds first.
>>>> For qemuarm I built:
>>>> core-image-minimal, meta-toolchain, core-image-sato,
>>>> core-image-sato-sdk, world
>>>> I definitely poked around the toaster UI at some of those builds.
>>>> Next in the same build dir (and the same screen session) I edited
>>>> conf/local.conf to
>>>> MACHINE = qemux86
>>>> I then did core-image-sato again
>>>> It built for qemuarm
>>>> I double check conf/* and ENV settings.
>>>> I rm -rf cache
>>>> still builds for qemuarm
>>>> I stopped toaster with "source toaster stop"
>>>> I rm -rf cache again for safe keeping
>>>> I tried core-image-sato again and it started building for qemux86.
>>>>
>>>> I tried to reproduce this with a clean build dir and a trivial target
>>>> "bitbake -c clean ed"
>>>> With or without toaster running it always detects the config change
>>>>and
>>>> rebuilds the cache.
>>>> In the process I have now learned that removing the cache dir does not
>>>> cause a reparse as I expected.
>>>> However a config change does.
>>>>
>>>> I thought I had a theory w/ persistent bitbake process and files being
>>>> kept open
>>>> but I can't connect the dots and I can't reproduce it.
>>>>
>>>
>>> Actually it is easy to reproduce.
>>>
>>> The first time I tried I don't think toaster was starting as port 8000
>>> was busy. I thought I had stopped the other instance but I guess not.
>>>
>>> To reproduce this I did this:
>>>
>>> yocto$ $ . poky/oe-init-build-env toasted-build
>>> yocto/toasted-build$ source toaster start
>>> yocto/toasted-build$ bitbake -c clean ed
>>> runs with MACHINE = "qemux86"
>>> yocto/toasted-build$ mcedit conf/local.conf
>>> change to MACHINE ??= "qemuarm"
>>> yocto/toasted-build$ bitbake -c clean ed
>>> still runs for qemux86
>>> yocto/toasted-build$ source toaster stop
>>> yocto/toasted-build$ bitbake -c clean ed
>>> runs for qemuarm
>>>
>>> Am I starting toaster in the wrong way to be just an observer?
>>> I learned how to start toaster this way from:
>>> https://www.yoctoproject.org/documentation/toaster-manual-17 ->
>>> First link is "How to install and run Toaster locally" ->
>>>
>>>https://wiki.yoctoproject.org/wiki/Setting_up_a_local_instance_of_Toaste
>>>r
>>>
>>> The Yocto Project Dev guide say the same thing:
>>>
>>>https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#exa
>>>mi
>>> ning-builds-using-toaster
>>>
>>>> Any Ideas?
>>>>
>>>> BTW: Building "world" does not look nice in toaster. It list 100s of
>>>> build targets instead of just "world".
>>>>
>>>> Thanks,
>>>> Bill
>>>>
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: My config got stuck in the toaster
2015-02-11 18:35 ` Bob Cochran
2015-02-12 10:42 ` Barros Pena, Belen
@ 2015-02-13 11:08 ` Barros Pena, Belen
1 sibling, 0 replies; 10+ messages in thread
From: Barros Pena, Belen @ 2015-02-13 11:08 UTC (permalink / raw)
To: Bob Cochran, William Mills, yocto@yoctoproject.org
On 11/02/2015 18:35, "Bob Cochran" <yocto@mindchasers.com> wrote:
>On 01/05/2015 06:59 AM, Barros Pena, Belen wrote:
>> On 28/12/2014 00:18, "William Mills" <wmills@ti.com> wrote:
>>
>>>
>>> On 12/27/2014 10:40 AM, Mills, William wrote:
>>>> OK, you are not going to believe me but I swear this really happened
>>>>...
>>
>> We do believe you :)
>>
>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=6935
>
>
>Looks like this was patched & closed, but I'm seeing similar behavior
>working with poky master (commit: 870323cac1e40).
Indeed we have some kind of problem there. We've opened this
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7316
Cheers
Belén
>
>I was modifying the MACHINEOVERRIDES settings in some of the conf files.
> I noticed that the values weren't picked up during a build until I
>stopped toaster (source toaster stop). However, bitbake did seem to
>pick up each prepend and append modification ( =. and .=) while toaster
>was running (but not the change in the variable's value).
>
>In summary:
>
>i) source toaster start
>ii) make changes to MACHINEOVERRIDES in meta-fsl-ppc layer conf files
>iii) bitbake init-ifupdown
>iv) changes aren't accurately reflected in the build
>v) source toaster stop
>vi) bitbake init-ifupdown # all is OK
>
>Bob
>
>
>
>
>
>>
>>
>> Hopefully to be fixed soon.
>>
>> Cheers
>>
>> Belén
>>
>>>>
>>>> I have been playing with YP 1.7 over the break.
>>>> I thought I would give toaster a try so I had it running in the
>>>> background as I tried various builds.
>>>> Somehow I got into a state where changes to my conf/local.conf file
>>>> were being ignored.
>>>> I fixed it by stopping toaster.
>>>>
>>>> Here is the sequence as I remember:
>>>>
>>>> I was doing builds for qemuarm.
>>>> At some point I started toaster "source toaster start"
>>>> It could have been from a clean build dir but probably I had done a
>>>> couple of test builds first.
>>>> For qemuarm I built:
>>>> core-image-minimal, meta-toolchain, core-image-sato,
>>>> core-image-sato-sdk, world
>>>> I definitely poked around the toaster UI at some of those builds.
>>>> Next in the same build dir (and the same screen session) I edited
>>>> conf/local.conf to
>>>> MACHINE = qemux86
>>>> I then did core-image-sato again
>>>> It built for qemuarm
>>>> I double check conf/* and ENV settings.
>>>> I rm -rf cache
>>>> still builds for qemuarm
>>>> I stopped toaster with "source toaster stop"
>>>> I rm -rf cache again for safe keeping
>>>> I tried core-image-sato again and it started building for qemux86.
>>>>
>>>> I tried to reproduce this with a clean build dir and a trivial target
>>>> "bitbake -c clean ed"
>>>> With or without toaster running it always detects the config change
>>>>and
>>>> rebuilds the cache.
>>>> In the process I have now learned that removing the cache dir does not
>>>> cause a reparse as I expected.
>>>> However a config change does.
>>>>
>>>> I thought I had a theory w/ persistent bitbake process and files being
>>>> kept open
>>>> but I can't connect the dots and I can't reproduce it.
>>>>
>>>
>>> Actually it is easy to reproduce.
>>>
>>> The first time I tried I don't think toaster was starting as port 8000
>>> was busy. I thought I had stopped the other instance but I guess not.
>>>
>>> To reproduce this I did this:
>>>
>>> yocto$ $ . poky/oe-init-build-env toasted-build
>>> yocto/toasted-build$ source toaster start
>>> yocto/toasted-build$ bitbake -c clean ed
>>> runs with MACHINE = "qemux86"
>>> yocto/toasted-build$ mcedit conf/local.conf
>>> change to MACHINE ??= "qemuarm"
>>> yocto/toasted-build$ bitbake -c clean ed
>>> still runs for qemux86
>>> yocto/toasted-build$ source toaster stop
>>> yocto/toasted-build$ bitbake -c clean ed
>>> runs for qemuarm
>>>
>>> Am I starting toaster in the wrong way to be just an observer?
>>> I learned how to start toaster this way from:
>>> https://www.yoctoproject.org/documentation/toaster-manual-17 ->
>>> First link is "How to install and run Toaster locally" ->
>>>
>>>https://wiki.yoctoproject.org/wiki/Setting_up_a_local_instance_of_Toaste
>>>r
>>>
>>> The Yocto Project Dev guide say the same thing:
>>>
>>>https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#exa
>>>mi
>>> ning-builds-using-toaster
>>>
>>>> Any Ideas?
>>>>
>>>> BTW: Building "world" does not look nice in toaster. It list 100s of
>>>> build targets instead of just "world".
>>>>
>>>> Thanks,
>>>> Bill
>>>>
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-02-13 11:08 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-27 15:40 My config got stuck in the toaster Mills, William
2014-12-27 18:48 ` William Mills
2014-12-28 7:16 ` Barros Pena, Belen
2015-01-05 16:53 ` William Mills
2015-01-06 7:22 ` Barros Pena, Belen
2015-01-05 11:59 ` Barros Pena, Belen
2015-01-05 16:32 ` William Mills
2015-02-11 18:35 ` Bob Cochran
2015-02-12 10:42 ` Barros Pena, Belen
2015-02-13 11:08 ` Barros Pena, Belen
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.