Bug 7752

Summary: WARNING: The license listed CLOSED was not in the licenses collected
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Steffen Sledz <sledz>
Component: configurationAssignee: Aníbal Limón <anibal.limon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bluelightning
Version: 1.8.1   
Target Milestone: 1.9 M1   
Hardware: Other   
OS: Multiple   
URL: http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/63432
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Steffen Sledz 2015-05-13 10:58:48 UTC
Since switching from dizzy to fido we've some warnings related to some of our own closed source packages.

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [WARNING:]
WARNING: log_check: WARNING: The license listed CLOSED was not in the licenses collected for foo

The recipes contain lines like this one:

LICENSE = "CLOSED"
Comment 1 Paul Eggleton 2015-05-13 11:09:30 UTC
IMO, "CLOSED" should be explicitly excluded in this part of the code in license.bbclass. It isn't reasonable to expect to provide a generic license for "CLOSED".
Comment 2 Aníbal Limón 2015-05-13 13:27:02 UTC
(In reply to comment #1)
> IMO, "CLOSED" should be explicitly excluded in this part of the code in
> license.bbclass. It isn't reasonable to expect to provide a generic license
> for "CLOSED".

I'll add this exception but i think it requires documentation in what place should be documented?
Comment 3 Paul Eggleton 2015-05-13 13:52:33 UTC
I'm not sure whether there really is a place in the documentation where we would talk about this right now. There's no central mention of LICENSE = "CLOSED" - it only comes up when we talk about whether LIC_FILES_CHKSUM is required (currently the only place where it has an effect).