Package libgcc-lic cannot be installed into the image because it has incompatible license(s): GPL-3.0
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
Quoted 25 lines · Matthias Schoepfer via lists.yoctoproject.org
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.0The 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
Quoted 8 lines
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 ?
Quoted 7 lines
Thanks and Regards,
Matthias
Hi Khem!
Quoted 35 lines · Khem Raj
Quoted 25 lines · Matthias Schoepfer via lists.yoctoproject.org
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.0The 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
Quoted 8 lines
COPY_LIC_MANIFEST= "1"COPY_LIC_DIRS= "1"LICENSE_CREATE_PACKAGE= "1"as well, if that info is needed.
Any help would be appreciated.
Quoted 8 lines
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
Quoted 46 lines · Matthias Schoepfer
Hi Khem!
Quoted 42 lines · Khem Raj
Quoted 30 lines · Matthias Schoepfer via lists.yoctoproject.org
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.0The 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
Quoted 8 lines
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
Quoted 9 lines
Quoted 6 lines
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
Quoted 6 lines
Regards,
Matthias