Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33965 - ufed cannot find installed TermReadKey.pm and doesn't list perl as dependency
Summary: ufed cannot find installed TermReadKey.pm and doesn't list perl as dependency
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-20 14:15 UTC by Brian Hewitson
Modified: 2011-10-30 22:19 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 Brian Hewitson 2003-11-20 14:15:32 UTC
After doing an emerge ufed I get the following error message on running it. 
Can't locate Term/ReadKey.pm in @INC(@INC contains ......)at /usr/sbin/ufed line 11 
 
 

Reproducible: Always
Steps to Reproduce:
1.emerge ufed 
2.ufed 
3. 
Actual Results:  
error message 

Expected Results:  
ran properly
Comment 1 Fred Van Andel (RETIRED) gentoo-dev 2003-11-20 16:46:55 UTC
emerge TermReadKey should solve your probem.

The question is why. Both perl ane TermReadKey are dependancies of ufed.  I will test later tonight.
Comment 2 Brian Hewitson 2003-11-20 16:58:25 UTC
I must apoligize for my lack of detail as I did in fact successfully do the emerge of TermReadKey but it did not solve the problem
Comment 3 Fred Van Andel (RETIRED) gentoo-dev 2003-11-20 17:04:17 UTC
Sounds like a problem with your @INC variable. I am just leaving for home and I wont be able to look at it until at least 10pm PST.  I will have to get back to you later.
Comment 4 Fred Van Andel (RETIRED) gentoo-dev 2003-11-25 09:55:50 UTC
Sorry about the delay.

Can you please check a few things for me.
   1) Please confirm that the file 
      /usr/lib/perl5/site_perl/5.8.0/i686-linux/Term/ReadKey.pm exists.
      If that file does not exist at that location it should be somewhere
      else in the /usr/lib/perl5 directory tree.
   2) Attach the full error message, I am most interested in the 
      (@INC contains .....) part.
Comment 5 Jimmy Rosen 2004-01-17 03:21:57 UTC
I have the same problem.
I'm doing an incremental system update from the 030715 portage snapshot to the 040101 snapshot. I first noticed the ufed problem after I had unmerged ExtUtils-MakeMaker, Test-Simple and File-Spec as they were blocking the system update (new perl). The ufed problem might have been there before, I haven't used ufed since 0308xx.

ufed error message:
jiroburk root # ufed
Can't locate Term/ReadKey.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/local/lib/site_perl .) at /usr/sbin/ufed line 11.
BEGIN failed--compilation aborted at /usr/sbin/ufed line 11.

ReadKey.pm location:
jiroburk root # find /usr/lib/perl5/ -name 'ReadKey.pm' -print
/usr/lib/perl5/site_perl/5.8.0/i586-linux/Term/ReadKey.pm

Emerging/updating ReadTermKey doesn't help:
jiroburk root # emerge -p TermReadKey
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild   R   ] dev-perl/TermReadKey-2.21

I don't know much about perl, but might the problem be related to the file being in i586-linux instead of in i686-linux, where the @INC thingie looks?

Comment 6 Jimmy Rosen 2004-01-17 04:13:56 UTC
I'm baffled.

I just forgot that ufed wasn't working and tried ufed again ... and it did work !? The  unparallelled power of the forgetful mind...

I have updated some other packages since posting my previous comment, but none that I can see is directly related to perl.
Updated: mozilla, netscape-flash, netscape-navigator, netscape-plugger, opera, gaim, openmosix-user, samba, nedit, xxdiff, ispell, aspell, and the dependencies they brought with them.

The problem must have been the location of the ReadKey.pm file since that is now in i686-linux:
jiroburk root # find /usr/lib/perl5/ -name 'ReadKey.pm' -print
/usr/lib/perl5/vendor_perl/5.8.0/i686-linux/Term/ReadKey.pm
Comment 7 boris64 2004-04-18 04:52:24 UTC
"emerge TermReadKey should solve your probem."

it did, thanx fred van andel ;)
Comment 8 Marius Mauch (RETIRED) gentoo-dev 2004-10-06 11:27:27 UTC
old bug