Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 100:31:01 |
Calls: | 290 |
Files: | 905 |
Messages: | 76,508 |
Hi
This failure is due to a combination of issues.
Some author of texlive-extra got creative to specify their copyright years:
- 2023 -20** by Romain NOEL <romainoel@free.fr>
- 2011-.. Maïeul Rouquette
This leads to error when parsing copyright ranges and this triggers the error you've seen.
I'll change Software::Copyright to cope with these new ways of specifying a copyright.
Another problem is that some copyrights are not utf-8:
texmf-dist/source/latex/beamertheme-gotham/gotham.dtx LPPL-1.3c 2023 -20** by Romain NOEL <romainoel@free.fr> texmf-dist/source/latex/beamertheme-gotham/gotham.ins LPPL-1.3c 2008 Romain NOÃL <romainoel@free.fr> texmf-dist/tex/latex/beamertheme-gotham/beamercolorthemegotham.sty
UNKNOWN 2023 -20** by Romain NOÃL <romainoel@free.fr> texmf-dist/tex/latex/beamertheme-gotham/beamerfontthemegotham.sty
UNKNOWN 2023 -20** by Romain NOÃL <romainoel@free.fr> texmf-dist/tex/latex/beamertheme-gotham/beamerinnerthemegotham.sty
UNKNOWN 2023 -20** by Romain NOÃL <romainoel@free.fr> texmf-dist/tex/latex/beamertheme-gotham/beamerouterthemegotham.sty
UNKNOWN 2023 -20** by Romain NOÃL <romainoel@free.fr> texmf-dist/tex/latex/beamertheme-gotham/beamerthemegotham.sty UNKNOWN 2023 -20** by Romain NOÃL <romainoel@free.fr>
This also triggers the error you've seen.
I'm going to modify lib/Dpkg/Copyright/Grant/ByDir.pm to tolerate these issues, but the resulting copyright may not be as accurate as possible.
I'd suggest you talk with upstream to fix the encoding of the source files.
All the best
I see, thanks for clarifying. I wonder if there is a kind of
specification which mentions that copyright notice should be utf-8 or if
it is just the common case.
I'd suggest you talk with upstream to fix the encoding of the source
files.
Thank you, yes, I will discuss this with upstream.
I understand that some of these corner cases are triggered by the new features in scan-copyrights which tries to get better scanning results
which is something I really appreciate.
In this context, I wonder if in
general when trying to parse a copyright notice and some "strange data"
is found the tool should print a warning and report "UNKNOWN"