Skip to contentSkip to conversation

libgcc: Set LICENSE for -lic package

PATCH In review Christian Eggers 2 participants 3 messages Jul 9, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libgcc: Set LICENSE for -lic package

The default license (GPL-3.0-with-GCC-exception & GPLv3) is not suitable for installing libgcc-lic on an image where INCOMPATIBLE_LICENSE is set to "GPL-3.0".

---
 meta/recipes-devtools/gcc/libgcc.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/gcc/libgcc.inc +1 -0
index 6d48ec9809..372da46459 100644
@@ -35,6 +35,7 @@ PACKAGES = "\
 LICENSE_${PN} = "GPL-3.0-with-GCC-exception"
 LICENSE_${PN}-dev = "GPL-3.0-with-GCC-exception"
 LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception"
+LICENSE_${PN}-lic = "GPL-3.0-with-GCC-exception"
 
 
 FILES_${PN}-dev = "\
Signature · 8 lines
Christian Eggers
Embedded software developer

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: Muenchen - Registergericht: Amtsgericht Muenchen - Handelsregisternummer: HRA 57918
Persoenlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: Muenchen - Registergericht: Amtsgericht Muenchen - Handelsregisternummer: HRB 54477
Geschaeftsfuehrer: Dr. Michael Neuhaeuser; Stephan Schenk; Walter Trauninger; Markus Zeiler
#1 lore raw

Hi Christian,

Quoted 14 lines · Christian Eggers

The default license (GPL-3.0-with-GCC-exception & GPLv3) is not suitable for installing libgcc-lic on an image where INCOMPATIBLE_LICENSE is set to "GPL-3.0".

---
 meta/recipes-devtools/gcc/libgcc.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/gcc/libgcc.inc +0 -0
index 6d48ec9809..372da46459 100644

meta/recipes-devtools/gcc/libgcc.inc PACKAGES = "\ · line 39

Quoted 5 lines
meta/recipes-devtools/gcc/libgcc.inc +1 -0
@@ -35,6 +35,7 @@ PACKAGES = "\
 LICENSE_${PN} = "GPL-3.0-with-GCC-exception"
 LICENSE_${PN}-dev = "GPL-3.0-with-GCC-exception"
 LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception"
+LICENSE_${PN}-lic = "GPL-3.0-with-GCC-exception"
 

Not really directing the question to you but... does this actually makes sense? Is the license licensed? Can't we just empty LICENSE_${PN}-lic or not check the license for this package? That might be something that can be done in the license.bbclass for example.

Nothing else to say though on that particular patch :)

Quentin

#2 lore raw

Hi Quentin,

Am Donnerstag, 9. Juli 2020, 15:25:00 CEST schrieb Quentin Schulz:

Quoted 4 lines

Not really directing the question to you but... does this actually makes sense? Is the license licensed? Can't we just empty LICENSE_${PN}-lic or not check the license for this package? That might be something that can be done in the license.bbclass for example.

I already asked myself what license the -lic package should have. Is this a license of it's own (or none)?

From the GPLv2:

"Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA

Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed."

Other licenses like MIT have no such restrictions, so that they are often forked. But setting an individual license for each -lic paket may also complicate things.

The patch I sent, "works for me". But I'll be also happy with another solution...

regards
Christian

________________________________
[http://assets.arri.com/media/sign/2020-04-03-E-mail-signature-Stellar2_V1.jpg] <https://microsites.arri.com/stellar/>

Get all the latest information from www.arri.com<https://www.arri.com/>, Facebook<https://www.facebook.com/TeamARRI>, Twitter<https://twitter.com/ARRIChannel>, Instagram<https://instagram.com/arri> and YouTube<https://www.youtube.com/user/ARRIChannel>.

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRA 57918 Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRB 54477 Geschäftsführer: Dr. Michael Neuhäuser; Stephan Schenk; Walter Trauninger; Markus Zeiler