Bug 5299

Summary: [webhob-poky/master] do_package tasks are listed for -native targets
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, bluelightning, jessica.zhang
Version: unspecified   
Target Milestone: 1.6 M1   
Hardware: All   
OS: Multiple   
Whiteboard: bitbake
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
do_package tasks for native target
none
Still do_package tasks listed for native targets none

Description Belen Barros Pena 2013-10-01 13:54:34 UTC
Created attachment 1536 [details]
do_package tasks for native target

I've found a build reporting do_package* tasks for a native target (see attached screenshot). According to Paul Eggleton, such tasks do not apply to native targets. 

Build stats info for that build collected information for a do_package_write_ipk task, but for update-rc.d, not update-rc.d-native. Could the recipe name have been wrongly collected by web hob?
Comment 1 Alexandru Damian 2013-10-01 14:41:32 UTC
Can you please describe the commands you ran and configuration you used ?
Comment 2 Alexandru Damian 2013-10-01 15:56:26 UTC
Fix available on 

adamian/webhob-minimal-1_5-3
Comment 3 Belen Barros Pena 2013-10-03 10:10:00 UTC
Created attachment 1543 [details]
Still do_package tasks listed for native targets

It is not working for me in 

adamian/webhob-minimal-1_5-3

Still do_package tasks listed for native targets (see screenshot).
Comment 4 Belen Barros Pena 2013-10-07 15:24:10 UTC
Not working on webhob-poky/master:aa7bec2e9dffd6901ebe3accf748ce458d1481a3
Comment 5 Belen Barros Pena 2013-10-09 13:33:23 UTC
We have figured out that those do_package tasks for native targets are noexec tasks. For the time being:

* we will identify those tasks with a new a value for the script_type field. Such value will be the script_type default value

* we will not show those tasks in the interface (on the assumption that showing them provides no useful information beyond reflecting exactly what the build system has done). Not showing noexec tasks will have an impact on:

** dependency information: they will not be listed in the task dependency info
** task order: there will be gaps in the order sequence numbers

We might need to discuss the current task classification and how to accommodate noexec tasks at some point.
Comment 6 Alexandru Damian 2013-10-21 14:02:59 UTC
Need to implement noexec flag
Comment 7 Alexandru Damian 2013-11-22 15:18:51 UTC
Integrated in origin/master and origin/dora+toaster
Comment 8 Belen Barros Pena 2013-11-27 15:17:06 UTC
verified in

master:1e084f9d755e3458d2f9863382fa3bb7877a146d
dora-toaster:1182665de0da9a6e5fc77107f32a7fc1515029d0