Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523722 - dev-perl/Perl-Tags-0.280.0-r1 tests run indefinitely
Summary: dev-perl/Perl-Tags-0.280.0-r1 tests run indefinitely
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-25 19:08 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2014-12-13 20:42 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 2014-09-25 19:08:41 UTC
Midway through a perl 5.20 upgrade with slotdep rebuilds, this happens: 

--------
>>> Test phase: dev-perl/Perl-Tags-0.280.0-r1
make -j10 --load-average=4 test TEST_VERBOSE=0 
PERL_DL_NONLAZY=1 /usr/bin/perl5.20.1 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-load.t t/01_basic.t t/02_subclass.t t/03_exuberant.t t/04_ppi.t t/05_vim.t t/boilerplate.t t/pod.t
t/00-load.t ....... 1/1 # Testing Perl::Tags 0.28, Perl 5.020001, /usr/bin/perl5.20.1
t/00-load.t ....... ok   
t/01_basic.t ...... ok   
t/02_subclass.t ... ok     
t/03_exuberant.t .. ok   
t/04_ppi.t ........ ok   
t/05_vim.t ........ Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
Can't locate lib.pm in @INC (you may need to install the lib module) (@INC contains: /var/tmp/portage/dev-perl/Perl-Tags-0.280.0-r1/work/Perl-Tags-0.28/inc /var/tmp/portage/dev-perl/Perl-Tags-0.280.0-r1/work/Perl-Tags-0.28/blib/lib /var/tmp/portage/dev-perl/Perl-Tags-0.280.0-r1/work/Perl-Tags-0.28/blib/arch /etc/perl /usr/local/lib64/perl5/5.18.2/x86_64-linux /usr/local/lib64/perl5/5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/x86_64-linux /usr/lib64/perl5/vendor_perl/5.18.2 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.18.2/x86_64-linux /usr/lib64/perl5/5.18.2 .) at (eval 3) line 1.
BEGIN failed--compilation aborted at (eval 3) line 1.
Can't call method "process" on an undefined value at (eval 4) line 3.
Press ENTER or type command to continue
-------

This is obviously because vim itself has USE=perl, and vim itself has not yet been rebuilt with Perl, and 'lib' no longer exists.

This may be related to vim not using slotdeps for perl.

I don't know what needs to happen here, I suspect *IF* vim slot-depped on Perl, then Perl-Tags would have to  DEPEND="test? ( vim )"  somehow. 


But as it was, I had to find the vim process and kill it to make things progress.

                └─ /usr/bin/perl5.20.1 t/05_vim.t 
                      └─ vim -u t/_vimrc -S t/session.vim -n perltagsRLlv/Test.pm

Alternatively, we could simply patch out the vim test.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2014-12-13 20:42:23 UTC
Slot operator added in all app-editor/vim versions
Dependency added here