Bug#992439: libconfig-model-dpkg-perl: blocks fails autopkgtest with recent licensecheck

Jonas Smedegaard dr at jones.dk
Thu Aug 19 08:43:24 BST 2021


Hi Gregor,

Quoting gregor herrmann (2021-08-19 02:34:49)
> Control: tag -1 unreproducible
> 
> On Wed, 18 Aug 2021 17:41:06 +0200, Jonas Smedegaard wrote:
> 
> > Package: libconfig-model-dpkg-perl
> > Version: 2.143
> > Severity: important
> > 
> > Licensecheck seemingly gets blocked from entering stable currently, 
> > due to libconfig-model-dpkg-perl 2.143 fialing its autopkgtest:
> 
> I can't reproduce an autopkgtest failure of libconfig-model-dpkg-perl 
> locally, and I also don't see it at 
> https://ci.debian.net/packages/libc/libconfig-model-dpkg-perl/ (except 
> for historical occurences but the last checks all seemed to pass).
> 
> https://tracker.debian.org/pkg/licensecheck also shows no blocks from 
> libconfig-model-dpkg-perl.
>  
> (Not closing the bug as the earlier failures are a bit mysterious … 
> Maybe dod has an idea.)
> 
> I just did an upload for #992253, let's see what happens.

This is likely the bug I found and fixed libregexp-pattern-license-perl 
later yesterday: licensecheck <= 3.2.6 relied on not-yet-documented 
hints in libregexp-pattern-license-perl which was partly broken¹ and 
when fixed broke that old (mis)use of it.

I tested various combinations of old app with new lib and vice versa and 
thought I had dealt with it, but evidently not: Ysterday I added a hint 
that recent libregexp-pattern-license-perl breaks old licensecheck.


Thanks for investigating,


 - Jonas


¹ Regexp::Pattern::License contains patterns for common "traits", e.g. 
grant prefix "...is licensed under" and exception prefix "In addition to 
the permissions in...".  When exception traits were introduced they were 
wrongly tagged as type:trait:grant:prefix, and when Licensecheck began 
using then it overconfidently didn't account for a possible empty result 
when looking up tags.  So when I corrected the tags as 
type:trait:exception:prefix, licensecheck would blew up when used with 
newer Regexp::Pattern::License, instead of just fail to detect 
exceptions as expected.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20210819/7cc13d7b/attachment.sig>


More information about the pkg-perl-maintainers mailing list