| Summary: | gmp license leads to gnutls being effectively LGPL3 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Jussi Kukkonen <jku> |
| Component: | core | Assignee: | Jussi Kukkonen <jku> |
| Status: | VERIFIED FIXED | QA Contact: | Daniel Istrate <daniel.alexandrux.istrate> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher, ross.burton |
| Version: | unspecified | ||
| Target Milestone: | 1.9 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| See Also: | https://bugzilla.yoctoproject.org/show_bug.cgi?id=8158 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) |
| Verified: | Documentation change: | Don't know | |
|
Description
Jussi Kukkonen
2015-08-21 11:53:53 UTC
For the generic problem of "The GNU default license 'LGPLv3|GPLv2' confuses 'non-gpl3' builds" see bug 8158. Fixed in master. I don't know if the correct version will be picked up by the non-gpl3 autobuilder though, but I'll keep an eye out on that in bug 8158. commit 6fac60da96eee89d5b7c2156bbb92fe72dc28aef Author: Jussi Kukkonen <jussi.kukkonen@intel.com> Date: Thu Aug 27 16:05:59 2015 +0300 gmp: Bring back version 4.2.1 (LGPL 2.1+) gmp 4.2.1 was removed in f181c6ce8b apparently accidentally: It was not noticed that 4.2.1 is LGPL 2.1 (and not GPL) so provides a useful alternative to the newer "GPLv2 | LGPLv3" version. * Reintroduce 4.2.1. The source includes files that are GPL but the library package is LGPL 2.1+ * Also reintroduce the two patches removed in f181c6ce8b. * Refactor gmp.inc: gmp 6.0.0 build should not be affected in any way. * Update 6.0.0 license from "GPLv2 | LGPLv3" to "GPLv2+ | LGPLv3+". [YOCTO #8197] (From OE-Core rev: 1adec83621f36a3dd748990c307ca4ebebcdd554) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Verified on master: 979de7703cf3e468aa2923da1445138e1c93d234 Steps to verify: 1. Add to local.conf --> PREFERRED_VERSION_gmp = "4.2.1" 2. bitbake -e gmp |grep ^LICENSE= --> LICENSE="LGPLv2.1+ & GPLv2+" 3. bitbake core-image-full-cmdline (or gnutls or another image) 4. Open tmp/deploy/licenses/core-image-full-cmdline-qemux86-20151001110915/license.manifest and look for: PACKAGE NAME: gmp PACKAGE VERSION: 4.2.1 RECIPE NAME: gmp LICENSE: LGPLv2.1+ <-- license should be LGPLv2.1 5. cat tmp/deploy/licenses/core-image-full-cmdline-qemux86-20151001110915/package.manifest | grep gnutls libgnutls-openssl27 libgnutls28 <-- gnutls still builds |