Bug 13919 - Multi License GPLv3 -lic cannot be installed into the image because it has incompatible license
Summary: Multi License GPLv3 -lic cannot be installed into the image because it has in...
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.1
Hardware: All Multiple
: Medium+ normal
Target Milestone: 5.99
Assignee: Anil Kumar Rath
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-05-25 07:30 UTC by Matthias Schoepfer
Modified: 2025-02-14 16:48 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Schoepfer 2020-05-25 07:30:44 UTC
Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "gentoo"
TARGET_SYS           = "x86_64-oe-linux"
MACHINE              = "qemux86-64"
DISTRO               = "nodistro"
DISTRO_VERSION       = "nodistro.0"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""
meta                 = "master:eb8ae6702aa43e6d7a57bb46f4282af68e3dcd09"
meta-gplv2           = "master:a8da8eb127a56561bf633ab53bec57fb5dbba537"

When using these options in conf/local.conf

INCOMPATIBLE_LICENSE = "GPLv3 LGPLv3 GPLv3+ LGPLv3+ GPL-3.0 LGPL-3.0 AGPL-3.0"
COPY_LIC_MANIFEST = "1"
COPY_LIC_DIRS = "1"
LICENSE_CREATE_PACKAGE = "1"

and added meta-gplv2 as seen above, bitbake core-image-full-cmdline fails with:

ERROR: core-image-full-cmdline-1.0-r0 do_rootfs: Package elfutils-lic cannot be installed into the image because it has incompatible license(s): GPL-3.0+ LGPL-3.0+
ERROR: Logfile of failure stored in: /home/mschoepf/yocto/oe-core-master/tmp-glibc/work/qemux86_64-oe-linux/core-image-full-cmdline/1.0-r0/temp/log.do_rootfs.3997608
ERROR: Task (/home/mschoepf/ithinx/git/oe-core/meta/recipes-extended/images/core-image-full-cmdline.bb:do_rootfs) failed with exit code '1'
Comment 1 Matthias Schoepfer 2020-05-28 08:20:40 UTC
First patchset was discussed on oe-core mailing list, but was not considered 
to be the right approach
Comment 3 Tim Orling 2021-04-29 15:28:12 UTC
Moving to "unassigned" as Ida's internship has completed.
Comment 4 Frans Meulenbroeks 2021-08-25 11:42:23 UTC
My suggestion would be to have a -lic package for every package, not one -lic package for a recipe.
Comment 5 Randy MacLeod 2023-07-26 21:21:56 UTC
Bulk move of 64 bugs to 4.3 M3 after a quick review.
If a bug is actually fixed, please add a commit link and resolve it.
-- Randy for YP bug team.
Comment 6 Randy MacLeod 2025-02-14 16:46:27 UTC
bulk change to add Saul's non-WR address.
Comment 7 Randy MacLeod 2025-02-14 16:48:11 UTC
Bulk change: Remove Saul's old WR address.