develooper Front page | perl.perl5.porters | Postings from October 2017

Re: CPAN module updates

Thread Previous | Thread Next
From:
Chad Granum
Date:
October 2, 2017 21:46
Subject:
Re: CPAN module updates
Message ID:
CAJFr3kvBkXe-s357Md_xdt9T5ozgsMA=mqmy4LKa_yh8Hf7OHg@mail.gmail.com
I have a fix for this locally, I am doing my usual downstream testing to
make sure I do not break anything on cpan, then I will release, most likely
tonight.

On Mon, Oct 2, 2017 at 10:01 AM, Steve Hay via perl5-porters <
perl5-porters@perl.org> wrote:

> [Resending with attachment now gzipped - it was originally rejected as
> being too large]
>
> On 21 September 2017 at 17:40, Father Chrysostomos <sprout@cpan.org>
> wrote:
> > Some time ago, we had a volunteer who would update blead with new
> > releases of dual-life CPAN modules on a regular basis.  Recently that
> > has not been happening.  Test::Simple in blead, for example, is about
> > twenty releases behind CPAN.
> >
> > We need a new volunteer who would be willing to take on this
> > task.  I would be willing myself, but quite frankly I just do not
> > have the time.
> >
> > Nevertheless, if someone would point me to a set of instructions
> > (I have never done this before), I would like to update at least
> > Test::Simple myself, since it has recently been fixed to work with
> > blead changes that I am about to make.
>
> The attached patch updates to the latest Test-Simple.
>
> I was intending to push this, but I'm getting a failure in lib/B/Deparse.t:
>
> ../lib/B/Deparse.t .. 253/? # Failed test 259 - sub calls compiled before
> import
> ation of prototype subs at ../lib/B/Deparse.t line 344
> #      got 'Can\'t dup fileno -1: Bad file descriptor at
> ../lib/Test2/Util.pm li
> ne 181.\nCompilation failed in require at ../lib/Test/Builder.pm line
> 18.\nBEGIN
>  failed--compilation aborted at ../lib/Test/Builder.pm line
> 18.\nCompilation fai
> led in require at ../lib/Test/Builder/Module.pm line 5.\nBEGIN
> failed--compilati
> on aborted at ../lib/Test/Builder/Module.pm line 5.\nCompilation failed in
> requi
> re at ../lib/Test/More.pm line 22.\nBEGIN failed--compilation aborted at
> ../lib/
> Test/More.pm line 22.\nCompilation failed in require at -e line 2.\nBEGIN
> failed
> --compilation aborted at -e line 5.\nsub BEGIN {\n    require
> Test::More;\n    \
> 'Test::More\'->import;\n    is(*foo, *foo);\n}\n'
> # expected /(?^:&is\()/
> ../lib/B/Deparse.t .. Failed 1/279 subtests
>         (less 2 skipped subtests: 276 okay)
>
> The test in question is this:
>
> # Sub calls compiled before importation
> like runperl(stderr => 1, switches => [ '-MO=-qq,Deparse', $path ],
>              prog => 'BEGIN {
>                        require Test::More;
>                        Test::More::->import;
>                        is(*foo, *foo)
>                      }'),
>      qr/&is\(/,
>     'sub calls compiled before importation of prototype subs';
>
> I'm not sure what's going wrong here. Can any Test-Simple gurus assist?
>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About