Bug 10221

Summary: Builds where you specify a task show as if they had 2 targets
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Ed Bartosh <eduard.bartosh>
Status: RESOLVED FIXED QA Contact: Libertad <libertad.gonzalez.de.la.cruz>
Severity: normal    
Priority: Medium CC: belen.barros.pena, jessica.zhang, stanciux.mihail
Version: unspecified   
Target Milestone: 2.2 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Belen Barros Pena 2016-09-05 14:02:56 UTC
Steps to reproduce:

1. Create a Toaster project with release master
2. Build busybox
3. When the build finishes, in the build form type: "busybox:clean" then click "build"

Result: while the build is in progress, the build target shows correctly as "busybox:clean". But one the build completes, it shows the following as targets:

busybox:clean 
busybox:clean:do_build 

This is not correct: the build target should be just busybox:clean.
Comment 1 Ed Bartosh 2016-09-09 14:53:56 UTC
It's a bug in bitbake code, so I've sent fix directly to bitbake-devel: http://lists.openembedded.org/pipermail/bitbake-devel/2016-September/008010.html
Comment 2 Ed Bartosh 2016-09-19 09:16:21 UTC
The fix has been merged to poky master: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5414b80e8df11188d8e67a37185305c34ea084bd