#842368 licensecheck: options: ignores option --check

#842368#5
Date:
2016-10-28 13:40:34 UTC
From:
To:
Dear Maintainer,

when I run "cme update dpkg-copyright" in the davmail package I get some
messages like these:
-----------------------------------------------------------------------
$ cme update dpkg-copyright
cme: using Dpkg::Copyright model
updating data
Calling update on Dpkg::Copyright Dpkg::Copyright Config::Model::Dpkg::Copyright=HASH(0x3c31028)
Invalid year range in copyright: þ¹ä[òææ-Z¡g·Îü*-7$;+`=»uA«ÖmrY7T at /usr/share/perl5/Dpkg/Copyright/Scanner.pm line 357.
Invalid year range in copyright: │a£1-I){GsX␌{I / ┼£:411"<MI├cI!S/\IW'6≠:5U9%c;(▒z35F£761 at /usr/share/perl5/Dpkg/Copyright/Scanner.pm line 357.
Invalid year range in copyright: ⎽S}7-7°┐␤␤␤X[9I|"l▒^9]VVvπ#d;Z[/ZJ:i5⎽␤h/GXFQ+]P9°N / sh5u / ((┐M.f  £pHXMF[:* ␉X3±D┼G?ut°2.KyGJ1▒WI±7'*"]d9R#─≤≠QV+w┌-␍dD,636°rm:^K{j± at /usr/share/perl5/Dpkg/Copyright/Scanner.pm line 357.
Invalid year range in copyright: ·c+]->q9Z+KwX at /usr/share/perl5/Dpkg/Copyright/Scanner.pm line 357.
Invalid year range in copyright: D*b3[I±k:62wV⎻$\S#7(H8K==zCqQ⎼^└=·I␉t]*jfQ+x]TP\ / 6PJ├E{-!E*Qv=WBB];┬pUsLo]t≠u6qU2@-⎻ / j`PVR/L>"#p+*┤T&-5-6┐VU9␍Z+┘┤)Z┬S├#┼#┴QJR│K/T1!T[▒·EZ/␉⎽B+E⎼≤2EK\┐├Q┴W<≠UU─<┐⎻/┘°-^ZJ%≥^V≥⎺┌$␍^┘@+?␉%.U!J9ZM-0≤>!I ▒├ /┤⎽⎼/⎽␤▒⎼␊/⎻␊⎼┌5/D⎻┐±/C⎺⎻≤⎼␋±␤├/S␌▒┼┼␊⎼.⎻└ ┌␋┼␊ 357.
T␤␊ °⎺┌┌⎺┬␋┼± ⎻▒├␤⎽ ▒⎼␊ └␋⎽⎽␋┼± ␋┼°⎺⎼└▒├␋⎺┼:
- ␉┤␋┌␍.│└┌: └␋⎽⎽␋┼± ␌⎺⎻≤⎼␋±␤├ ▒┼␍ ┌␋␌␊┼⎽␊
- ␉┤␋┌␍.│└┌: └␋⎽⎽␋┼± ␌⎺⎻≤⎼␋±␤├ ▒┼␍ ┌␋␌␊┼⎽␊
...
-----------------------------------------------------------------------


By looking at the resulting debian/copyright file it looks like
Dpkg::Copyright tried to parse some binary files too:
----------------------------------------------------------------------- The issue can be reproduced with these commands: $ git clone https://anonscm.debian.org/git/pkg-java/davmail.git $ cd davmail/ $ cme update dpkg-copyright Thanks, Antonio
#842368#10
Date:
2016-11-01 17:04:12 UTC
From:
To:
This is due to licensecheck which no longer follow the regexp given to --check
option (done in davmail source repo, see below):

$ licensecheck --encoding utf8 --copyright --machine '--check=.*\.(c|r)' --
recursive src/icon
src/icon/davmail.png    UNKNOWN ÿ3gÎ; / z¿>)çyñ]ïûÀ^´;;/ / zxÜ»Ê+õ3º$InÉò+
+¼`ôú©¦»JY0È-d~XRµg³Ïùma­ ~¦Ús|ô / lËØÁ$?ñȳÿSné%SL   >sCø/°H×Ý(dÅ»(wì·E?G*áò
¤ä¥ºnümZ,â5Á s»Ã$ / *Ù(z»È¨YC§¢H^|ÊÆÁµ¼¨)h|Ë6 / *OtM^"ùo,ÛâêF@ñ²ëã`ã÷½à%æ▒

Given the regexp passed to --check, licensecheck should skip the png file.

Jonas, could you have a look ?

Thanks for this. I'm always glad when a bug report contains detailed
instructions to reproduce a bug which saves me some time :-)

All the best

#842368#23
Date:
2016-11-01 17:44:04 UTC
From:
To:
Quoting Dominique Dumont (2016-11-01 18:04:12)
[...]

Yes, I can confirm that licensecheck fails to respect --check.

Thanks for the bugreport!

 - Jonas

#842368#32
Date:
2023-05-12 14:36:53 UTC
From:
To:
Good morning,

 Attached please find your PDF account statement and invoice as of 05/11/2023. Please notice you have a past due balance  for invoice IN0099203.

 Please provide payment as soon as possible.




 Best Regards,
 Shawneen Chisholm
 Accounts Receivable Coordinator

 UNITED RENTALS, INC.
Branch L02 BONNYVILLE
4920 56TH AVE
BONNYVILLE AB T9N 2N8 CA
780-826-7610


 CONFIDENTIALITY NOTICE: The contents of this email message and any attachments are intended solely for the addressee(s). This may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message, please alert the sender immediately by reply email and then delete this message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited