Bug#1021773: libconfig-model-dpkg-perl: tweak example in docs for fix.(scanned.)copyright does not work

Andreas Metzler ametzler at bebt.de
Sat Oct 15 13:15:45 BST 2022


On 2022-10-15 Dominique Dumont <dod at debian.org> wrote:
> On Friday, 14 October 2022 15:07:56 CEST you wrote:
>> Note: loading debian/fix.scanned.copyright fixes from copyright fix files
>> Configuration item 'Dpkg::Copyright' has a user error:
>>         Error while applying fix.scanned.copyright file:
>>         Configuration item 'Files:"'*'" Copyright' has a wrong value:
>>         Undefined mandatory value.

> This can happen if the s/\s*".*// results in a blank copyright.

> What is the content of the copyright file before running "cme update" ?

Hello,

I actually tried to do something else, got an error (the same
one) and then feel back to the example provided to find whether there
was some fundamental breakage.

I do not think the diagnosis is correct though, I have no »"« in the
Copyright lines, so the pattern simply is a noop and should not throw an
error, shouldn't it?
ametzler at argenau:~$ grep ^Copy GIT/writing/guile-gnutls/debian/copyright | grep \"
ametzler at argenau:~$

Anyway what I really tried to do was working around #1021757 and transform
Copyright: 2007-2012, 2014-2016, 2019, 2021, 2022, Free Software
to
Copyright: 2007-2012, 2014-2016, 2019, 2021, 2022, Free Software, Inc.

with
! Files:'*' Copyright=~s/, Free Software$/, Free Software Foundation, Inc./

(This is https://salsa.debian.org/gnutls-team/guile-gnutls/ )

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the pkg-perl-maintainers mailing list