Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93353 - dev-perl/POE is missing a dependancy (TermReadKey)
Summary: dev-perl/POE is missing a dependancy (TermReadKey)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-20 11:38 UTC by Adam Wirkerman
Modified: 2005-05-22 04:54 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 Adam Wirkerman 2005-05-20 11:38:43 UTC
Perl scripts using POE::Wheel::ReadLine (which is provided by dev-perl/POE) fail
to execute.  They fail with the message: "Can't locate Term/ReadKey.pm".  Doing
some research, I learned this missing module is provided by
dev-perl/TermReadLine.  However, the .ebuild for POE does not list TermReadLine
as a dependancy.

Manually installing dev-perl/TermReadLine eliminates the error message, an the
scripts complete successfully.  Thus it appears that POE requires TermReadKey

Reproducible: Always
Steps to Reproduce:
1. emerge POE
2. cat << "EOF" > input.pl
   #!/usr/bin/perl
   use POE;
   use POE::Wheel::ReadLine;
   EOF
3. chmod a+x input.pl
4. ./input.pl
Actual Results:  
Output of ./input.pl

Can't locate Term/ReadKey.pm in @INC (@INC contains: /etc/perl
/usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.2/i686-linux
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.2/i686-linux
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux .) at
/usr/lib/perl5/vendor_perl/5.8.5/POE/Wheel/ReadLine.pm line 16.
BEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.5/POE/Wheel/ReadLine.pm line 16.
Compilation failed in require at ./input.pl line 4.
BEGIN failed--compilation aborted at ./input.pl line 4.


Expected Results:  
It should have executed with no errors and produced no output.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-05-20 14:24:16 UTC
How about we compromise and I unmask .0309? (the dep is in there: 
>=dev-perl/TermReadKey-2.21) 
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2005-05-22 04:54:43 UTC
OK, closing up, mirrors should have replicated the unmasked copy by now. And 
I'll get the newer version into ~arch soon as I have some free time (just when 
you thought you were up to date, they come out with a new version :)