* How to debug dependency/setscene/sstate issues
@ 2014-11-01 12:08 Vuille, Martin (Martin)
2014-11-01 13:08 ` Bob Cochran
0 siblings, 1 reply; 5+ messages in thread
From: Vuille, Martin (Martin) @ 2014-11-01 12:08 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
I am using Poky daisy / Yocto 1.6.1
Occasionally, when building a custom image or SDK after changing
a package recipe or package content, I find that the do_rootfs task is not
executed for the image or the do_populate_sdk task is not executed
for the sdk.
There are custom classes, packages, packagegroups involved, so it is
possible, nay likely, that the problem is something I did or should've
done but didn't.
How to approach this problem?
Because the problem is intermittent, I usually won't realize there was
a problem until after bitbake is done and didn't build what I expected.
Is there a way to retrospectively review bitbake's decision-making?
Or do I need to run with -DDD all the time?
MV
[-- Attachment #2: Type: text/html, Size: 3152 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to debug dependency/setscene/sstate issues
2014-11-01 12:08 How to debug dependency/setscene/sstate issues Vuille, Martin (Martin)
@ 2014-11-01 13:08 ` Bob Cochran
2014-11-01 13:45 ` Vuille, Martin (Martin)
0 siblings, 1 reply; 5+ messages in thread
From: Bob Cochran @ 2014-11-01 13:08 UTC (permalink / raw)
To: yocto
Won't Toaster give you the insight you seek?
I still need to ramp up on mastering it, but I was hoping it would help
with this sort of thing.
On 11/01/2014 08:08 AM, Vuille, Martin (Martin) wrote:
> I am using Poky daisy / Yocto 1.6.1
>
> Occasionally, when building a custom image or SDK after changing
>
> a package recipe or package content, I find that the do_rootfs task is not
>
> executed for the image or the do_populate_sdk task is not executed
>
> for the sdk.
>
> There are custom classes, packages, packagegroups involved, so it is
>
> possible, nay likely, that the problem is something I did or should’ve
>
> done but didn’t.
>
> How to approach this problem?
>
> Because the problem is intermittent, I usually won’t realize there was
>
> a problem until after bitbake is done and didn’t build what I expected.
>
> Is there a way to retrospectively review bitbake’s decision-making?
>
> Or do I need to run with –DDD all the time?
>
> MV
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to debug dependency/setscene/sstate issues
2014-11-01 13:08 ` Bob Cochran
@ 2014-11-01 13:45 ` Vuille, Martin (Martin)
2014-11-03 14:11 ` Barros Pena, Belen
0 siblings, 1 reply; 5+ messages in thread
From: Vuille, Martin (Martin) @ 2014-11-01 13:45 UTC (permalink / raw)
To: Bob Cochran, yocto@yoctoproject.org
> -----Original Message-----
> From: yocto-bounces@yoctoproject.org [mailto:yocto-
> bounces@yoctoproject.org] On Behalf Of Bob Cochran
> Sent: November 01, 2014 9:08 AM
> To: yocto@yoctoproject.org
> Subject: Re: [yocto] How to debug dependency/setscene/sstate issues
>
> Won't Toaster give you the insight you seek?
>
> I still need to ramp up on mastering it, but I was hoping it would help with
> this sort of thing.
>
I'm still a Yocto newbie, so not familiar with Toaster.
Thanks for the tip, I'll see what it can do for me.
MV
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to debug dependency/setscene/sstate issues
2014-11-01 13:45 ` Vuille, Martin (Martin)
@ 2014-11-03 14:11 ` Barros Pena, Belen
2014-11-03 14:22 ` Vuille, Martin (Martin)
0 siblings, 1 reply; 5+ messages in thread
From: Barros Pena, Belen @ 2014-11-03 14:11 UTC (permalink / raw)
To: Vuille, Martin (Martin), yocto@yoctoproject.org
On 01/11/2014 13:45, "Vuille, Martin (Martin)" <vmartin@avaya.com> wrote:
>> -----Original Message-----
>> From: yocto-bounces@yoctoproject.org [mailto:yocto-
>> bounces@yoctoproject.org] On Behalf Of Bob Cochran
>> Sent: November 01, 2014 9:08 AM
>> To: yocto@yoctoproject.org
>> Subject: Re: [yocto] How to debug dependency/setscene/sstate issues
>>
>> Won't Toaster give you the insight you seek?
>>
>> I still need to ramp up on mastering it, but I was hoping it would help
>>with
>> this sort of thing.
>>
>
>I'm still a Yocto newbie, so not familiar with Toaster.
>
>Thanks for the tip, I'll see what it can do for me.
Hi Martin,
You probably found this already, but just in case. The instructions to set
up Toaster:
https://wiki.yoctoproject.org/wiki/Toaster
When you select a build, the 'Tasks' section in the left navigation will
tell you which tasks used shared state objects (tasks with outcome
'cached'), and which tasks didn't find a valid shared state object and
executed instead (tasks with cache attempt set to 'File not in cache'). If
you click on a task name, you will see which file the task looked for and
where. This might help debug your issue.
There is a video explaining the Tasks information in Toaster at
https://wiki.yoctoproject.org/wiki/images/a/a4/Toaster-manual-v5.webmhd.web
m
Cheers
Belén
>
>MV
>
>
>--
>_______________________________________________
>yocto mailing list
>yocto@yoctoproject.org
>https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to debug dependency/setscene/sstate issues
2014-11-03 14:11 ` Barros Pena, Belen
@ 2014-11-03 14:22 ` Vuille, Martin (Martin)
0 siblings, 0 replies; 5+ messages in thread
From: Vuille, Martin (Martin) @ 2014-11-03 14:22 UTC (permalink / raw)
To: Barros Pena, Belen, yocto@yoctoproject.org
Hi Belén,
> -----Original Message-----
> From: Barros Pena, Belen [mailto:belen.barros.pena@intel.com]
> Sent: November 03, 2014 9:12 AM
>
> Hi Martin,
>
> You probably found this already, but just in case. The instructions to set up
> Toaster:
>
> https://wiki.yoctoproject.org/wiki/Toaster
>
> When you select a build, the 'Tasks' section in the left navigation will tell
> you which tasks used shared state objects (tasks with outcome 'cached'),
> and which tasks didn't find a valid shared state object and executed instead
> (tasks with cache attempt set to 'File not in cache'). If you click on a task
> name, you will see which file the task looked for and where. This might help
> debug your issue.
>
> There is a video explaining the Tasks information in Toaster at
>
> https://wiki.yoctoproject.org/wiki/images/a/a4/Toaster-manual-
> v5.webmhd.web
> m
>
Thanks for the info. I am now using Toaster successfully.
MV
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-11-03 14:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-01 12:08 How to debug dependency/setscene/sstate issues Vuille, Martin (Martin)
2014-11-01 13:08 ` Bob Cochran
2014-11-01 13:45 ` Vuille, Martin (Martin)
2014-11-03 14:11 ` Barros Pena, Belen
2014-11-03 14:22 ` Vuille, Martin (Martin)
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.