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

gregor herrmann gregoa at debian.org
Wed Mar 2 16:25:04 UTC 2016


Control: unmerge -1
Control: severity -1 normal
Control: retitle -1 libdebian-copyright-perl: allow arbitrary fields

On Sun, 09 Feb 2014 22:42:52 +0100, Jonas Smedegaard wrote:

> 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.

This will be fixed, and the merged bugs 781369, 816469 closed.

And:
 
> 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

this will be tracked as a separate bug, as it's more involved to fix.


Cheers,
gregor

-- 
 .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: U2: Drowning man
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160302/b52d9911/attachment.sig>


More information about the pkg-perl-maintainers mailing list