Bug 2226961
| Summary: | "Unapproved license" reported by rpminspect | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Václav Kadlčík <vkadlcik> |
| Component: | annobin | Assignee: | Nick Clifton <nickc> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fweimer, jakub, nickc, sipoyare, yahmad |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-08-03 09:24:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Václav Kadlčík
2023-07-27 07:15:36 UTC
Nick, where does GPL-2.0-or-later WITH GCC-exception-2.0 come from? Is it because you are statically linking against GCC parts? Shouldn't it be GPL-3.0-or-later WITH GCC-exception-3.1 then? (In reply to Florian Weimer from comment #1) > Nick, where does GPL-2.0-or-later WITH GCC-exception-2.0 come from? The demangling code in libiberty. Specifically: cp-demangle.c, cp-demangle.h, cplus-dem.d, d-demangle.c, demangle.h. Note - as of annobin 12.18, I have removed the dependency of linking annocheck with the libiberty.a library from the binutils-devel package, and instead brought a copy of the necessary sources into the annobin repository. > Is it > because you are statically linking against GCC parts? Shouldn't it be > GPL-3.0-or-later WITH GCC-exception-3.1 then? As far as I can tell these files are all GPL v2 + exception, even on the upstream gcc master branch. >> The license database is specified in the rpminspect configuration file Do you know where I can find this configuration file ? I looked in the rpminspect and rpminspect-data-fedora packages, but could not find it. (In reply to Nick Clifton from comment #2) > (In reply to Florian Weimer from comment #1) > > Nick, where does GPL-2.0-or-later WITH GCC-exception-2.0 come from? > > The demangling code in libiberty. Specifically: cp-demangle.c, > cp-demangle.h, cplus-dem.d, d-demangle.c, demangle.h. Ohh. > >> The license database is specified in the rpminspect configuration file > > Do you know where I can find this configuration file ? I looked in the > rpminspect and rpminspect-data-fedora packages, but could not find it. Do you mean the license data file? It's in fedora-license-data. (In reply to Florian Weimer from comment #3) > Do you mean the license data file? It's in fedora-license-data. Ah, thanks. A quick scan of the license database in that package shows that "GPL-2.0-only WITH GCC-exception-2.0" is allowed, but that "GPL-2.0-or-later WITH GCC-exception-2.0" is undocumented. I have submitted a License Review request for the extended version: https://gitlab.com/fedora/legal/fedora-license-data/-/issues/271 The license has been approved, so I am going to close this BZ. |