Bug 5276

Summary: [webhob-poky/master] 'recipe' field in 'target_package' returning 'null'
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Cristiana Voicu <cristiana.voicu>
Status: VERIFIED OBSOLETE QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, alexandru.damian, belen.barros.pena, bogdanx.a.voiculescu, cristiana.voicu
Version: unspecified   
Target Milestone: 1.6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
busybox-hwclock has the recipe
none
missing-recipes-in-target-packages.png none

Description Belen Barros Pena 2013-09-26 10:46:11 UTC
I've found quite a few instances of the 'recipe' field in 'target_package' returning 'null', when there is definitely a recipe generating the package. For example:

{\"size\": 0, \"version\": \"\", \"recipe\": null, \"target\": 55, \"name\": \"\\\"busybox-hwclock\\\"\"}},

According to the information collected by build history, the busybox-hwclock package is built by busybox. So the 'recipe' field should not be returning null. 

When 'recipe' is null, 'version' is empty.
Comment 1 Cristiana Voicu 2013-11-15 13:37:31 UTC
Created attachment 1623 [details]
busybox-hwclock has the recipe

Hi Belen,

I've made some builds, also including busybox-hwclock, but everything seems to be ok. Please see the attachment. I don't know how to reproduce it. Have you seen this recently? If yes, please give some advices how to reproduce it.
Thanks,Cristiana
Comment 2 Belen Barros Pena 2013-11-18 16:16:29 UTC
I was able to reproduce in master:d7ccfc7605f1eb61511b1b2b8db4ac689ce6a468 building core-image-minimal with a clean tmp directory.

If you visit the target packages page, some of them are missing the recipe (in the attached screenshot missing-recipes-in-target-packages.png we are missing recipes for libz1, libkmod2, libc6, kernel-3.10.17-yocto-standard, kernel-module-uvesafb, libblkid1 and libuuid1.
Comment 3 Belen Barros Pena 2013-11-18 16:16:55 UTC
Created attachment 1629 [details]
missing-recipes-in-target-packages.png
Comment 4 Cristiana Voicu 2013-12-19 11:00:23 UTC
The database was changed and the target_package table was removed. I will mark this bug as obsolete.
Comment 5 Alexandru Georgescu 2014-07-24 13:16:41 UTC
verified as per above comment.