Bug 5194

Summary: [webhob-poky/master] licensing_info is missing
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED OBSOLETE QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.damian, andreea.b.proca, belen.barros.pena, jessica.zhang
Version: 1.5   
Target Milestone: 1.6 M1   
Hardware: All   
OS: Multiple   
Whiteboard: bitbake, toasterui
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Belen Barros Pena 2013-09-13 14:29:13 UTC
I am guessing licensing_info is the full path to the directory containing the recipe license files. It seems to be missing (at least from the simple interface).

webhob-poky/master:aa7bec2e9dffd6901ebe3accf748ce458d1481a3
Comment 1 Alexandru Damian 2013-09-19 13:48:32 UTC
Fixed, patch will be in master-poky/master-1_5-1909
Comment 2 Belen Barros Pena 2013-09-23 14:04:06 UTC
This is returning a file name, but it should be returning the full path to the license files. So, for example, for psplash, licensing_info returns 

file://psplash.h

When it should return:

/home/<user>/poky/build/tmp/work/i586-poky-linux/psplash/0.1+gitAUTOINC+afd4e228c6-r15/license-destdir/psplash/

Also, it very often returns "not available". An example for base-passwd is below:

{\"description\": \"The master copies of the user database files (/etc/passwd and /etc/group).  The update-passwd tool is also provided to keep the system databases synchronized with these master files.\", \"license\": \"GPLv2+\", \"author\": \"Not Available\", \"bugtracker\": \"\", \"section\": \"base\", \"layer_version\": 23, \"licensing_info\": \"Not Available\", \"summary\": \"Base system master password/group files.\", \"version\": \":3.5.26-r2\", \"homepage\": \"unknown\", \"file_path\": \"/home/yocto/poky/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb\", \"name\": \"base-passwd\"}}

The licensing_info field should return:

/home/<user>/poky/build/tmp/work/i586-poky-linux/base-passwd/3.5.26-r2/license-destdir/base-passwd/
Comment 3 Alexandru Damian 2013-11-20 18:04:59 UTC
Fixed in poky-contrib:toaster/master 	60d06c661730aa349befe1daef487ae9190f954d
Comment 4 Belen Barros Pena 2013-12-20 16:08:30 UTC
We are removing this field from the recipes table. See bug 5647
Comment 5 Andreea Brandusa Proca 2014-01-21 15:12:59 UTC
I will set this bug to verified since we have bug 5647 and we are not interested in the field licensing_info.