develooper Front page | perl.qa | Postings from April 2017

Re: Updated CPAN River available

Thread Previous | Thread Next
From:
James E Keenan
Date:
April 13, 2017 02:16
Subject:
Re: Updated CPAN River available
Message ID:
20170413021523.18275.qmail@lists-nntp.develooper.com
On 04/09/2017 08:54 PM, James E Keenan wrote:
> On 04/09/2017 11:33 AM, James E Keenan wrote:
>> An updated printout of the CPAN River is available here:
>>
>> https://gist.github.com/jkeenan/a7670b2ffe1ffe3e8d8cbdbc2b3dd721
>>
>


Today I began a fifth round of testing.  As in the previous round of
testing, I am doing so to reflect (a) the generation of a new CPAN
river file, 'cpan.river.20170409.csv'; and (b) an understanding of why
'PERL_USE_UNSAFE_INC' must be set to '0' before using the 'cpanm'
build against Perl 5 blead.  But I also hope to detect the effect of
CPAN distributions that have been updated to accommodate
no-dot-by-default-in-@INC.

1. The new input file is, as mentioned above,
'cpan.river.20170409.csv'.

2. The first program continues to be 'csv-get-upriver-distros.pl'.  I
will fetch the first 2000, rather than just the first 1000,
distributions from the input file.

#####
$ cd ~/learn/perl/cpan-river
$ perl csv-get-upriver-distros.pl 2000 > fifth-round-top-2000.txt
#####

This program excludes distributions which are shipped with the Perl 5
core as well as certain previously identified as hard-to-test
distributions like mod_perl, Term::ReadLine::Perl, X11-Protocol.

3. I used the previously built perl5 blead for testing:

#####
$ ./bin/perl -v | head -2 | tail -1
This is perl 5, version 26, subversion 0 (v5.26.0 
(v5.25.11-50-gb57dd50)) built for x86_64-linux
#####

... and again used Miyagawa's up-to-the-minute cpanm against that
perl.

#####
$ ./bin/perl -MApp::cpanminus -E 'say $App::cpanminus::VERSION;'
1.7043
#####

4. Adapting nudge from KENTNL, I worked from a just-updated local
minicpan repository.

#####
$ minicpan
$ cd ~/testing/blead
$ export PERL_USE_UNSAFE_INC=0
$ date > startcpanm
$ cat ~/learn/perl/cpan-river/fifth-round-top-2000.txt | \
     xargs bin/cpanm --mirror ~/minicpan --verbose; date > endcpanm
#####

5. Copied and renamed the 'cpanm' build.log to
20170412-2000-build.log.gz.

#####
$ cd ~/.cpanm/latest-build
$ gzip -v -c build.log > ~/learn/perl/cpan-river/20170412-2000-build.log.gz
#####

6. grepped out relevant lines from the build log:

#####
$ cd ~/learn/perl/cpan-river
$ zgrep FAIL 20170412-2000-build.log.gz | grep -v 'Result: FAIL' | \
     sed -e 's/^-> //' > 20170412-2000-fails.txt
#####

7. Used a revised version of 'order-battle.pl' to record the order in
which various modules *first* appeared in the 'fails' file and the
total number of times each module was cited. Results are attached as
'order-of-battle-20170412.txt'.

#####
$ perl order-battle.pl 20170412-2000-fails.txt 1> 
order-of-battle-20170412.txt
#####

What is the "order of battle"?  It's an approximation of the order in
which, as of today, we need to get new CPAN releases out so that
down-river distros are no longer failing due to failures in their
upstream dependencies.

For me the most interesting aspect of this fifth round is that 29
distributions which appeared in order-of-battle-20170409.txt (the
previous round focusing on no-dot) no longer appear in
order-of-battle-20170412.txt.  That is, their no-dot problems -- and,
perhaps more importantly, the no-dot problems of their prerequisites
-- have been resolved and the distros are now installable under
PERL_USE_UNSAFE_INC=0.  Thanks to Rafael Garcia-Suarez for uploading a
new version of Sub::Identify which was #7 on the earlier list.  This
upload cleared its reverse dependencies to be fully installable as
well.

Thank you very much.
Jim Keenan


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