You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by Stephan Ewen <se...@apache.org> on 2014/05/06 01:55:28 UTC
Question about Dependencies and Libraries
Hi everyone!
I am currently looking though the code of some of our efforts, and there is
one component we would like to add that depends on a LGPL licensed library.
I remember Sebastian mentioning that this might not be compatible with the
ASL 2. I have found a statement here about incompatibility with GPL2 and
with GPL3 (http://www.apache.org/licenses/GPL-compatibility.html), but
nothing about LGPL.
Is there somewhere an official reference for compatible/incompatible
licenses?
Thanks,
Stephan
Re: Question about Dependencies and Libraries
Posted by Ted Dunning <te...@gmail.com>.
There is really no way around this unless SOOT is an optional dependency.
If SOOT is an optional build-time tool that users download separately, it
can be made to work. But if SOOT is being used to implement a feature that
most users would want or need, then it really isn't going to work out.
>From https://www.apache.org/legal/resolved.html#category-x
*Can Apache projects rely on components under prohibited licenses?*
> Apache projects cannot distribute any such components. As with the
> previous question on platforms, the component can be relied on if the
> component's licence terms do not affect the Apache product's licensing. For
> example, using a GPL'ed tool during the build is OK.
> *Can Apache projects rely on components whose licensing affects the Apache
> product?*
> Apache projects cannot distribute any such components. However, if the
> component is only needed for optional features, a project can provide the
> user with instructions on how to obtain and install the non-included work.
> Optional means that the component is not required for standard use of the
> product or for the product to achieve a desirable level of quality. The
> question to ask yourself in this situation is:
>
> - "Will the majority of users want to use my product without adding
> the optional components?"
>
>
On Tue, May 6, 2014 at 7:00 PM, Stephan Ewen <se...@apache.org> wrote:
> Adding Eric Bodden to the thread, one of the maintainers of SOOT.
>
>
>
> On Tue, May 6, 2014 at 6:25 PM, Stephan Ewen <se...@apache.org> wrote:
>
> > @Ted: So this is a definite "no way", or can one find workarounds?
> >
> > I know that the authors would like to help us use the library, but cannot
> > easily change the license, because of the various authors that are not
> all
> > accessible any more.
> >
> >
> > On Tue, May 6, 2014 at 3:42 PM, Ted Dunning <te...@gmail.com>
> wrote:
> >
> >> That's a problem, then.
> >>
> >>
> >> On Tue, May 6, 2014 at 12:31 PM, Stephan Ewen <
> stephan.ewen@tu-berlin.de
> >> >wrote:
> >>
> >> > It is not that the system does not work without it, but it looses a
> nice
> >> > feature: The static code analysis to figure out what fields are
> >> > accessed/modified/copied inside UDFs.
> >> >
> >>
> >
> >
>
Re: Question about Dependencies and Libraries
Posted by Ted Dunning <te...@gmail.com>.
Part of the problem is that "linking" is a concept that makes most sense in
a C world. In a Java world, compilation inherently uses information from
the dependency clouding the definitions a bit.
Overall, LGPL dependencies an be listed as "system" dependencies, but may
not be distributed with the ASF project artifacts.
On Sun, May 11, 2014 at 12:55 PM, Stephan Ewen <se...@apache.org> wrote:
> If I understand correctly, the restriction is not due to the clauses about
> liking or modifying the dependency. Rather the problem seems to be related
> to patentability when someone would repackage Stratosphere into another
> larger system.
>
> See LGPL section here http://www.apache.org/legal/resolved.html#category-x
>
> and see point 3 here http://www.apache.org/licenses/LICENSE-2.0.html
>
> Stephan
>
Re: Question about Dependencies and Libraries
Posted by Stephan Ewen <se...@apache.org>.
If I understand correctly, the restriction is not due to the clauses about
liking or modifying the dependency. Rather the problem seems to be related
to patentability when someone would repackage Stratosphere into another
larger system.
See LGPL section here http://www.apache.org/legal/resolved.html#category-x
and see point 3 here http://www.apache.org/licenses/LICENSE-2.0.html
Stephan
Re: Question about Dependencies and Libraries
Posted by "Bodden, Eric" <er...@sit.fraunhofer.de>.
Hi all.
First let me say that I am really only one of the maintainers of Soot. I did not create it, in fact one of the original creators has passed away in the meantime, which makes relicensing virtually impossible, I am afraid. I am really no expert in OS licenses but probably we might be able to upgrade to a newer version of the LGPL if that helps. If this is still strictly incompatible then that won't help, though.
Out of curiosity: Does anyone know why exactly the licenses would be incompatible? I always thought that linking to LGPL code should be just fine.
Best wishes,
Eric
On 06.05.2014, at 19:00, Stephan Ewen <se...@apache.org> wrote:
> Adding Eric Bodden to the thread, one of the maintainers of SOOT.
>
>
>
> On Tue, May 6, 2014 at 6:25 PM, Stephan Ewen <se...@apache.org> wrote:
> @Ted: So this is a definite "no way", or can one find workarounds?
>
> I know that the authors would like to help us use the library, but cannot easily change the license, because of the various authors that are not all accessible any more.
>
>
> On Tue, May 6, 2014 at 3:42 PM, Ted Dunning <te...@gmail.com> wrote:
> That's a problem, then.
>
>
> On Tue, May 6, 2014 at 12:31 PM, Stephan Ewen <st...@tu-berlin.de>wrote:
>
> > It is not that the system does not work without it, but it looses a nice
> > feature: The static code analysis to figure out what fields are
> > accessed/modified/copied inside UDFs.
> >
>
>
Re: Question about Dependencies and Libraries
Posted by Stephan Ewen <se...@apache.org>.
Adding Eric Bodden to the thread, one of the maintainers of SOOT.
On Tue, May 6, 2014 at 6:25 PM, Stephan Ewen <se...@apache.org> wrote:
> @Ted: So this is a definite "no way", or can one find workarounds?
>
> I know that the authors would like to help us use the library, but cannot
> easily change the license, because of the various authors that are not all
> accessible any more.
>
>
> On Tue, May 6, 2014 at 3:42 PM, Ted Dunning <te...@gmail.com> wrote:
>
>> That's a problem, then.
>>
>>
>> On Tue, May 6, 2014 at 12:31 PM, Stephan Ewen <stephan.ewen@tu-berlin.de
>> >wrote:
>>
>> > It is not that the system does not work without it, but it looses a nice
>> > feature: The static code analysis to figure out what fields are
>> > accessed/modified/copied inside UDFs.
>> >
>>
>
>
Re: Question about Dependencies and Libraries
Posted by Stephan Ewen <se...@apache.org>.
@Ted: So this is a definite "no way", or can one find workarounds?
I know that the authors would like to help us use the library, but cannot
easily change the license, because of the various authors that are not all
accessible any more.
On Tue, May 6, 2014 at 3:42 PM, Ted Dunning <te...@gmail.com> wrote:
> That's a problem, then.
>
>
> On Tue, May 6, 2014 at 12:31 PM, Stephan Ewen <stephan.ewen@tu-berlin.de
> >wrote:
>
> > It is not that the system does not work without it, but it looses a nice
> > feature: The static code analysis to figure out what fields are
> > accessed/modified/copied inside UDFs.
> >
>
Re: Question about Dependencies and Libraries
Posted by Ted Dunning <te...@gmail.com>.
That's a problem, then.
On Tue, May 6, 2014 at 12:31 PM, Stephan Ewen <st...@tu-berlin.de>wrote:
> It is not that the system does not work without it, but it looses a nice
> feature: The static code analysis to figure out what fields are
> accessed/modified/copied inside UDFs.
>
Re: Question about Dependencies and Libraries
Posted by Stephan Ewen <st...@tu-berlin.de>.
It is not that the system does not work without it, but it looses a nice
feature: The static code analysis to figure out what fields are
accessed/modified/copied inside UDFs.
Re: Question about Dependencies and Libraries
Posted by Ted Dunning <te...@gmail.com>.
Is this LGPL library an optional dependency?
On Tue, May 6, 2014 at 9:21 AM, Stephan Ewen <st...@tu-berlin.de>wrote:
> Yes, I was referring to the static code analysis with Soot.
>
> Thanks for the link, Rajika! Seems LGPL is strictly incompatible. Pity,
> soot is a good tool and it cannot be licensed differently, I asked the
> authors.
>
Re: Question about Dependencies and Libraries
Posted by Stephan Ewen <st...@tu-berlin.de>.
Yes, I was referring to the static code analysis with Soot.
Thanks for the link, Rajika! Seems LGPL is strictly incompatible. Pity,
soot is a good tool and it cannot be licensed differently, I asked the
authors.
Re: Question about Dependencies and Libraries
Posted by Robert Metzger <rm...@apache.org>.
What component are you referring to, Stephan?
Web interface or static code analysis? Smth different?
On Tue, May 6, 2014 at 3:21 AM, Rajika Kumarasiri <
rajika.kumarasiri@gmail.com> wrote:
> http://www.apache.org/legal/resolved.html#category-x
>
>
> On Mon, May 5, 2014 at 7:55 PM, Stephan Ewen <se...@apache.org> wrote:
>
> > Hi everyone!
> >
> > I am currently looking though the code of some of our efforts, and there
> is
> > one component we would like to add that depends on a LGPL licensed
> library.
> >
> > I remember Sebastian mentioning that this might not be compatible with
> the
> > ASL 2. I have found a statement here about incompatibility with GPL2 and
> > with GPL3 (http://www.apache.org/licenses/GPL-compatibility.html), but
> > nothing about LGPL.
> >
> > Is there somewhere an official reference for compatible/incompatible
> > licenses?
> >
> > Thanks,
> > Stephan
> >
>
Re: Question about Dependencies and Libraries
Posted by Rajika Kumarasiri <ra...@gmail.com>.
http://www.apache.org/legal/resolved.html#category-x
On Mon, May 5, 2014 at 7:55 PM, Stephan Ewen <se...@apache.org> wrote:
> Hi everyone!
>
> I am currently looking though the code of some of our efforts, and there is
> one component we would like to add that depends on a LGPL licensed library.
>
> I remember Sebastian mentioning that this might not be compatible with the
> ASL 2. I have found a statement here about incompatibility with GPL2 and
> with GPL3 (http://www.apache.org/licenses/GPL-compatibility.html), but
> nothing about LGPL.
>
> Is there somewhere an official reference for compatible/incompatible
> licenses?
>
> Thanks,
> Stephan
>