Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* Fwd: btrfs-progs: libbtrfsutil is under LGPL-3.0 and statically liked into btrfs
@ 2021-03-17 11:53 Adam Borowski
  2021-03-17 14:17 ` David Sterba
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Borowski @ 2021-03-17 11:53 UTC (permalink / raw)
  To: linux-btrfs

This is https://bugs.debian.org/985400

----- Forwarded message from Claudius Heine <ch@denx.de> -----

Dear Maintainer,

I looked into the licenses of the btrfs-progs project and found that the
libbtrfsutils library is licensed under LGPL-3.0-or-later [1]

The `copyright` file does not show this this.

IANAL, but I think since `btrfs` (under GPL-2.0-only [2]) links to `libbtrfsutil`
statically this might cause a license conflict. See [3]. This would be the part
that might require upstream fixing.

regards,
Claudius

[1] https://github.com/kdave/btrfs-progs/blob/master/libbtrfsutil/btrfsutil.h
[2] https://github.com/kdave/btrfs-progs/blob/master/btrfs.c
[3] http://gplv3.fsf.org/dd3-faq#gpl-compat-matrix

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: btrfs-progs: libbtrfsutil is under LGPL-3.0 and statically liked into btrfs
  2021-03-17 11:53 Fwd: btrfs-progs: libbtrfsutil is under LGPL-3.0 and statically liked into btrfs Adam Borowski
@ 2021-03-17 14:17 ` David Sterba
  2021-03-17 20:06   ` Neal Gompa
  0 siblings, 1 reply; 3+ messages in thread
From: David Sterba @ 2021-03-17 14:17 UTC (permalink / raw)
  To: Adam Borowski; +Cc: linux-btrfs, sbabic, ngompa13, Claudius Heine, osandov

On Wed, Mar 17, 2021 at 12:53:00PM +0100, Adam Borowski wrote:
> This is https://bugs.debian.org/985400
> 
> ----- Forwarded message from Claudius Heine <ch@denx.de> -----
> 
> Dear Maintainer,
> 
> I looked into the licenses of the btrfs-progs project and found that the
> libbtrfsutils library is licensed under LGPL-3.0-or-later [1]
> 
> The `copyright` file does not show this this.
> 
> IANAL, but I think since `btrfs` (under GPL-2.0-only [2]) links to `libbtrfsutil`
> statically this might cause a license conflict. See [3]. This would be the part
> that might require upstream fixing.

Thanks for bringing it up.

> [1] https://github.com/kdave/btrfs-progs/blob/master/libbtrfsutil/btrfsutil.h
> [2] https://github.com/kdave/btrfs-progs/blob/master/btrfs.c
> [3] http://gplv3.fsf.org/dd3-faq#gpl-compat-matrix

As explained in that link

 "Use a library" means that you're not copying any source directly, but
 instead interacting with it through linking, importing, or other
 typical mechanisms that bind the sources together when you compile or
 run the code.

the static link applies and the licenses do not allow that. So what are
the options:

- relicense libbtrfsutil to LGPL v2.1 or later
- relicense libbtrfsutil to LGPL v2.1 only

There was another request to relicense it
https://lore.kernel.org/linux-btrfs/b927ca28-e280-4d79-184f-b72867dbdaa8@denx.de/

I'm not aware of any objections to relicensing, it hasn't happend in
5.11 due to time reasons but I think 5.12 is feasible.

If there's anybody willing to drive the process please let me know. The
mpv project did relicensing as well and we can draw some inspiration
from there https://github.com/mpv-player/mpv/issues/2033 . It took them
like 5 years but the number of contributors we'd need to ask is small and
most of them are known so it should not take more than a month.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: btrfs-progs: libbtrfsutil is under LGPL-3.0 and statically liked into btrfs
  2021-03-17 14:17 ` David Sterba
@ 2021-03-17 20:06   ` Neal Gompa
  0 siblings, 0 replies; 3+ messages in thread
From: Neal Gompa @ 2021-03-17 20:06 UTC (permalink / raw)
  To: dsterba, Adam Borowski, Btrfs BTRFS, Stefano Babic, King InuYasha,
	Claudius Heine, Omar Sandoval

On Wed, Mar 17, 2021 at 10:19 AM David Sterba <dsterba@suse.cz> wrote:
>
> On Wed, Mar 17, 2021 at 12:53:00PM +0100, Adam Borowski wrote:
> > This is https://bugs.debian.org/985400
> >
> > ----- Forwarded message from Claudius Heine <ch@denx.de> -----
> >
> > Dear Maintainer,
> >
> > I looked into the licenses of the btrfs-progs project and found that the
> > libbtrfsutils library is licensed under LGPL-3.0-or-later [1]
> >
> > The `copyright` file does not show this this.
> >
> > IANAL, but I think since `btrfs` (under GPL-2.0-only [2]) links to `libbtrfsutil`
> > statically this might cause a license conflict. See [3]. This would be the part
> > that might require upstream fixing.
>
> Thanks for bringing it up.
>
> > [1] https://github.com/kdave/btrfs-progs/blob/master/libbtrfsutil/btrfsutil.h
> > [2] https://github.com/kdave/btrfs-progs/blob/master/btrfs.c
> > [3] http://gplv3.fsf.org/dd3-faq#gpl-compat-matrix
>
> As explained in that link
>
>  "Use a library" means that you're not copying any source directly, but
>  instead interacting with it through linking, importing, or other
>  typical mechanisms that bind the sources together when you compile or
>  run the code.
>
> the static link applies and the licenses do not allow that. So what are
> the options:
>
> - relicense libbtrfsutil to LGPL v2.1 or later
> - relicense libbtrfsutil to LGPL v2.1 only
>
> There was another request to relicense it
> https://lore.kernel.org/linux-btrfs/b927ca28-e280-4d79-184f-b72867dbdaa8@denx.de/
>
> I'm not aware of any objections to relicensing, it hasn't happend in
> 5.11 due to time reasons but I think 5.12 is feasible.
>
> If there's anybody willing to drive the process please let me know. The
> mpv project did relicensing as well and we can draw some inspiration
> from there https://github.com/mpv-player/mpv/issues/2033 . It took them
> like 5 years but the number of contributors we'd need to ask is small and
> most of them are known so it should not take more than a month.

Relicensing request has been sent to the mailing list:
https://lore.kernel.org/linux-btrfs/20210317200144.1067314-1-ngompa@fedoraproject.org/T/


-- 
真実はいつも一つ!/ Always, there's only one truth!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-17 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-17 11:53 Fwd: btrfs-progs: libbtrfsutil is under LGPL-3.0 and statically liked into btrfs Adam Borowski
2021-03-17 14:17 ` David Sterba
2021-03-17 20:06   ` Neal Gompa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox