Skip to contentSkip to conversation

configure: disable by default and warn about libxseg GPLv3 license

PATCH Applied Stefan Hajnoczi 3 participants 4 messages Apr 9, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: disable by default and warn about libxseg GPLv3 license

libxseg has changed license to GPLv3. QEMU includes GPL "v2 only" code which is not compatible with GPLv3. This means the resulting binaries may not be redistributable!

Disable Archipelago (libxseg) by default to prevent accidental license violations. Also warn if linking against libxseg is enabled to remind the user.

Note that this commit does not constitute any advice about software licensing. If you have doubts you should consult a lawyer.

---
 configure | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

While libxseg reconsiders its license, let's disable it by default and warn users that they need to carefully check whether the licenses are compatible.

configure +7 -1
index 09c9225..9219ba3 100755
@@ -327,7 +327,7 @@ seccomp=""
 glusterfs=""
 glusterfs_discard="no"
 glusterfs_zerofill="no"
-archipelago=""
+archipelago="no"
 gtk=""
 gtkabi=""
 vte=""
@@ -3173,6 +3173,12 @@ EOF
         archipelago="yes"
         libs_tools="$archipelago_libs $libs_tools"
         libs_softmmu="$archipelago_libs $libs_softmmu"
+
+	echo "WARNING: Please check the licenses of QEMU and libxseg carefully."
+	echo "GPLv3 versions of libxseg may not be compatible with QEMU's "
+	echo "license and therefore prevent redistribution."
+	echo
+	echo "To disable Archipelago, use --disable-archipelago"
     else
       if test "$archipelago" = "yes" ; then
         feature_not_found "Archipelago backend support" "Install libxseg devel"
Signature · 1 line
2.1.0
Reviewed-by on v1 1/1
#1 lore raw

Am 09.04.2015 um 15:52 schrieb Stefan Hajnoczi:

Quoted 10 lines

libxseg has changed license to GPLv3. QEMU includes GPL "v2 only" code which is not compatible with GPLv3. This means the resulting binaries may not be redistributable!

Disable Archipelago (libxseg) by default to prevent accidental license violations. Also warn if linking against libxseg is enabled to remind the user.

Note that this commit does not constitute any advice about software licensing. If you have doubts you should consult a lawyer.

:)

Quoted 26 lines
---
 configure | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

While libxseg reconsiders its license, let's disable it by default and warn users that they need to carefully check whether the licenses are compatible.

configure +1 -1
index 09c9225..9219ba3 100755
@@ -327,7 +327,7 @@ seccomp=""
 glusterfs=""
 glusterfs_discard="no"
 glusterfs_zerofill="no"
-archipelago=""
+archipelago="no"
 gtk=""
 gtkabi=""
 vte=""

configure EOF · line 3178

Quoted 6 lines
configure +3 -0
@@ -3173,6 +3173,12 @@ EOF
         archipelago="yes"
         libs_tools="$archipelago_libs $libs_tools"
         libs_softmmu="$archipelago_libs $libs_softmmu"
+
+	echo "WARNING: Please check the licenses of QEMU and libxseg carefully."
+	echo "GPLv3 versions of libxseg may not be compatible with QEMU's "

FWIW trailing space in argument (in case you send a pull yourself)

configure EOF · line 3181

Quoted 3 lines
configure +3 -0
+	echo "license and therefore prevent redistribution."
+	echo
+	echo "To disable Archipelago, use --disable-archipelago"

Since you change the default, that's not strictly necessary any more but not wrong either.

configure EOF · line 3184

Quoted 3 lines
configure +0 -0
     else
       if test "$archipelago" = "yes" ; then
         feature_not_found "Archipelago backend support" "Install libxseg devel"

Thanks,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)
#2 lore raw

Am 09.04.2015 um 18:57 schrieb Andreas Färber:

Quoted 19 lines

Am 09.04.2015 um 15:52 schrieb Stefan Hajnoczi:

Quoted 10 lines

libxseg has changed license to GPLv3. QEMU includes GPL "v2 only" code which is not compatible with GPLv3. This means the resulting binaries may not be redistributable!

Disable Archipelago (libxseg) by default to prevent accidental license violations. Also warn if linking against libxseg is enabled to remind the user.

Note that this commit does not constitute any advice about software licensing. If you have doubts you should consult a lawyer.

:)

Quoted 5 lines

[...]

Quoted 1 line

Erm, on second thoughts the subject is missing an object and was probably intended to say "disable Archipelago by default". ;)

Quoted 2 lines

Thanks,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)
#3 lore raw
Quoted 20 lines · Andreas Färber

Am 09.04.2015 um 18:57 schrieb Andreas Färber:

Quoted 5 lines

Am 09.04.2015 um 15:52 schrieb Stefan Hajnoczi:

Quoted 4 lines

libxseg has changed license to GPLv3. QEMU includes GPL "v2 only" code which is not compatible with GPLv3. This means the resulting binaries may not be redistributable!

Quoted 14 lines
Quoted 6 lines

Disable Archipelago (libxseg) by default to prevent accidental license violations. Also warn if linking against libxseg is enabled to remind the user.

Note that this commit does not constitute any advice about software licensing. If you have doubts you should consult a lawyer.

:)

Quoted 5 lines
Quoted 5 lines

[...]

Quoted 1 line

Erm, on second thoughts the subject is missing an object and was probably intended to say "disable Archipelago by default". ;)

Thanks, applied to master with the missing object inserted and the extraneous space removed.

-- PMM