Yocto Project Discussions
 help / color / mirror / Atom feed
* INCOMPATIBLE_LICENSE_EXCEPTIONS not working in kirkstone
@ 2024-01-24 18:45 colin.mcinnes
  2024-01-24 18:48 ` [yocto] " colin.mcinnes
  0 siblings, 1 reply; 2+ messages in thread
From: colin.mcinnes @ 2024-01-24 18:45 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 608 bytes --]

I'm trying to add gdb to a kirkstone image for debugging, and have GPLv3.0 set as incompatible in my .conf

INCOMPATIBLE_LICENSE = "GPL-3.0-only LGPL-3.0-only AGPL-3.0-only"

in the same file I also have gdb listed as an exception:

INCOMPATIBLE_LICENSE_EXCEPTIONS += "gdb"

Despite this, builds keep failing due to the following error:

ERROR: Nothing PROVIDES 'gdb'
gdb was skipped: it has incompatible license(s): GPL-3.0-only LGPL-3.0-only

How to I correctly exempt gdb from the incompatible licenses? I also tried WHITELIST_GPL-3.0 but bitbake identifies that as an out of date override.

[-- Attachment #2: Type: text/html, Size: 13604 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [yocto] INCOMPATIBLE_LICENSE_EXCEPTIONS not working in kirkstone
  2024-01-24 18:45 INCOMPATIBLE_LICENSE_EXCEPTIONS not working in kirkstone colin.mcinnes
@ 2024-01-24 18:48 ` colin.mcinnes
  0 siblings, 0 replies; 2+ messages in thread
From: colin.mcinnes @ 2024-01-24 18:48 UTC (permalink / raw)
  To: colin.mcinnes, yocto

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

My exception list was incomplete, I had not added what licenses were exempt.
The following now works:

INCOMPATIBLE_LICENSE_EXCEPTIONS += "gdb:GPL-3.0-only gdb:LGPL-3.0-only"

[-- Attachment #2: Type: text/html, Size: 400 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-24 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-24 18:45 INCOMPATIBLE_LICENSE_EXCEPTIONS not working in kirkstone colin.mcinnes
2024-01-24 18:48 ` [yocto] " colin.mcinnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox