Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614352 - dev-perl/CGI-Compile fails tests without '.' in @INC ( Can't locate t/Capture.pm in @INC )
Summary: dev-perl/CGI-Compile fails tests without '.' in @INC ( Can't locate t/Capture...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Gentoo Perl team
URL: https://github.com/miyagawa/CGI-Compi...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: perl-5.26-no-dot-inc
  Show dependency tree
 
Reported: 2017-03-31 12:53 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2017-09-30 15:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-03-31 12:53:23 UTC
t/chained_exit.t ....... ok            
===(       3;0  0/?  0/? )==============================================Can't locate t/Capture.pm in @INC (you may need to install the t::Capture module) (@INC contains: /var/tmp/portage/dev-perl/CGI-Compile-0.210.0/work/CGI-Compile-0.21/blib/arch /var/tmp/portage/dev-perl/CGI
-Compile-0.210.0/work/CGI-Compile-0.21/blib/lib /etc/perl /usr/local/lib64/perl5/5.25.11/x86_64-linux /usr/local/lib64/perl5/5.25.11 /usr/lib64/perl5/vendor_perl/5.25.11/x86_64-linux /usr/lib64/perl5/vendor_perl/5.25.11 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.25.
11 /usr/lib64/perl5/vendor_perl/5.22.3 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.25.11/x86_64-linux /usr/lib64/perl5/5.25.11) at t/coderef_args.t line 2.
BEGIN failed--compilation aborted at t/coderef_args.t line 2.                                      
t/coderef_args.t ....... Dubious, test returned 2 (wstat 512, 0x200)                              
No subtests run                                                                                                         
t/chdir.t .............. ok                                                                                                 
t/compile.t ............ skipped: Test requires module 'CGI' but it's not found                               
===(       4;0  0/?  0/? )==============================================Can't locate t/Capture.pm in @INC (you may need to install the t::Capture module) (@INC contains: /var/tmp/portage/dev-perl/CGI-Compile-0.210.0/work/CGI-Compile-0.21/blib/arch /var/tmp/portage/dev-perl/CGI
-Compile-0.210.0/work/CGI-Compile-0.21/blib/lib /etc/perl /usr/local/lib64/perl5/5.25.11/x86_64-linux /usr/local/lib64/perl5/5.25.11 /usr/lib64/perl5/vendor_perl/5.25.11/x86_64-linux /usr/lib64/perl5/vendor_perl/5.25.11 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.25.
11 /usr/lib64/perl5/vendor_perl/5.22.3 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.25.11/x86_64-linux /usr/lib64/perl5/5.25.11) at t/data_end.t line 3.
BEGIN failed--compilation aborted at t/data_end.t line 3.     
t/data_end.t ........... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run                                                                                                                      
t/eval-my-variables.t .. ok                                   
===(      16;0   0/52  0/? )============================================Can't locate t/Capture.pm in @INC (you may need to install the t::Capture module) (@INC contains: /var/tmp/portage/dev-perl/CGI-Compile-0.210.0/work/CGI-Compile-0.21/blib/arch /var/tmp/portage/dev-perl/CGI
-Compile-0.210.0/work/CGI-Compile-0.21/blib/lib /var/tmp/portage/dev-perl/CGI-Compile-0.210.0/work/CGI-Compile-0.21/blib/arch /var/tmp/portage/dev-perl/CGI-Compile-0.210.0/work/CGI-Compile-0.21/blib/lib /etc/perl /usr/local/lib64/perl5/5.25.11/x86_64-linux /usr/local/lib64/per
l5/5.25.11 /usr/lib64/perl5/vendor_perl/5.25.11/x86_64-linux /usr/lib64/perl5/vendor_perl/5.25.11 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.25.11 /usr/lib64/perl5/vendor_perl/5.22.3 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.25.11/x86_64-linux /usr/lib64/perl5
/5.25.11) at t/local-SIG.t line 3.       
BEGIN failed--compilation aborted at t/local-SIG.t line 3.                                                                           
t/local-SIG.t .......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Comment 1 Larry the Git Cow gentoo-dev 2017-09-30 15:30:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed4d946fb02797a820518b848cd883b338a43e9f

commit ed4d946fb02797a820518b848cd883b338a43e9f
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-09-30 15:29:34 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-09-30 15:30:28 +0000

    dev-perl/CGI-Compile: Fix test failures re bug #614352
    
    Don't be broken on Perl 5.26+ with PERL_USE_UNSAFE_INC=0
    
    Closes: https://bugs.gentoo.org/614352
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/CGI-Compile/CGI-Compile-0.210.0.ebuild    |   1 +
 dev-perl/CGI-Compile/CGI-Compile-0.220.0.ebuild    |   1 +
 .../files/CGI-Compile-0.210.0-perl-526.patch       | 137 +++++++++++++++++++++
 3 files changed, 139 insertions(+)