Bug#868075: libperlx-assert-perl: missing dependency on libkeyword-simple-perl | libdevel-declare-perl

gregor herrmann gregoa at debian.org
Tue Jul 11 20:53:13 UTC 2017


On Tue, 11 Jul 2017 23:18:39 +0300, Niko Tyni wrote:

> This package seems to be missing a runtime dependency on
> libkeyword-simple-perl | libdevel-declare-perl.
> 
>   % perl -e 'use PerlX::Assert'
>   Can't locate Devel/Declare.pm in @INC (you may need to install the Devel::Declare module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/PerlX/Assert/DD.pm line 6.
>   BEGIN failed--compilation aborted at /usr/share/perl5/PerlX/Assert/DD.pm line 6.
>   Compilation failed in require at /usr/share/perl5/PerlX/Assert.pm line 50.
>   BEGIN failed--compilation aborted at -e line 1
> 
> The code looks like PerlX::Assert::Keyword is used if Keyword::Simple
> is installed, otherwise PerlX::Assert::DD (which needs Devel::Declare.)

Looks like both are needed in a way: If I add libkeyword-simple-perl
| libdevel-declare-perl, there's still one autopkgtest failure:

    # Subtest: all modules in libperlx-assert-perl pass the syntax check
    1..3
    # Can't locate Devel/Declare.pm in @INC (you may need to install the Devel::Declare module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/PerlX/Assert/DD.pm line 6.
    # BEGIN failed--compilation aborted at /usr/share/perl5/PerlX/Assert/DD.pm line 6.
    not ok 1 - /usr/bin/perl -wc /usr/share/perl5/PerlX/Assert/DD.pm exited successfully
    ok 2 - /usr/bin/perl -wc /usr/share/perl5/PerlX/Assert/Keyword.pm exited successfully
    ok 3 - /usr/bin/perl -wc /usr/share/perl5/PerlX/Assert.pm exited successfully
not ok 4 - all modules in libperlx-assert-perl pass the syntax check


Which matches your conclusion that only PerlX::Assert::DD needs Devel::Declare
but adding both seems safer.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Cat Stevens: I See A Road
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170711/25cc6b2c/attachment.sig>


More information about the pkg-perl-maintainers mailing list