Bug#738481: libdebian-copyright-perl: fails when debian/copyright contains Files-Excluded field

Jonas Smedegaard dr at jones.dk
Sun Feb 9 21:42:52 UTC 2014


Package: libdebian-copyright-perl
Version: 0.2-1
Severity: important

I just tried out the tool license-reconcile today, against the
ghostscript package.  It failed with this error:

CopyrightParsing: Invalid field given (Files_Excluded) at /usr/share/perl5/Debian/Copyright.pm line 122.

Seems to me that it is Debian::Copyright library not supporting that
field.

Specifically, the Files-Excluded field is now used by uscan as a way to
express files to exclude when repackaging an upstream tarball e.g. when
containing DFSG-nonfree parts.

More importantly, however, DEP-5 format 1.0 explicitly allows *any*
field names, so Debian::Copyright should not fail even if stumbling on
completely alien fields:

https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#file-syntax

 - Jonas



More information about the pkg-perl-maintainers mailing list