Bug#705596: libconfig-model-dpkg-perl: does not parse correctly License fields with commas

Dominique Dumont dod at debian.org
Fri Apr 19 07:46:12 UTC 2013


On Wednesday 17 April 2013 11:32:12 Cédric Boutillier wrote:
> $ cme check dpkg-copyright
> Warning: skipping value BSD-2-clause or Ruby, and PSF because of the
> following errors: license Ruby, is not declared in main License section.
> Expected BSD-2-clause LGPL-2.1 PSF Ruby

Bummer, the parser is confused that the comma appended to Ruby :-(

As a work-around you can try to add a space between 'Ruby' and the comma.
I.e.: 

 License: BSD-2-clause or Ruby , and PSF

I'll fix the Parse::RecDescent grammar used to parse the license line.

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