Bug 1712 - license.bbclass: wrong openssl mapping
Summary: license.bbclass: wrong openssl mapping
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2 M1
Assignee: Beth Flanagan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-11-02 05:24 UTC by Martin Jansa
Modified: 2011-11-11 16:38 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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