Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 858368

Summary: app-portage/g-cpan-0.18.0-r1 fails tests
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: UNCONFIRMED ---    
Severity: normal CC: perl
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: app-portage:g-cpan-0.18.0-r1:20220716-151726.log
emerge-info.txt

Description Jonathan Lovelace 2022-07-16 15:20:29 UTC
Created attachment 791726 [details]
app-portage:g-cpan-0.18.0-r1:20220716-151726.log

=app-portage/g-cpan-0.18.0-r1 fails its test phase, specifically (if I'm reading the build log right) most of the tests in t/01_Gentoo_Portage_Q.t:

t/01_Gentoo_Portage_Q.t .. 1/5                                                                                
    #   Failed test 'EROOT'                                                                                   
    #   at t/01_Gentoo_Portage_Q.t line 27.                                                                   
    #          got: ''                                                                                        
    #     expected: '/'
                           
        #   Failed test 'EPREFIX'
        #   at t/01_Gentoo_Portage_Q.t line 33.                                                               
        #          got: ''
        #     expected: '/t/data'
                                                                                                              
        #   Failed test 'EROOT'                                                                               
        #   at t/01_Gentoo_Portage_Q.t line 34.
        #                   ''                  
        #     doesn't match '(?^:^/.+?/t/data\z)'
                                                                                                              
        #   Failed test 'USE'
        #   at t/01_Gentoo_Portage_Q.t line 36.
        #          got: 'abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU'              
        #     expected: 'perl -python'                                                                        
        # Looks like you failed 3 tests of 4.                                                                 
                                                                                                                  #   Failed test 'with EPREFIX'
    #   at t/01_Gentoo_Portage_Q.t line 37.                                                                   
    # Looks like you failed 2 tests of 6.                                                                     
                                                                                                              
#   Failed test 'envvar($variable)'
#   at t/01_Gentoo_Portage_Q.t line 45.
        # No tests run!

    #   Failed test 'No tests run for subtest "with EPREFIX"'
    #   at t/01_Gentoo_Portage_Q.t line 56.
    # Looks like you failed 1 test of 4.

#   Failed test 'get_repo_path( $eroot, $repo_id )'
#   at t/01_Gentoo_Portage_Q.t line 67.
Path::Tiny paths require defined, positive-length parts at lib/Gentoo/Portage/Q.pm line 117.
# Looks like your test exited with 255 just after 4.
t/01_Gentoo_Portage_Q.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/5 subtests
Comment 1 Jonathan Lovelace 2022-07-16 15:20:56 UTC
Created attachment 791729 [details]
emerge-info.txt