Bug#842368: libconfig-model-dpkg-perl: cme update dpkg-copyright scans binary files too

Antonio Ospite ao2 at ao2.it
Fri Oct 28 13:40:34 UTC 2016


Package: libconfig-model-dpkg-perl
Version: 2.085
Severity: normal

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 at -⎻ / 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:


-----------------------------------------------------------------------
...
Files: src/icon/*
Copyright: ›iÿ3gΔ; / z¿†>)çyñ]‘ïûÀ^”´;;/ / zxÜ»Ê“+õ3º$InÉò++¼`ôú©¦»J#Y‰0
È-d~X„Rµg³Ïùma­ ~¦Ús|ô / lˇØÁ$?ñ˜È³ÿSné%SL
License: GPL-2+
...
-----------------------------------------------------------------------

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

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages libconfig-model-dpkg-perl depends on:
ii  libapt-pkg-perl                              0.1.30
ii  libarray-intspan-perl                        2.003-1
ii  libconfig-model-perl                         2.092-1
ii  libexporter-lite-perl                        0.08-1
ii  liblog-log4perl-perl                         1.47-2
ii  libmouse-perl                                2.4.5-2+b1
ii  libparse-recdescent-perl                     1.967013+dfsg-1
ii  libsoftware-license-perl                     0.103012-1
ii  libtext-autoformat-perl                      1.740000-2
ii  libtext-levenshtein-damerau-perl             0.41-1
ii  liburi-perl                                  1.71-1
ii  libwww-perl                                  6.15-1
ii  libyaml-perl                                 1.18-1
ii  licensecheck                                 3.0.24-1
ii  lintian                                      2.5.49
ii  perl                                         5.24.1~rc3-3
ii  perl-modules-5.22 [libmodule-corelist-perl]  5.22.2-5
ii  perl-modules-5.24 [libmodule-corelist-perl]  5.24.1~rc3-3

Versions of packages libconfig-model-dpkg-perl recommends:
ii  libconfig-model-tkui-perl  1.357-1

libconfig-model-dpkg-perl suggests no packages.

-- no debconf information
-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?



More information about the pkg-perl-maintainers mailing list