All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Matthias Schoepfer" <matthias.schoepfer@googlemail.com>
To: Khem Raj <raj.khem@gmail.com>,
	Yocto-mailing-list <yocto@yoctoproject.org>
Subject: Re: [yocto] Package libgcc-lic cannot be installed into the image because it has incompatible license(s): GPL-3.0
Date: Sat, 16 May 2020 16:12:25 +0200	[thread overview]
Message-ID: <eb4ddd34-4b76-4f9d-a41a-cc06058296da@googlemail.com> (raw)
In-Reply-To: <ce772f60-45d4-61c1-5305-53c571cd4079@gmail.com>

Hi Khem!

On 5/15/20 4:46 PM, Khem Raj wrote:
> On 5/15/20 2:32 AM, Matthias Schoepfer via lists.yoctoproject.org wrote:
>> Hi!
>>
>> I am trying to migrate to dunfell. Out customer does not want GPLv3 
>> or anything like that on the firmware.
>>
>> So - same as in zeus - we have a line:
>>
>> INCOMPATIBLE_LICENSE = "GPLv3 LGPLv3 GPLv3+ LGPLv3+ GPL-3.0 LGPL-3.0 
>> AGPL-3.0"
>>
>> during do_rootfs, the process fails with:
>>
>> do_rootfs: Package libgcc-lic cannot be installed into the image 
>> because it has incompatible license(s): GPL-3.0
>>
>> The package basically consists of the license information for libgcc, 
>> libgcc is allowed due to the linking exception.
>>
>> Even, when I try to allow this package with something like this:
>>
>> INCOMPATIBLE_LICENSE_pn-libgcc-lic = ""
>> INCOMPATIBLE_LICENSE_pn-libgcc = ""
>>
>> which has worked in the past to have an in house debug image with the 
>> gdbserver on it, it still fails.
>>
>> Am I the first to experience this? Am I doing something wrong?
>>
>> We do
>>
>> COPY_LIC_MANIFEST = "1"
>> COPY_LIC_DIRS = "1"
>> LICENSE_CREATE_PACKAGE = "1"
>>
>> as well, if that info is needed.
>>
>> Any help would be appreciated.
>>
>
> Can you try adding
>
> LICENSE_${PN}-lic = "GPL-3.0-with-GCC-exception"
>
> in meta/recipes-devtools/gcc/libgcc.inc
>
> and see if it helps ?
>
It did help, thank you very much! I needed to repeat this for libgcrypt 
and libidn2. It does look like a bug though, does it not?


Regards,


   Matthias


  reply	other threads:[~2020-05-16 14:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15  9:32 Package libgcc-lic cannot be installed into the image because it has incompatible license(s): GPL-3.0 Matthias Schoepfer
2020-05-15 14:46 ` [yocto] " Khem Raj
2020-05-16 14:12   ` Matthias Schoepfer [this message]
2020-05-16 14:30     ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eb4ddd34-4b76-4f9d-a41a-cc06058296da@googlemail.com \
    --to=matthias.schoepfer@googlemail.com \
    --cc=raj.khem@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.