* Package libgcc-lic cannot be installed into the image because it has incompatible license(s): GPL-3.0
@ 2020-05-15 9:32 Matthias Schoepfer
2020-05-15 14:46 ` [yocto] " Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Matthias Schoepfer @ 2020-05-15 9:32 UTC (permalink / raw)
To: Yocto-mailing-list
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.
Thanks and Regards,
Matthias
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] Package libgcc-lic cannot be installed into the image because it has incompatible license(s): GPL-3.0
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 ` Khem Raj
2020-05-16 14:12 ` Matthias Schoepfer
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2020-05-15 14:46 UTC (permalink / raw)
To: matthias.schoepfer, Yocto-mailing-list
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 ?
> Thanks and Regards,
>
> Matthias
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] Package libgcc-lic cannot be installed into the image because it has incompatible license(s): GPL-3.0
2020-05-15 14:46 ` [yocto] " Khem Raj
@ 2020-05-16 14:12 ` Matthias Schoepfer
2020-05-16 14:30 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Matthias Schoepfer @ 2020-05-16 14:12 UTC (permalink / raw)
To: Khem Raj, Yocto-mailing-list
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] Package libgcc-lic cannot be installed into the image because it has incompatible license(s): GPL-3.0
2020-05-16 14:12 ` Matthias Schoepfer
@ 2020-05-16 14:30 ` Khem Raj
0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2020-05-16 14:30 UTC (permalink / raw)
To: Matthias Schoepfer; +Cc: Yocto-mailing-list
On Sat, May 16, 2020 at 7:12 AM Matthias Schoepfer
<matthias.schoepfer@googlemail.com> wrote:
>
> 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?
>
if it happens on master too then send the patch to openembedded-core
mailing list
>
> Regards,
>
>
> Matthias
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-05-16 14:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2020-05-16 14:30 ` Khem Raj
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.