Feature #2983

Ruby (GPLv2 only) tries to link to with readline (now GPLv3)

Added by Lucas Nussbaum almost 2 years ago. Updated 10 months ago.

[ruby-core:28736]
Status:Third Party's Issue Start date:03/18/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Hi,

The readline library was relicensed under GPLv3. Since Ruby is GPLv2 only, it is not allowed to link to readline.

Most distributions currently ship both the (old) GPLv2 readline version, and the new GPLv3 readline. However, this is likely to change in the future.

A solution could be to use a different library, like libedit (http://www.thrysoee.dk/editline/)

Related issues

duplicates ruby-trunk - Feature #2032: Change the license to "GPLv2+ or Ruby's original". Closed 09/02/2009
duplicates ruby-trunk - Feature #2982: Ruby tries to link with both openssl and readline Third Party's Issue 03/18/2010

Associated revisions

Revision 28118
Added by Yui NARUSE over 1 year ago

* ext/readline/extconf.rb: reject GPLv3 readline. [ruby-dev:39172] [ruby-core:25272] [ruby-dev:39167] [ruby-core:28736]

Revision 29264
Added by Yui NARUSE over 1 year ago

* ext/readline/extconf.rb: Remove Readline 6 check because Ruby's license is now GPLv3 compatible. [ruby-core:28736]

History

Updated by Luis Lavena almost 2 years ago

See [ruby-core:25272] and Feature request #2032:

http://redmine.ruby-lang.org/issues/show/2032

Updated by Yui NARUSE almost 2 years ago

libedit doesn't support multibyte encodings.

Updated by Nobuyoshi Nakada almost 2 years ago

  • Status changed from Open to Closed

Updated by Lucas Nussbaum almost 2 years ago

I'm surprised this was closed without discussion. How do you recommend we (Debian) solve that?

Updated by Yui NARUSE almost 2 years ago

  • Status changed from Closed to Open
GPL3 problem is not resolved; this ticket is mistakenly closed because this is duplicated ticket with #2982.

Updated by John Higgins almost 2 years ago

libedit might be finally getting multibyte encodings - http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libedit/?sortby=date - there appears to be a commit to add UTF-8 support

Updated by Yui NARUSE almost 2 years ago

Yes, but current its UTF-8 support is broken.
Moreover it is only UTF-8.

I heard they are working on supporting M17N, so it is good when that is done.

Updated by Nobuyoshi Nakada almost 2 years ago

  • Status changed from Open to Closed
I close this ticket because it is duplication.
Also, note that libedit has been supported already,
libreadline will be disabled by --enable-libedit configure option.

Updated by Yui NARUSE almost 2 years ago

  • Status changed from Closed to Open
Don't close duplicated tickets, all of them are closed if you close one of them > nobu

Updated by Nobuyoshi Nakada almost 2 years ago

  • ruby -v changed from 1.8 to *
At least, to avoid divergence, I don't think we should make discussions in many places.

Updated by Nobuyoshi Nakada almost 2 years ago

  • Status changed from Open to Third Party's Issue

Also available in: Atom PDF