Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199451 - sci-packages license change
Summary: sci-packages license change
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-17 16:10 UTC by Carsten Lohrke (RETIRED)
Modified: 2015-06-22 12:10 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2007-11-17 16:10:05 UTC
Most important is the license change to GPL 3, which is proplematic wrt. binary distribution of GPL-2 licensed software linking to it.

http://www.gnu.org/software/gsl/NEWS


List of packages using it, needing some bindist magic (in case they're GPL-2 licensed):

dev-lang/gdl
dev-python/pygsl
dev-ruby/ruby-gsl
mail-filter/bogofilter
media-gfx/asymptote
media-gfx/kst
media-sound/kwave
media-sound/snd
media-sound/sonik
sci-astronomy/orsa
sci-calculators/orpie
sci-chemistry/coot
sci-chemistry/eden
sci-libs/itpp
sci-mathematics/octave-forge
sci-mathematics/pspp
sci-physics/root
sci-visualization/labplot
sci-visualization/qtiplot
sci-visualization/spectromatic
virtual/cblas
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2007-11-18 12:41:58 UTC
Hi Carlo,

Thanks much for the note! I apologize for my ignorance in this
matter and I would greatly appreciate if somebody could
educate me on what exactly the issue with GPL 3 code
linked against GPL 2 code is when it comes to binary
distribution.

Also, 

- many sci packages depend on a range of versions of gsl not version
  1.10 alone. How do we handle this case? 
- gsl is one of the providers of virtual/cblas, hence all packages in the
  tree that require this virtual could potentially link against gsl.

Thanks,
Markus
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2008-01-21 14:54:29 UTC
Since 1.10 is already in the tree, what is the status of this bug?  Should we close it?  Should we do something wrt the binary distribution of the packages listed by Carlo?
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-01-21 15:48:23 UTC
Sorry, that I didn't reply earlier...

(In reply to comment #1)
> Thanks much for the note! I apologize for my ignorance in this
> matter and I would greatly appreciate if somebody could
> educate me on what exactly the issue with GPL 3 code
> linked against GPL 2 code is when it comes to binary
> distribution.

The GPL (2 or 3) allows you to do with the code whatever you want (even link it to some proprietary in-house application), but is far more restrictive wrt. distribution. 

In the process of reaching compatibilty with some other open source licenses, it was decided to change the GPL 3 in  a way so it is incompatible with the GPL 2 and distributing GPL 2 and 3 code linked together is therefore a license violation.

See http://www.gnu.org/licenses/licenses.html for more information. There are lots of open source licenses incompatible with either the GPL 2 or both GPL 2 and 3, e.g. Apache, MPL and their derivates, I(BM)PL, CPL - even the dead old incompatible four clause BSD license you'll sometimes find in code where you didn't expect it.
 
> Also, 
> 
> - many sci packages depend on a range of versions of gsl not version
>   1.10 alone. How do we handle this case? 

A possibility is 

bindist? ( sci-libs/gsl )
! bindist? ( <sci-libs/gsl-1.10 )

and keep 1.9 around as long as there are GPL 2 licensed applications linking to it, in the tree.  You could also try to convince the authors of gsl to switch to LGPL 3, which is a good idea for widely used libraries anyways and would spare us a lot of work.


> - gsl is one of the providers of virtual/cblas, hence all packages in the
>   tree that require this virtual could potentially link against gsl.

So we have to look at them, too.


(In reply to comment #2)
> Since 1.10 is already in the tree, what is the status of this bug?  Should we
> close it?  Should we do something wrt the binary distribution of the packages
> listed by Carlo?

As distributors we have the responsibililty to abide to the licenses of code we make accessable, more than everyone else, I'd say. We might even run into distributing a live cd, infringing a license ourselves, when we don't take it seriously to assure some safety in this regard for whoever actually wants to distribute binaries based on Gentoo. This is annoying, but not optional stuff, I'm afraid.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2008-01-21 15:50:46 UTC
Eh, the example should of course be 

DEPEND="!bindist? ( sci-libs/gsl )
bindist? ( <sci-libs/gsl-1.10 )"
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2008-01-21 16:05:10 UTC
Uh, I have to correct myself wrt. asking the authors of gsl to use the LGPL 3. From gnu.org:

> Please note that LGPLv3 is not compatible with GPLv2 by itself. However, most software released under GPLv2 allows you to use the terms of later versions of the GPL as well. When this is the case, you can use the code under GPLv3 to make the desired combination.



Unfortunatly we do not even distinct between "GPL 2" and "GPL 2 and later" in our lisence handling. There was even a thread on gentoo-dev once, iirc, but nothing happened.
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2008-02-03 12:05:26 UTC
Here's some intial progress

1) sci-libs/itpp

Most recent version in portage does not depend on
gsl any more.

2) sci-mathematics/octave-forge

The part of octave-forge that needs gsl will soon be replaced by 
octave-forge-gsl which is GPL-2 or later. So we we can drop this
one.

3) sci-mathematics/pspp

Fixed by adding bindist magic.


Thanks,
Markus

Comment 7 Markus Dittrich (RETIRED) gentoo-dev 2008-02-11 11:45:57 UTC
Some more notes:

1) sci-physics/root:
root is LGPL-2.1 hence we should be fine

2) sci-vizualisation/labplot:
has bindist 

Thanks,
Markus
Comment 8 Markus Dittrich (RETIRED) gentoo-dev 2008-02-13 15:03:00 UTC
sci-visualization/qtiplot
sci-visualization/spectromatic

now both have bindist.

Currently, we are left with

dev-lang/gdl
dev-python/pygsl
dev-ruby/ruby-gsl
mail-filter/bogofilter
media-gfx/asymptote
media-gfx/kst
media-sound/kwave
media-sound/snd
media-sound/sonik
sci-astronomy/orsa
sci-calculators/orpie
sci-chemistry/coot
sci-chemistry/eden
virtual/cblas

Markus
Comment 9 Markus Dittrich (RETIRED) gentoo-dev 2008-02-15 11:52:57 UTC
* sci-astronomy/orsa

Is licensed GPL-2 or later, so we should 
be fine.

* sci-calculators/orpie
* sci-chemistry/eden

added bindist
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-27 15:00:32 UTC
dev-python/pygsl
dev-ruby/ruby-gsl
media-gfx/kst
media-sound/kwave
media-sound/sound

are checked and fine, so we're down to


dev-lang/gdl
mail-filter/bogofilter
media-gfx/asymptote
media-sound/snd
sci-chemistry/coot
virtual/cblas
Comment 11 Sébastien Fabbro (RETIRED) gentoo-dev 2009-04-17 10:07:18 UTC
dev-lang/gdl
mail-filter/bogofilter
media-gfx/asymptote (now gpl-3)
sci-chemistry/coot  (now gpl-3)

should be fine.

> media-sound/snd
> virtual/cblas 
not sure what to do with these two.

Do we really need to do this? Many other libs are switching to gpl-3 and may have similar issues. Reading license changes and fixing compatibilities is very boring.

Also, gsl-1.9 may be buggy (bug #260851) with gcc-4.3, fixed in later versions.
Comment 12 Peter Volkov (RETIRED) gentoo-dev 2010-01-09 08:30:34 UTC
I guess qtiplot (at least version 0.9.7.11) is unaffected. Although source tarbal include GPL-2 text, sources I've checked are marked with:

 *  This program is free software; you can redistribute it and/or modify   *
 *  it under the terms of the GNU General Public License as published by   *
 *  the Free Software Foundation; either version 2 of the License, or      *
 *  (at your option) any later version.                                    *

Also qtiplot/src/lib (at least now) has gpl-3.0.txt (I'll add to licenses with bump). So... with qtiplot 0.9.7.11 I'm going to drop bindist.
Comment 13 Justin Lecher (RETIRED) gentoo-dev 2010-06-23 08:33:32 UTC
removed from tree.
Comment 14 Justin Lecher (RETIRED) gentoo-dev 2010-06-23 08:33:49 UTC
Are there still some open or could this bug be closed?
Comment 15 Frederico 2011-04-13 15:44:35 UTC
Has anybody managed to emerge Coot? I´ve reported a bug in guile-lib, which is a Coot dependency. Has the gentoo-science herd died?
Comment 16 Justin Lecher (RETIRED) gentoo-dev 2011-04-13 15:47:41 UTC
(In reply to comment #15)
> Has anybody managed to emerge Coot? I´ve reported a bug in guile-lib, which is
> a Coot dependency. Has the gentoo-science herd died?


What ever your problem is, you just reported the guile lib bug and it is not reproducible here. And it doesn't has to do something with licenses.

If you have more problems with packages, please file bugs. BTW coot emerges fine.
Comment 17 Justin Lecher (RETIRED) gentoo-dev 2011-04-13 15:47:54 UTC
BTW did we fix all licenses?
Comment 18 Justin Lecher (RETIRED) gentoo-dev 2015-06-22 12:10:27 UTC
Please reopen if there are still packages missing.