Debian Codegraph @

doc/Why-CLISP-is-under-GPL

raw
1 From [email protected] Mon Oct 19 00:06:25 1992
2 Return-Path: <[email protected]>
3 Received: from mole.gnu.ai.mit.edu ([128.52.46.33]) by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
4 id AA23967; Mon, 19 Oct 92 00:06:23 +0100
5 Received: by mole.gnu.ai.mit.edu (5.65/4.0)
6 id <[email protected]>; Sun, 18 Oct 92 18:59:05 -0400
7 Date: Sun, 18 Oct 92 18:59:05 -0400
8 From: [email protected] (Richard Stallman)
9 Message-Id: <[email protected]>
10 To: [email protected]
11 Subject: Common Lisp and Readline
12 Status: RO
13
14 I hate to have to play this role with a fellow hacker, but...
15
16 If you don't change to using the GPL, then you'll have to stop using
17 readline. Readline's terms say that the whole program has to be under
18 the GPL, and just having the user do the link doesn't change this. If
19 the program is designed to run with readline as a part, then readline
20 is a part of it.
21
22 An ordinary user can decide to link readline with a program and run
23 it. That's different--this user is not doing distribution, and thus
24 the GPL does not restrict what he can do.
25
26 From haible Fri Oct 30 18:54:38 1992
27 Return-Path: <haible>
28 Received: by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
29 id AA28745; Fri, 30 Oct 92 18:54:37 +0100
30 Date: Fri, 30 Oct 92 18:54:37 +0100
31 From: haible (Bruno Haible)
32 Message-Id: <[email protected]>
33 To: [email protected], [email protected]
34 Subject: Re: Common Lisp and Readline
35 Status: RO
36
37
38 > I hate to have to play this role with a fellow hacker, but...
39
40 I'm sorry too, as I am very indebted to the GNU project.
41
42 > Readline's terms say that the whole program has to be under
43 > the GPL, and just having the user do the link doesn't change this.
44
45 I don't agree. My lisp.a is not a "work based on libreadline.a". What I
46 distribute is a "mere aggregation" of lisp.a and libreadline.a - the latter
47 with source.
48
49 > If the program is designed to run with readline as a part, then readline
50 > is a part of it.
51
52 I could provide a libnoreadline.a and let the user choose to link lisp.a
53 with either GNU's libreadline.a or my libnoreadline.a . Would that convince
54 you that lisp.a "can be reasonably considered independent and separate work" ?
55
56 Bruno Haible
57
58 From [email protected] Fri Oct 30 22:19:16 1992
59 Return-Path: <[email protected]>
60 Received: from mole.gnu.ai.mit.edu ([128.52.46.33]) by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
61 id AA28939; Fri, 30 Oct 92 22:19:14 +0100
62 Received: by mole.gnu.ai.mit.edu (5.65/4.0)
63 id <[email protected]>; Fri, 30 Oct 92 16:09:54 -0500
64 Date: Fri, 30 Oct 92 16:09:54 -0500
65 From: [email protected] (Richard Stallman)
66 Message-Id: <[email protected]>
67 To: [email protected]
68 In-Reply-To: <[email protected]> ([email protected])
69 Subject: Common Lisp and Readline
70 Status: RO
71
72 > Readline's terms say that the whole program has to be under
73 > the GPL, and just having the user do the link doesn't change this.
74
75 I don't agree. My lisp.a is not a "work based on libreadline.a". What I
76 distribute is a "mere aggregation" of lisp.a and libreadline.a - the latter
77 with source.
78
79 I could provide a libnoreadline.a and let the user choose to link lisp.a
80 with either GNU's libreadline.a or my libnoreadline.a . Would that convince
81 you that lisp.a "can be reasonably considered independent and separate work" ?
82
83 No, and I doubt it would convince a judge either.
84
85 I'll have to insist that you stop using readline unless you make the
86 program free.
87
88
89 From haible Sat Oct 31 01:08:00 1992
90 Return-Path: <haible>
91 Received: by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
92 id AA29062; Sat, 31 Oct 92 01:08:00 +0100
93 Date: Sat, 31 Oct 92 01:08:00 +0100
94 From: haible (Bruno Haible)
95 Message-Id: <[email protected]>
96 To: [email protected], [email protected]
97 Subject: Re: Common Lisp and Readline
98 Status: RO
99
100
101 > I'll have to insist that you stop using readline unless you make the
102 > program free.
103
104 I built a libnoreadline.a that can be linked together with lisp.a,
105 replacing libreadline.a .
106
107 I will reorganize the distribution into 2 independent parts:
108 * clisp.lzh containing lisp.a and libnoreadline.a,
109 * readline.tar.Z containing libreadline.a and its source.
110
111 The first one is enough to build a CLISP executable. It contains
112 no GNU parts.
113
114 > I doubt it would convince a judge either.
115
116 The only thing CLISP will have to do with the readline library
117 is that *THE USER* *MAY OPTIONALLY* link CLISP with the readline library.
118
119 No judge will admit that this gives you the right to determine the copyright
120 of CLISP.
121
122 >From your own words:
123 > An ordinary user can decide to link readline with a program and run
124 > it. That's different--this user is not doing distribution, and thus
125 > the GPL does not restrict what he can do.
126
127
128 If you still insist on me being wrong, then please tell me what part
129 of the GNU GPL I am breaking. Or update the GNU GPL.
130
131 Bruno Haible
132
133 From haible Sat Oct 31 01:08:26 1992
134 Return-Path: <haible>
135 Received: by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
136 id AA29068; Sat, 31 Oct 92 01:08:25 +0100
137 Date: Sat, 31 Oct 92 01:08:25 +0100
138 From: haible (Bruno Haible)
139 Message-Id: <[email protected]>
140 To: [email protected], [email protected]
141 Subject: Readline & GPL
142 Status: RO
143
144
145 If someone was to turn the readline library into a shared library
146 (a library that is needed at runtime by the executable, but not
147 contained in the executable):
148 Would that mean that any executable that uses a readline
149 shared lib would have to be accompanied with full source? Or would it, in the
150 contrary, mean that such an executable may use the readline lib without
151 "containing" it and without being affected by such copyright issues?
152
153 Bruno Haible
154
155 From [email protected] Sat Oct 31 01:11:59 1992
156 Return-Path: <[email protected]>
157 Received: from mole.gnu.ai.mit.edu ([128.52.46.33]) by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
158 id AA29075; Sat, 31 Oct 92 01:11:56 +0100
159 Received: by mole.gnu.ai.mit.edu (5.65/4.0)
160 id <[email protected]>; Fri, 30 Oct 92 19:02:38 -0500
161 Date: Fri, 30 Oct 92 19:02:38 -0500
162 From: [email protected] (Richard Stallman)
163 Message-Id: <[email protected]>
164 To: [email protected]
165 In-Reply-To: <[email protected]> ([email protected])
166 Subject: Readline & GPL
167 Status: RO
168
169 If someone was to turn the readline library into a shared library
170 (a library that is needed at runtime by the executable, but not
171 contained in the executable):
172 Would that mean that any executable that uses a readline
173 shared lib would have to be accompanied with full source?
174
175 Yes.
176
177 From [email protected] Sat Oct 31 01:29:01 1992
178 Return-Path: <[email protected]>
179 Received: from mole.gnu.ai.mit.edu ([128.52.46.33]) by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
180 id AA29083; Sat, 31 Oct 92 01:28:59 +0100
181 Received: by mole.gnu.ai.mit.edu (5.65/4.0)
182 id <[email protected]>; Fri, 30 Oct 92 19:19:36 -0500
183 Date: Fri, 30 Oct 92 19:19:36 -0500
184 From: [email protected] (Richard Stallman)
185 Message-Id: <[email protected]>
186 To: [email protected]
187 In-Reply-To: <[email protected]> ([email protected])
188 Subject: Common Lisp and Readline
189 Status: RO
190
191 I built a libnoreadline.a that can be linked together with lisp.a,
192 replacing libreadline.a .
193
194 I will reorganize the distribution into 2 independent parts:
195 * clisp.lzh containing lisp.a and libnoreadline.a,
196 * readline.tar.Z containing libreadline.a and its source.
197
198 The first one is enough to build a CLISP executable. It contains
199 no GNU parts.
200
201 True. If that were the whole situation--if readline did not exist--
202 then I would have no grounds to object.
203
204 However, the sum total of what you are doing is still tantamount to
205 distributing one program which contains readline but is not under the
206 GPL.
207
208 This is a problem I cannot ignore. If you can get away with this then
209 any company can get away with it. The result would be to negate for
210 practical purposes the GPL's requirement that improvements be free.
211 And that would deprive GNU software of a major source of improvements.
212
213 Is that what you want?
214
215
216
217 From [email protected] Fri Nov 6 11:02:40 1992
218 Return-Path: <[email protected]>
219 Received: from mole.gnu.ai.mit.edu ([128.52.46.33]) by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
220 id AA13962; Fri, 6 Nov 92 11:02:36 +0100
221 Received: by mole.gnu.ai.mit.edu (5.65/4.0)
222 id <[email protected]>; Fri, 6 Nov 92 04:52:01 -0500
223 Date: Fri, 6 Nov 92 04:52:01 -0500
224 From: [email protected] (Richard Stallman)
225 Message-Id: <[email protected]>
226 To: [email protected]
227 In-Reply-To: <[email protected]> ([email protected])
228 Subject: Common Lisp and Readline
229 Status: RO
230
231 If you do succeed in circumventing the GPL for readline, you would be
232 blazing a path for every commercial company that wants to do it.
233 Would you really like that result?
234
235 Wouldn't it be best to eliminate this dispute by using the GPL for
236 Common Lisp? Totally aside from readline, the Lisp system would be
237 more useful that way. For example, maybe it could be a useful part of
238 GNU.
239
240
241
242 From haible Fri Nov 6 16:13:07 1992
243 Return-Path: <haible>
244 Received: by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
245 id AA14116; Fri, 6 Nov 92 16:13:06 +0100
246 Date: Fri, 6 Nov 92 16:13:06 +0100
247 From: haible (Bruno Haible)
248 Message-Id: <[email protected]>
249 To: [email protected], [email protected]
250 Subject: Common Lisp, Readline and GPL
251 Status: RO
252
253
254
255 > I will reorganize the distribution into 2 independent parts:
256 > * clisp.lzh containing lisp.a and libnoreadline.a,
257 > * readline.tar.Z containing libreadline.a and its source.
258 >
259 > The first one is enough to build a CLISP executable. It contains
260 > no GNU parts.
261 >
262 > However, the sum total of what you are doing is still tantamount to
263 > distributing one program which contains readline but is not under the
264 > GPL.
265
266 Not totally. The sum of what I AND THE USER are doing is tantamount to
267 building a program which contains readline but is not under the GPL.
268 But
269 * the user isn't distributing anything,
270 * I am not responsible for the user's deeds,
271 * I am not distributing "one program", so GPL doesn't apply to me either.
272
273
274 > If that were the whole situation--if readline did not exist--
275 > then I would have no grounds to object.
276
277 So the only reason why you may object is that my lisp.a has an INTERFACE
278 that allows it to be linked to libreadline.a . As far as I know, only
279 the readline CODE is copyrighted, not its INTERFACE. (Would you object
280 because my libnoreadline.a has a similar interface?)
281
282
283 > This is a problem I cannot ignore. If you can get away with this then
284 > any company can get away with it.
285 > ...
286 > And that would deprive GNU software of a major source of improvements.
287 > Is that what you want?
288
289 No, of course! But I would like to see the problem analyzed in depth.
290
291 Problem 1: If someone (like me) lets the user do the final link phase.
292
293 Problem 2: If the final link phase is done by the OS automatically at run time
294 (shared libraries).
295
296 You should update GPL for these cases.
297
298
299 > If you do succeed in circumventing the GPL for readline, you would be
300 > blazing a path for every commercial company that wants to do it.
301
302 But the problems remain there even if I put CLISP under GPL.
303
304
305 From haible Fri Nov 6 16:13:19 1992
306 Return-Path: <haible>
307 Received: by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
308 id AA14123; Fri, 6 Nov 92 16:13:18 +0100
309 Date: Fri, 6 Nov 92 16:13:18 +0100
310 From: haible (Bruno Haible)
311 Message-Id: <[email protected]>
312 To: [email protected], [email protected]
313 Subject: Common Lisp, Readline and GPL
314 Status: RO
315
316
317 > Wouldn't it be best to eliminate this dispute by using the GPL for
318 > Common Lisp?
319
320 Would be best for me, true.
321
322 > Totally aside from readline, the Lisp system would be
323 > more useful that way.
324
325 This and the following are convincing me:
326
327 * Up to 1991 the decision whether using GPL or not, was simply a matter of
328 philosophy or copyright policy.
329 The success of Linux, however, demonstrates how a speed and quality of
330 development was achieved which would have been impossible without access
331 for everyone to the source of everything.
332
333 * Finding co-developers for other Lisp packages or testers for other
334 hardware/OS platforms might be easier if I release full source.
335
336 So be prepared to seeing CLISP's source before Christmas.
337
338 Yours,
339 B. Haible
340
341 From [email protected] Fri Nov 6 21:31:33 1992
342 Return-Path: <[email protected]>
343 Received: from mole.gnu.ai.mit.edu ([128.52.46.33]) by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
344 id AA15204; Fri, 6 Nov 92 21:31:28 +0100
345 Received: by mole.gnu.ai.mit.edu (5.65/4.0)
346 id <[email protected]>; Fri, 6 Nov 92 15:20:48 -0500
347 Date: Fri, 6 Nov 92 15:20:48 -0500
348 From: [email protected] (Richard Stallman)
349 Message-Id: <[email protected]>
350 To: [email protected]
351 Cc: [email protected]
352 In-Reply-To: <[email protected]> ([email protected])
353 Subject: Common Lisp, Readline and GPL
354 Status: RO
355
356 * the user isn't distributing anything,
357 * I am not responsible for the user's deeds,
358 * I am not distributing "one program", so GPL doesn't apply to me either.
359
360 The FSF position would be that this is still one program, which has
361 only been disguised as two. The reason it is still one program is
362 that the one part clearly shows the intention for incorporation of the
363 other part.
364
365
366 I say this based on discussions I had with our lawyer long ago. The
367 issue first arose when NeXT proposed to distribute a modified GCC in
368 two parts and let the user link them. Jobs asked me whether this was
369 lawful. It seemed to me at the time that it was, following reasoning
370 like what you are using; but since the result was very undesirable for
371 free software, I said I would have to ask the lawyer.
372
373 What the lawyer said surprised me; he said that judges would consider
374 such schemes to be "subterfuges" and would be very harsh toward
375 them. He said a judge would ask whether it is "really" one program,
376 rather than how it is labeled.
377
378 So I went back to Jobs and said we believed his plan was not allowed
379 by the GPL.
380
381 The direct result of this is that we now have an Objective C front
382 end. They had wanted to distribute the Objective C parser as a
383 separate proprietary package to link with the GCC back end, but since
384 I didn't agree this was allowed, they made it free.
385
386
387 So I don't think the GPL actually requires a correction for this.
388 But perhaps it would be a good idea to add a note explaining this.
389
390
391 From haible Sun Nov 8 16:31:52 1992
392 Return-Path: <haible>
393 Received: by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
394 id AA18675; Sun, 8 Nov 92 16:31:51 +0100
395 Date: Sun, 8 Nov 92 16:31:51 +0100
396 From: haible (Bruno Haible)
397 Message-Id: <[email protected]>
398 To: [email protected], [email protected]
399 Subject: Re: Common Lisp, Readline and GPL
400 Status: RO
401
402
403 Thanks you for the explanation of the lawyers' point of view.
404
405 > What the lawyer said surprised me; he said that judges would consider
406 > such schemes to be "subterfuges" and would be very harsh toward
407 > them. He said a judge would ask whether it is "really" one program,
408 > rather than how it is labeled.
409
410 I accept this.
411
412 > They had wanted to distribute the Objective C parser as a
413 > separate proprietary package to link with the GCC back end, but since
414 > I didn't agree this was allowed, they made it free.
415
416 The situation for CLISP is a bit different: CLISP was running without the
417 readline library for over one year before I began using readline() in
418 September 1992. That was also the reason why I was able to build a drop-in
419 replacement (libnoreadline.a) within only one hour.
420
421 The readline library is not an essential or integral part of CLISP - it makes
422 the user interface nicer, and that's all.
423
424
425 From [email protected] Mon Oct 11 18:57:43 1993
426 Return-Path: <[email protected]>
427 Received: from mole.gnu.ai.mit.edu by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
428 id AA06403; Mon, 11 Oct 93 18:57:38 +0100
429 Received: by mole.gnu.ai.mit.edu (5.65/4.0)
430 id <[email protected]>; Mon, 11 Oct 93 13:56:03 -0400
431 Date: Mon, 11 Oct 93 13:56:03 -0400
432 From: [email protected] (Richard Stallman)
433 Message-Id: <[email protected]>
434 To: [email protected]
435 In-Reply-To: <[email protected]> ([email protected])
436 Subject: Re: compiling with gcc without linking with libggc.a
437 Status: RO
438
439 But libgmp.a should remain under GPL.
440
441 I'm interested in hearing why you think so.
442 Someone else is arguing that it should be under the LGPL;
443 I haven't made up my mind yet.
444
445 From haible Tue Oct 12 13:28:37 1993
446 Return-Path: <haible>
447 Received: by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
448 id AA07494; Tue, 12 Oct 93 13:28:36 +0100
449 Date: Tue, 12 Oct 93 13:28:36 +0100
450 From: haible (Bruno Haible)
451 Message-Id: <[email protected]>
452 To: [email protected]
453 Subject: Re: libgmp.a
454 Status: RO
455
456 > But libgmp.a should remain under GPL.
457 > I'm interested in hearing why you think so.
458
459 Because one can build a multi-precision calculator (like `bc') as a wrapper
460 to libgmp.a. Capability of handling arbitrary size numbers is still an
461 essential advantage (and marketing issue) for computer algebra systems and
462 Lisp implementations.
463
464 I had to put CLISP under GPL because libreadline.a was something I wanted
465 to use and I didn't want to write myself. libgmp.a is similar in this
466 respect, and it may therefore help putting some new packages under GPL.
467
468 Building libgmp.a was just too hard work. Other people shouldn't get it for
469 free.
470
471 Bruno Haible
472
473 From [email protected] Tue Oct 12 18:28:27 1993
474 Return-Path: <[email protected]>
475 Received: from mole.gnu.ai.mit.edu by ma2s2.mathematik.uni-karlsruhe.de (4.1/SMI-4.0)
476 id AA08120; Tue, 12 Oct 93 18:28:25 +0100
477 Received: by mole.gnu.ai.mit.edu (5.65/4.0)
478 id <[email protected]>; Tue, 12 Oct 93 13:26:57 -0400
479 Date: Tue, 12 Oct 93 13:26:57 -0400
480 From: [email protected] (Richard Stallman)
481 Message-Id: <[email protected]>
482 To: [email protected]
483 In-Reply-To: <[email protected]> ([email protected])
484 Subject: Re: libgmp.a
485 Status: RO
486
487 Thanks for reminding me about this example.
488 I agree it is a strong argument.
489