2019-08-09 09:33:38

by Charlemagne Lasse

[permalink] [raw]
Subject: REUSE/SPDX: Invalid LicenseRef in Linux sources

When I run the reuse lint tool on the current linux sources, I get
following error

reuse.project - WARNING - Could not resolve SPDX identifier of
LICENSES/deprecated/GPL-1.0, resolving to LicenseRef-Unknown0
reuse.project - WARNING - Could not resolve SPDX identifier of
LICENSES/exceptions/GCC-exception-2.0, resolving to
LicenseRef-Unknown1
reuse.project - WARNING - Could not resolve SPDX identifier of
LICENSES/preferred/LGPL-2.0, resolving to LicenseRef-Unknown2
reuse.project - WARNING - Could not resolve SPDX identifier of
LICENSES/preferred/LGPL-2.1, resolving to LicenseRef-Unknown3
reuse.project - WARNING - Could not resolve SPDX identifier of
LICENSES/preferred/GPL-2.0, resolving to LicenseRef-Unknown4
reuse.project - WARNING - Could not resolve SPDX identifier of
LICENSES/dual/Apache-2.0, resolving to LicenseRef-Unknown5
reuse.project - WARNING - Could not resolve SPDX identifier of
LICENSES/dual/MPL-1.1, resolving to LicenseRef-Unknown6
reuse.project - WARNING - Could not resolve SPDX identifier of
LICENSES/dual/CDDL-1.0, resolving to LicenseRef-Unknown7

Can you please help to fix the problem

Thanks


2019-08-09 09:45:51

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: REUSE/SPDX: Invalid LicenseRef in Linux sources

On Fri, Aug 09, 2019 at 11:30:44AM +0200, Charlemagne Lasse wrote:
> When I run the reuse lint tool on the current linux sources, I get
> following error
>
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/deprecated/GPL-1.0, resolving to LicenseRef-Unknown0
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/exceptions/GCC-exception-2.0, resolving to
> LicenseRef-Unknown1
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/preferred/LGPL-2.0, resolving to LicenseRef-Unknown2
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/preferred/LGPL-2.1, resolving to LicenseRef-Unknown3
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/preferred/GPL-2.0, resolving to LicenseRef-Unknown4
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/dual/Apache-2.0, resolving to LicenseRef-Unknown5
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/dual/MPL-1.1, resolving to LicenseRef-Unknown6
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/dual/CDDL-1.0, resolving to LicenseRef-Unknown7
>
> Can you please help to fix the problem

Please fix the reuse tool, I don't see this being a kernel issue, it has
never said it follows the spec put forth by the reuse project.

thanks,

greg k-h

2019-08-09 12:15:48

by Carmen Bianca Bakker

[permalink] [raw]
Subject: Re: REUSE/SPDX: Invalid LicenseRef in Linux sources

Je ven, 2019-08-09 je 11:30 +0200, Charlemagne Lasse skribis:
> When I run the reuse lint tool on the current linux sources, I get
> following error
>
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/deprecated/GPL-1.0, resolving to LicenseRef-Unknown0
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/exceptions/GCC-exception-2.0, resolving to
> LicenseRef-Unknown1
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/preferred/LGPL-2.0, resolving to LicenseRef-Unknown2
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/preferred/LGPL-2.1, resolving to LicenseRef-Unknown3
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/preferred/GPL-2.0, resolving to LicenseRef-Unknown4
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/dual/Apache-2.0, resolving to LicenseRef-Unknown5
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/dual/MPL-1.1, resolving to LicenseRef-Unknown6
> reuse.project - WARNING - Could not resolve SPDX identifier of
> LICENSES/dual/CDDL-1.0, resolving to LicenseRef-Unknown7
>
> Can you please help to fix the problem

The REUSE Spec mandates a file extension. The kernel isn't perfectly
compliant, and doesn't aim to be compliant.

Kindly,
Carmen


Attachments:
signature.asc (849.00 B)
This is a digitally signed message part