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
/*******************************************************************************
* superduper - main.h *
* Copyright (C) 2001-2010 Paul 'bar' Stevénsön *
* Copyright (C) 2004-2015 Oliva 'f00' Oberto *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
* *
******************************************************************************/
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: *
Copyright: 2004-2015, Oliva f00 Oberto * / 2001-2010, Paul bar Stevenson *
License: GPL-2+
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 dated June, 1991, or (at
your option) any later version.
.
On Debian systems, the complete text of version 2 of the GNU General
Public License can be found in '/usr/share/common-licenses/GPL-2'.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: *
Copyright: 2004-2015, Oliva 'f00' Oberto
2001-2010, Paul 'bar' Stevenson
License: GPL-2+
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 dated June, 1991, or (at
your option) any later version.
.
On Debian systems, the complete text of version 2 of the GNU General
Public License can be found in '/usr/share/common-licenses/GPL-2'.