233 points · by btdmaster · 4y ago · 103 comments
I could just be bad at following what is going on too, since this is the first time I have seen this.
> modify it under the terms of the GNU Lesser General Public
> * License as published by the Free Software Foundation;
LGPL, not GPL.
No shady stuff going on either, https://github.com/mirror/tinycc/blob/mob/tcctools.c sais the same thing.
Edit: texi2pod.pl however does seem to be GPL, and not LGPL: https://github.com/mirror/tinycc/blob/mob/texi2pod.pl however, perl isn't linked, so there's probably a way out there.
il-opcodes does seem to be GPL2+, and the header arguably would end up in the binary thus forcing everything to be GPL? https://github.com/mirror/tinycc/blob/mob/il-opcodes.h
Edit 2:
I think I've resolved this: Fabrice Bellard already agreed to relicense under a permissive license, see: https://github.com/mirror/tinycc/blob/mob/RELICENSING
Thus, I think it would be really hard to argue that there's any problem left, since the only file here that could be in violation (il-opcodes) is authored by fabrice bellard and arguably already permissively licensed.
Case closed.
Says:
* 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.
That looks like GPL 2+ to me. Please correct me if I misunderstand.Either way, it is hard to blame the author of Cheat Engine for this. If there is any violation it comes from a vendored dependency. Again, IANAL, but if someone presents you code and claims it is licensed under X, but then you find out they don't have the rights to license that code under X, it is hard to find you at fault.
Edit: The GPL file in question is authored by the same author of libtcc (Fabrice Bellard) who has released libtcc in its entirety under LGPL. No violation has occurred anywhere in the stack, the header is simply incorrect.
Anyway, all it does is convert from texinfo to pod formats, so that should be easily doable by some other tool or by the author themselves, if that is the only remaining violation, might as well address that.
The only actually GPL-licensed file in that list, obsolete_ntifs.h, doesn't exist in the repo. If you can find a version of CheatEngine that includes that file, presumably that would be a GPL violation, but that would have to rely on an analysis of how integrated the DBKKernel component is with the rest of the CheatEngine system.
I'm team free software and GPL code makes it more likely that people will GPL their code, but this sort of mobbing/bullying shouldn't be the way to do it. Let people make the decision because it is technically superior to do so, and sure ask people but bullying like this seems counter-productive.
As an aside for the tcc bits, they're right, tcc is lgpl, but it is odd that parts of it are stamped GPL proper, so I'm not sure what the protocol is there...is that an improper inclusion of GPL'ed code into a LGPL project? That would be tcc's fault then...
@Maniues: Please explicitly list all files in this project that violate GPL, or I will close this issue by (Some reasonable date.)
Then, by that date, I'd double-check that none of the code violates the GPL.
Why: I suspect that Maniues has a poor understanding of the semantics needed to determine if the project actually violated the GPL. It's quite common for people to raise a ruckus on something that they don't understand.
Upon closing the issue, I'd state, "I checked all of our dependencies, including XXX. Nothing violates the GPL." If there's LGPL or similar, I'd say something like, "We use XXX, which is LGPL, not GPL, and we are in compliance with the license."
Then I would close the issue. Issues like this shouldn't be left unresolved.
https://github.com/cheat-engine/cheat-engine/issues/60#issue...
Importantly, the new code in the infringing product is still copyrighted, and that copyright is owned by the person who wrote that code even though they also violated the GPL license of other code.
Edit: Good point about the SFC/Vizio case. I would be surprised if the SFC wins, but it's a clever argument. It would be a major earthquake for the free software world, but maybe not an earthquake in their favor. No one is going to touch GPL code with a ten foot pole if it gives the entire public standing to sue you.
[a]: According to a comment on issue #60[0], this would be any of: the FSF, Fabrice Bellard, Timppa, Martin Waldenburg, Jean-Franois Goulet, or Bo Brantén
[0]: https://github.com/cheat-engine/cheat-engine/issues/60#issue...
I thought the "one GPL file touched these other files and made them all GPL too!" vibe coming off the thread felt a bit weird! But I'd read something about the GPL being a viral license somewhere so wasn't quite twigging that no that's not what that means. Thanks.
I've incidentally been looking for a good dense steak to chew through on software licensing that's maybe dense but leaves me with a properly calibrated mental model that lets me answer simple non-normative questions without pining for counsel :). Something with good signal-to-noise ratio that eschews circumstantial drama to focus on theory and how things (have) play(ed) out in practice in nuanced and unintuitive situations. I wonder if something like this even exists...?
Microsoft FUD morphed that into "if you use GPL code, all other code you write automatically becomes GPL (and you lose copyright)", which is wrong.
To really get the issues discussed in this sub-thread and at issue in the SFC/Vizio case, you would want to know about contract remedies, privity of contract, third party beneficiaries, license agreements as a special species of contract, standing, and maybe some other areas too. But I think software engineers are actually well suited to understanding law, especially if they also have an innate interest in political/moral philosophical questions.
Then just... actually follow the license? The only way for it to be a problem is if you're using GPL code and not releasing it under the GPL; the only change is who can try and force you to actually follow the license, not the actual exposure.
(IANAL, but to the best of my amateur knowledge this isn't particularly complex or controversial)
That's not clear.
> All it does is give the copyright holder of the GPL'd code a legal claim against the developer of the derivative product.
That's a hotly debated topic, because of the “intended third-party beneficiary” doctrine in contract law, which clearly gives people other than parties a right to sue (why it is debated is because it is debated how the doctrine applies to the GPL specifically, and it may differ among different particular cases where the license is used, since it isn't just a question of the bare contract language.)
Even if it's true, it just seems to be mislabelled headers and code in tcc and that have been cleaned up in next versions of tcc so just updating the dependency resolve the problem.
If the GPL requires you to release source code, but the reason for your success is that you've found a clever way to do something that no one has thought of yet, doesn't that really put a damper on what people will try doing - because the invention is no longer yours and must be shared?
It's a nice software, but the people behind it are shady
> Legal action is a last resort. Compliance actions are primarily education and assistance processes to aid those who are not following the license. Most GPL violations occur by mistake, without ill will. Copyleft enforcement should assist these distributors to become helpful participants in the free software projects on which they rely. Occasionally, violations are intentional or the result of severe negligence, and there is no duty to be empathetic in those cases. Even then, a lawsuit is a last resort; mutually agreed terms that fix (or at least cease) further distribution and address damage already done are much better than a battle in court.
TLDR: Legal action is a last resort. Most GPL violations occur by mistake, without ill will.
Here is a list of the supposed violations, as per this comment [1]:
./Cheat Engine/tcclib/texi2pod.pl copyright Free Software Foundation via GNU GPL v2+
./Cheat Engine/tcclib/il-opcodes.h copyright Fabrice Bellard via GNU GPL v2+
./Cheat Engine/tcclib/tcctools.c copyright Timppa via GNU GPL v2+
./Cheat Engine/tcclib/lib/libtcc1.c copyright Free Software Foundation via GNU GPL v2+
./Cheat Engine/bin/tcclib/libtcc1.c copyright Free Software Foundation and Fabrice Bellard via GNU GPL v2+
./Cheat Engine/SynHighlighterAA.pas copyright Martin Waldenburg via GNU GPL v2+ (and MPL)
./Cheat Engine/LuaSyntax.pas copyright Jean-Franois Goulet via GNU GPL v2+ (and MPL)
./DBKKernel/obsolete_ntifs.h copyright Bo Brant via GNU GPL v2+
* libtcc is licensed under LGPL, as can be verified by downloading the source [2]. The bulk of the alleged violations come from the vendored version of this project.* il-opcodes.h [3] is included in libtcc, but has a GPL license in the header. As the GPL license author is the author of libtcc (Fabrice Bellard), this seems like a mistake in that single header and the general license of the project should take priority. An author of source code is allowed to relicense their own code to whichever license they wish, after all, even if the original license used to be the GPL.
* texi2pod.pl [4] is licensed under GPL, but as it is a single perl script it does not link to the main cheat-engine program, which means the GPL does not extend to the rest of the cheat-engine project.
* LuaSyntax.pas and SynHighlighterAA.pas [5] are dual licensed under MPL, so are not violations to begin with.
* The other linked file (obsolete_ntifs.h [6]) has since been deleted and was not in use to begin with (and hence never linked to the actual project).
Unless I am missing something, none of these allegations seem to hold any water. It mainly seems to boil down to the author of libtcc making a sloppy license mistake in a header (likely copy-pasting licenses around incorrectly).
[1] https://github.com/cheat-engine/cheat-engine/issues/60#issue...
[3] https://github.com/cheat-engine/cheat-engine/blob/master/Che...
[4] https://github.com/cheat-engine/cheat-engine/blob/8bdb7f28a9...
[5] https://github.com/cheat-engine/cheat-engine/blob/5d595d7fce...
[6] https://github.com/cheat-engine/cheat-engine/blob/e38c7997c9...
You can easily generate the il-opcodes.h based on the constant names that were used.
CONV_OVF_I1_UN -> lower case -> conv_ovf_i1_un -> . -> convv.ovf.i1.un
Those opcode numbers are just an auto incremented number.
The author of Cheat Engine should just reverse engineer the file himself and push an update to libtcc to make it LGPL compliant.
I do find this side of things very interesting so I took at look at the thread.
But 2 things stick out to me in particular:
1. The person who opened this ticket... their tone is. Strong. Especially for someone that claims to not have a stake but is threatening to contact those that do? What is the point?
2. I took a look at the history for this person and they open a lot of these tickets. So again... I am curious what their point is? What is the end goal of just spending all this time looking at repos and getting into arguments over licensing.
Is it GPL? GPLv2? GPLv2+? LGPL? AGPL? The majority will enjoy their absolute freedom... to stay far, far away from all that noise...