Bug#783932: [libconfig-model-dpkg-perl] fails to parse copyright headers for 'cme update dpkg-copyright'

Franz Schrober franzschrober at yahoo.de
Fri May 1 11:48:39 UTC 2015


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

Just tried to use cme to create copyright files but it unfortunately failed :(

I've used the example from 
https://ddumont.wordpress.com/2015/04/05/improving-creation-of-debian-copyright-file/

$ cme update dpkg-copyright -quiet
utf8 "\xC3" does not map to Unicode at /usr/share/perl5/Dpkg/Copyright/Scanner.pm line 89, <GEN2> line 1.
Malformed UTF-8 character (fatal) at /usr/share/perl5/Dpkg/Copyright/Scanner.pm line 121.


Here is the "say" debug line from 
/usr/share/perl5/Dpkg/Copyright/Scanner.pm
found: ./main.h GPL (v2 or later)     2004-2015 Oliva 'f00' Oberto * / 2001-2010 Paul 'bar' Stev�nsön *


And even when removing any non-ascii characters, it still failed to create the file. See the attached expected.txt and the result.txt


Btw I am using devscripts 2.15.4
cme 1.003-1
 
--- System information. ---
Architecture: amd64
Kernel:     Linux 3.16.0-4-amd64

Debian Release: stretch/sid
500 unstable      http.debian.net 
1 experimental   http.debian.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.h
Type: text/x-chdr
Size: 1622 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150501/2079affd/attachment.h>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: result.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150501/2079affd/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: expected.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150501/2079affd/attachment-0001.txt>


More information about the pkg-perl-maintainers mailing list