Bug#842368: libconfig-model-dpkg-perl: cme update dpkg-copyright scans binary files too
Dominique Dumont
dod at debian.org
Tue Nov 1 17:04:12 UTC 2016
On Friday, 28 October 2016 15:40:34 CET you wrote:
> 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#Y0
È-d~XRµg³Ïùma ~¦Ús|ô /
> lËØÁ$?ñȳÿSné%SL License: GPL-2+
> ...
> -----------------------------------------------------------------------
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 ?
> 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 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
--
https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org
More information about the pkg-perl-maintainers
mailing list