Bug#942275: libmoox-options-perl: test failure

Jonas Smedegaard jonas at jones.dk
Wed Oct 23 00:40:42 BST 2019


Quoting intrigeri (2019-10-14 11:29:02)
> Control: retitle -1 libmoox-options-perl: test regression with librole-tiny-perl 2.001003-1
> Control: forwarded -1 https://github.com/celogeek/MooX-Options/pull/69
> 
> Hi again,
> 
> intrigeri:
> >> Maybe yesterday's upload of libnamespace-autoclean-perl?
> 
> > Hmm, AFAICT libmoox-options-perl does not depend (even transitively)
> > on libnamespace-autoclean-perl, so I have a doubt. But who knows :)
> 
> The test suite still passes after upgrading
> libnamespace-autoclean-perl, but it starts failing once I upgrade
> librole-tiny-perl from 2.001001-1 to 2.001003-1 (both with
> libnamespace-autoclean-perl 0.28-1 and 0.29-1, so that one is
> definitely not the culprit).
> 
> I've implemented a workaround, sent it in a RFC PR upstream, and I'll
> apply it to our package now in order to mitigate a bit the impact of
> this bug. But I'm not convinced at all that it's the correct place to
> fix this: I suspect this problem is merely a symptom of a regression
> in librole-tiny-perl, but the codebase of that one is far outside of
> my comfort zone.
> 
> In passing, I see that this newer librole-tiny-perl also breaks the
> test suite of libattean-perl:
> https://ci.debian.net/data/autopkgtest/testing/amd64/liba/libattean-perl/3157349/log.gz
> But that seems to be another problem and I did not dive into it.

Seems there's now a fix for Attean upstream which might be enlightening 
for how to address same/similar issue in other modules: 
https://github.com/kasei/attean/pull/142

>From that fix:

> Moo::Role and Role::Tiny shouldn't be 'use'd in the same package.
>
> Moo::Roles shouldn't be applied using Role::Tiny.
>
> Role::Tiny should be loaded explicitly in the locations using its
> subs/methods directly.


 - 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/20191023/c42902a5/attachment.sig>


More information about the pkg-perl-maintainers mailing list