-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConvertUTF.cpp is shipped with a non "University of Illinois Open Source License" compatible license #32309
Comments
Interesting... This file seems to have been added a long time ago, here: https://reviews.llvm.org/rL68208 Originally it was in cfe/trunk/lib/Basic, then it got moved around and edited a bit, but the original license was always in there. |
Also note that there also appear to be older IBM versions of this file, with a completely different license, written by the original author, Mark E. Davis. I'm not sure how the Unicode org managed to change the license. :) |
Looks like there is a license compatible version in breakpad: I am trying to fix that here: |
well done :) |
@jyknight Discussion at AmokHuginnsson/replxx#12 indicates these can be replaced by https://github.com/nemtrif/utfcpp |
The code does not need to be replaced for license reasons. The files were
relicensed to a proper license by Unicode.org some 15 years ago, so we
fixed this issue for llvm by applying the "new" license terms to our copy.
I would suggest anyone else who is in a similar situation should do the
same. (Of course, if you want to use a different library for functional
reasons, that's another matter.)
|
Extended Description
Detected by lintian, the Debian static analyzer:
lib/Support/ConvertUTF.cpp include material under a non-free
license from Unicode Inc. Therefore, it is not possible to ship this in
main or contrib.
This license does not grant any permission to modify the files (thus
failing DFSG#3). Moreover, the license grant to attempt to restrict use
to "products supporting the Unicode Standard" (thus failing DFSG#6).
In this case a solution is to use libicu and to remove this code by
repacking.
Refer to https://bugs.debian.org/823100 for details.
And https://en.wikipedia.org/wiki/Debian_Free_Software_Guidelines for Debian information.
The text was updated successfully, but these errors were encountered: