Bug 1712

Summary: license.bbclass: wrong openssl mapping
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Martin Jansa <Martin.Jansa>
Component: coreAssignee: Beth Flanagan <elizabeth.flanagan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, sgw
Version: unspecified   
Target Milestone: 1.2 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Martin Jansa 2011-11-02 05:24:38 UTC
$ ls -lah openembedded-core/meta/files/common-licenses/OpenSSL
-rw-r--r-- 1 bitbake bitbake 5.6K Sep 22 15:53 openembedded-core/meta/files/common-licenses/OpenSSL
$ ls -lah tmp/deploy/licenses/openssl/generic_Openssl
lrwxrwxrwx 1 bitbake bitbake 56 Oct 19 02:29 tmp/deploy/licenses/openssl/generic_Openssl -> /OE/shr-core/tmp/deploy/licenses/common-licenses/Openssl

$ ls tmp/deploy/licenses/common-licenses/
AFL-2  Apache-2  Apache-2.0  Artistic  BSD  CC-BY-SA-2.5  GPL-1  GPL-2  GPL-3  GPL-3.0-with-GCC-exception  ISC  LGPL-2  LGPL-2.1  LGPL-3  Libpng  MIT  MIT-style  MPL-1  PD  Sleepycat  Zlib

Maybe it's because of case-sensitivity in mapping?

There is:
SPDXLICENSEMAP[openssl] = "Openssl"
instead of
SPDXLICENSEMAP[openssl] = "OpenSSL"

And there could be more issues like this, but in stuff I'm building here it's just openssl:

OE @ ~/shr-core/tmp/deploy/licenses $ find . -type l ! -xtype f
./openssl-native/generic_Openssl
./openssl/generic_Openssl
Comment 1 Martin Jansa 2011-11-03 15:56:46 UTC
OpenSSL issue addressed in
http://patchwork.openembedded.org/patch/14217/

please review and check other licenses