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

Bug 358337

Summary: >=app-vim/perl-support-4.9: Perl::Tags missing from RDEPEND
Product: Gentoo Linux Reporter: Dan Wallis <mrdanwallis>
Component: New packagesAssignee: Vim Maintainers <vim>
Status: VERIFIED FIXED    
Severity: normal CC: kentnl, perl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dan Wallis 2011-03-11 03:30:08 UTC
When opening a perl file with app-vim/perl-support-4.9 installed, I receive the following error:

Can't locate Perl/Tags.pm in @INC (@INC contains: /etc/perl /home/dan/.gentoo/usr/lib/perl5/site_perl/5.12.3/i686-linux /home/dan/.gentoo/usr/lib/perl5/site_perl/5.12.3 /home/dan/.gentoo/usr/lib/perl5/vendor_perl/5.12.3/i686-linux /home/dan/.gentoo/usr/lib/perl5/vendor_perl/5.12.3 /home/dan/.gentoo/usr/lib/perl5/site_perl /home/da
n/.gentoo/usr/lib/perl5/vendor_perl/5.12.2/i686-linux /home/dan/.gentoo/usr/lib/perl5/vendor_perl/5.12.2 /home/dan/.gentoo/usr/lib/perl5/vendor_perl/5.12.1/i686-linux /home/dan/.gentoo/usr/lib/perl5/vendor_perl/5.12.1 /home/dan/.gentoo/usr/lib/perl5/vendor_perl /home/dan/.gentoo/usr/lib/perl5/5.12.3/i686-linux /home/dan/.gentoo/us
r/lib/perl5/5.12.3 /usr/local/lib/site_perl .) at (eval 9) line 1.
BEGIN failed--compilation aborted at (eval 9) line 1.
Can't call method "process" on an undefined value at (eval 10) line 5.
Press ENTER or type command to continue


And when saving files:

Can't call method "process" on an undefined value at (eval 11) line 5.
Press ENTER or type command to continue



Installing Perl::Tags with g-cpan resolves these problems.
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2011-04-03 14:21:37 UTC
This bug is still prevalent in 4.10, and that "Can't call method on an undefined value" thing is still a constant pain in the neck.

I've added Perl::Tags to the perl-experimental overlay ( http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=4e2a7bebfe44324fbb3d6c9057569e21441d03f2 
) and it solves my problems.

perl herd really should be added here and Perl::Tags ( and a dependency Module::Locate ) should probably be added to the main tree as a dependency.

Its not a Gentoo Prefix/Alt specific problem.
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2011-04-21 10:27:20 UTC
Perl-Tags and Module-Locate were added to ::gentoo.

Thanks
Comment 3 Tim Harder gentoo-dev 2011-04-22 04:56:47 UTC
Fixed in 4.11 now in CVS.

Note that ~ppc and ~sparc keywords were dropped pending bug #364443.
Comment 4 Dan Wallis 2011-04-28 22:42:42 UTC
Thanks for fixing in v4.11. Still a problem in v4.9 & v4.10 though. Haven't tested v4.8 yet.
Comment 5 Tim Harder gentoo-dev 2011-04-28 22:52:20 UTC
(In reply to comment #4)
> Thanks for fixing in v4.11. Still a problem in v4.9 & v4.10 though. Haven't
> tested v4.8 yet.

Note that keywords had to be dropped due to the new rdeps so I didn't want to drop keywords on old versions that were just going to be removed soon from the tree. Anyway, I just tossed both versions from the tree so you shouldn't have anything to complain about. :)

In terms of 4.8 not working, just use >=4.11 for now and it'll get stabilized once the dropped keywords are re-added.