Package: libb-perlreq-perl / 0.82-8

Metadata

Package Version Patches format
libb-perlreq-perl 0.82-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
spelling.patch | (download)

perl.req | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 fix spelling error


0001 Fix non deterministic failures on newer perls.patch | (download)

lib/B/Walker.pm | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 [patch] fix non-deterministic failures on newer perls

The hash randomization changes in the Perl 5.17 series
made perl.req to occasionally fail to report the dependencies.

Improved diagnostics report

 Use of each() on hash after insertion without resetting hash
 iterator results in undefined behavior, Perl interpreter: 0x9e7010 at
 /home/niko/tmp/libb-perlreq-perl-0.82/blib/lib/B/Walker.pm line 122.

so use keys() instead of each(), as suggested by perldiag.pod.

Adjust to perl 5.22.patch | (download)

lib/B/PerlReq.pm | 24 19 5 - 0 !
lib/B/Walker.pm | 9 8 1 - 0 !
t/01-B-PerlReq.t | 3 3 0 - 0 !
3 files changed, 30 insertions( ), 6 deletions(-)

 [patch] adjust to perl-5.22
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Perl 5.22 brought changes in class/method opcodes, see perl commit

commit b46e009d94293e069270690750f6c669c6d0ce22
Adjust to perl 5.26.patch | (download)

ConstOptree/ConstOptree.xs | 22 17 5 - 0 !
ConstOptree/ppport.h | 7908 7908 0 - 0 !
MANIFEST | 1 1 0 - 0 !
3 files changed, 7926 insertions( ), 5 deletions(-)

 [patch] port to opsibling-like macros required since perl 5.25.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This fixes a build failure on Perl >= 5.25.1 by means of
<https://rt.perl.org/Public/Bug/Display.html?id=128179#txn-1405910>>.

It bundles ppport.h from Devel::PPPort 3.36.

CPAN RT#117350

Signed-off-by: Petr Psa <[email protected]>

Bug: https://rt.cpan.org/Public/Bug/Display.html?id=117350
Bug-Debian: https://bugs.debian.org/865022


rpm build perl 0.82 Adapt tests to Perl 5.35.12.patch | (download)

t/03-perlprov.t | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 [patch] adapt tests to perl 5.35.12
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Perl 5.35.12 has POSIX module in version 2.03. That version number was
not expected by t/03-perlprov.t test:

    #   Failed test 'POSIX.pm dependencies'
    #   at t/03-perlprov.t line 32.
    #                   'perl(POSIX.pm) = 2.030'
    #     doesn't match '(?^:^perl\(POSIX\.pm\)\ \=\ 1\.(\d|$))'

This patch adapts the test to accept any version number.

CPAN RT#142772

Signed-off-by: Petr Psa <[email protected]>

Bug: https://rt.cpan.org/Public/Bug/Display.html?id=142772


rpm build perl 0.82 Adjust to Perl 5.38.0.patch | (download)

lib/B/PerlReq.pm | 5 4 1 - 0 !
1 file changed, 4 insertions( ), 1 deletion(-)

 [patch] adjust to perl 5.38.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Perl 5.38.0 simplified how annonymous subroutines are compiled
<https://github.com/Perl/perl5/pull/20290>. As a result,
t/01-B-PerlReq.t started to fail on hiding module loads from Try::Tiny
try {} blocks:

    $ prove -b t/01-B-PerlReq.t
    t/01-B-PerlReq.t .. 9/?
    #   Failed test at t/01-B-PerlReq.t line 93.
    #          got: 'perl(Try/Tiny.pm)
    # perl(Bar.pm)'
    #     expected: 'perl(Try/Tiny.pm)
    # perl(Foo.pm)
    # perl(Bar.pm)'

This patch adjusted to the simplified optree.

CPAN RT #148982

Signed-off-by: Petr Psa <[email protected]>

Bug: https://rt.cpan.org/Public/Bug/Display.html?id=148982