develooper Front page | perl.perl5.porters | Postings from January 2020

Re: CPAN from CPAN or git on perl-5.30.1

Thread Previous | Thread Next
From:
James E Keenan
Date:
January 29, 2020 16:35
Subject:
Re: CPAN from CPAN or git on perl-5.30.1
Message ID:
20200129163509.32508.qmail@lists-nntp.develooper.com
On 1/29/20 8:15 AM, H.Merijn Brand wrote:
> I am working on a fresh installed CentOS 8.1 and installed 5.30.1
> without any problem: All tests PASSed.
> 
> 5.30.1 is shipped with CPAN-2.22
> 
> That works fine.
> 
> I then installed the modules I had installed on 5.28.2 on CentOS 7.7
> and CPAN tells me there is a new(er) CPAN available.
> 
> However, all 2.22, 2.25, 2.26, and 2.27 distributions and the checkout
> of the git repo fail to pass the test suite. Using the CPAN releases
> with perl-5.28.2 PASSes
> 
> Linux 4.18.0-147.3.1.el8_1.x86_64 [CentOS Linux 8.1.1911 (Core)]
> 
> This is perl 5, version 28, subversion 2 (v5.28.2) built for x86_64-linux-thread-multi-ld
> This is perl 5, version 30, subversion 1 (v5.30.1) built for x86_64-linux-thread-multi-ld
> 
> Test Summary Report
> -------------------
> t/12cpan.t                  (Wstat: 768 Tests: 28 Failed: 3)
>    Failed tests:  15, 19-20
>    Non-zero exit status: 3
> t/31sessions.t              (Wstat: 7424 Tests: 96 Failed: 29)
>    Failed tests:  51-61, 63-66, 68, 71, 74, 77-82, 84, 89-91
>                  93
>    Non-zero exit status: 29
> Files=31, Tests=859, 123 wallclock secs ( 0.36 usr  0.08 sys + 75.71 cusr 10.66 csys = 86.81 CPU)
> Result: FAIL
> Failed 2/31 test programs. 32/859 subtests failed.
> 
> 
> 
> $ prove -vwb t/12cpan.t
> t/12cpan.t ..
> 1..28
> ok 1 - AUTOLOAD rejects
> CPAN: LWP::UserAgent loaded ok (v6.43)
> CPAN: URI::URL loaded ok (v5.04)
> CPAN: YAML loaded ok (v1.30)
> Reading '/home/merijnbrand/.cpan/build/CPAN-2.27-0/t/CPAN/authors/01mailrc.txt'
> CPAN: File::Which loaded ok (v1.23)
> ............................................................................DONE
> Reading '/home/merijnbrand/.cpan/build/CPAN-2.27-0/t/CPAN/modules/02packages.details.txt'
>    Database was generated on Tue, 03 Feb 1970 03:17:06 GMT
> Warning: This index file is 18257 days old.
>    Please check the host you chose as your CPAN mirror for staleness.
>    I'll continue but problems seem likely to happen.
> ............................................................................DONE
> Reading '/home/merijnbrand/.cpan/build/CPAN-2.27-0/t/CPAN/modules/03modlist.data'
> ............................................................................DONE
> ok 2 - not a recursive/circular dependency
> ok 3 - circular dependency
> ok 4 - found Andreas in CPAN::Test::Dummy::Perl5::Make
> ok 5 - $_ is properly localized
> ok 6 - s[0]
> ok 7 - s[1]
> ok 8 - s[2]
> ok 9 - s[3]
> ok 10 - s[4]
> ok 11 - dummy Kwalify/YAML 1
> ok 12 - dummy Kwalify/YAML 2
> ok 13 - deserialisation returned CODE
> ok 14 - running the code did the right thing
> not ok 15 - A reference of type 'CODE' isa 'CPAN::DeferredCode'
> ok 16 - stringifying the obj does nothing
> ok 17 - deserialisation returned CODE
> ok 18 - running the code did the right thing
> not ok 19 - A reference of type 'CODE' isa 'CPAN::DeferredCode'
> not ok 20 - stringifying the obj ran the code
> 
> #   Failed test 'A reference of type 'CODE' isa 'CPAN::DeferredCode''
> #   at t/12cpan.t line 165.
> #     The reference of type 'CODE' isn't a 'CPAN::DeferredCode'
> 
> #   Failed test 'A reference of type 'CODE' isa 'CPAN::DeferredCode''
> #   at t/12cpan.t line 184.
> #     The reference of type 'CODE' isn't a 'CPAN::DeferredCode'
> 
> #   Failed test 'stringifying the obj ran the code'
> #   at t/12cpan.t line 186.
> ok 21 - found http_proxy[http://myproxy.local/] on domain[at]
> ok 22 - found proxy_user[myproxyuser] on domain[at]
> ok 23 - found proxy_pass[myproxypass] on domain[at]
> ok 24 - found http_proxy[UNDEF] on domain[kh]
> ok 25 - found proxy_user[UNDEF] on domain[kh]
> ok 26 - found proxy_pass[UNDEF] on domain[kh]
> ok 27 - found keys[129] prompts
> ok 28 - found length[25323] prompts
> #          got: '1'
> #     expected: '2'
> # Looks like you failed 3 tests of 28.
> Dubious, test returned 3 (wstat 768, 0x300)
> Failed 3/28 subtests
> 
> Test Summary Report
> -------------------
> t/12cpan.t (Wstat: 768 Tests: 28 Failed: 3)
>    Failed tests:  15, 19-20
>    Non-zero exit status: 3
> Files=1, Tests=28,  1 wallclock secs ( 0.04 usr  0.00 sys +  0.59 cusr  0.07 csys =  0.70 CPU)
> Result: FAIL
> 
> 

Hmmm ... I tried a somewhat different procedure that resulted in 
successful installation of CPAN.pm version 2.27 against perl-5.30.1.

I installed perl from git tag v5.30.1 on Linux, then installed 'cpanm' 
against that perl.  (This is my customary procedure for testing against 
particular commits.)  I then invoked 'cpanm' to install CPAN against 
that perl.  The latest version of CPAN was successfully installed.

#####
[v5.30.1] 602 $ ./bin/perl -v | head -2 | tail -1
This is perl 5, version 30, subversion 1 (v5.30.1) built for x86_64-linux
[v5.30.1] 603 $ ./bin/perl -MCPAN -E 'say $CPAN::VERSION;'
2.27
#####

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