Bug 5457 - Too many tasks reported as noexec
Summary: Too many tasks reported as noexec
Status: VERIFIED DUPLICATE of bug 5327
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6
Assignee: Alexandru Damian
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-11-04 18:28 UTC by Belen Barros Pena
Modified: 2014-08-11 13:56 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
gcc-cross-tasks-coming-as-noexec.png (220.12 KB, image/png)
2013-11-04 18:28 UTC, Belen Barros Pena
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2013-11-04 18:28:51 UTC
Created attachment 1600 [details]
gcc-cross-tasks-coming-as-noexec.png

There seems to be way too many tasks reported as 'noexec'. For example, for gcc-cross, the following tasks should be 'noexec' tasks:

meta/recipes-devtools/gcc/gcc-cross.inc:do_package[noexec] = "1"
meta/recipes-devtools/gcc/gcc-cross.inc:do_packagedata[noexec] = "1"
meta/recipes-devtools/gcc/gcc-cross.inc:do_package_write_ipk[noexec] = "1"
meta/recipes-devtools/gcc/gcc-cross.inc:do_package_write_rpm[noexec] = "1"
meta/recipes-devtools/gcc/gcc-cross.inc:do_package_write_deb[noexec] = "1"

However, as you can see in the attached screenshot, do_fetch, do_unpack, do_patch, do_configure, do_compile, do_install and do_populate_sysroot are also being reported as 'noexec'.

Found in dora-toaster:46814c99eed399b6dd9ff9e83260fefe79c23ec8
Comment 1 Alexandru Damian 2013-11-04 22:09:43 UTC
All tasks that are not executed are by default NoExec. 

The script type field should always be interpreted in relation with the task type field. 

I'm not sure what the expected behaviour is.
Comment 2 Belen Barros Pena 2013-11-05 10:57:40 UTC
We sorted this out as part of bug 5327

executed - noexec will have the script_type set to noexec

covered / prebuilt - noexec will have a null script_type 

I am closing this one.

*** This bug has been marked as a duplicate of bug 5327 ***
Comment 3 Mihail Stanciu 2014-08-11 13:56:27 UTC
Verified.