Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94550 - Running ufed reports a Perl module not loadable from path although it's there
Summary: Running ufed reports a Perl module not loadable from path although it's there
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-30 13:27 UTC by John
Modified: 2005-06-30 16:32 UTC (History)
1 user (show)

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 John 2005-05-30 13:27:12 UTC
Running ufed yields the following: 
 
# ufed 
Can't locate loadable object for module Term::ReadKey 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 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl .) 
at /usr/sbin/ufed line 10 
Compilation failed in require at /usr/sbin/ufed line 10. 
BEGIN failed--compilation aborted at /usr/sbin/ufed line 10. 
 
Searching for the reportedly missing module yields: 
 
# find /usr/lib/perl5 -name 'ReadKey*' 
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Term/ReadKey.pm 
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/auto/Term/ReadKey 
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/auto/Term/ReadKey/ReadKey.bs 
 
So I wonder what's going on? 
 
Re-emerging ufed doesn't work, nor does re-emerging TermReadKey. I have 
hesitated to re-emerge perl for obvious reasons. 

Reproducible: Always
Steps to Reproduce:
1. run ufed 
 
Actual Results:  
Can't locate loadable object for module Term::ReadKey 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 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl .) 
at /usr/sbin/ufed line 10 
Compilation failed in require at /usr/sbin/ufed line 10. 
BEGIN failed--compilation aborted at /usr/sbin/ufed line 10. 
 

Expected Results:  
ufed running nicely 

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r6 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  1 2005, 03:57:40)] 
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r7 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe -w" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe -w" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms 
strict" 
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ 
ftp://mirror.switch.ch/mirror/gentoo/ ftp://gentoo.inode.at/source/ 
http://gentoo.inode.at/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X Xaw3d aalib acl acpi acpi4linux alsa apm arts audiofile avi 
bash-completion berkdb birdstep bitmap-fonts bonobo bootsplash bzip2bzlib 
calendar cdb cdda cddb cdparanoia cdr cdrom chipcard chroot cpdflib crypt 
cscope css csv ctype cups curl curlwrappers dba dbase dbm dbx dga directfb 
divx4linux dnd doc dpms dvd dvdr dvdread emboss encode enscript esd exif expat 
fam firebird flac flash flatfile fltk foomaticdb fortran freetype ftp gd gdbm 
ggi gif gimpprint gmp gnuplot gpm gps graphviz gs gtkhtml guile html 
imagemagick imap imlib imlib2 inifile innodb interbase iodbc ipv6 itcl jack 
java javascript jpeg junit kde kdeenablefinal kerberos krb4 ladcca ladspa lcms 
libbcmath libcaca libg++ libwww mad mcal mhash mikmod mime ming mmap mmx mng 
mnogosearch motif mozcalendar mozilla moznoirc mozsvg mp3 mpag mpeg msn msql 
mysql mysqli nas ncurses netcdf nls oci8 odbc ofx ogg oggvorbis openal opengl 
oracle oscar oss pam pcre pda pdf pdflib perl pic pie plotutils png posix 
postgres ppds prelude python qdbm qt quicktime readline recode ruby samba 
sapdb sasl sdl sharedmem slang smartcard smime sndfile snmp soap sockets 
socks5 spell sqlite sse ssl svg svga sysvipc szip tcltk tcpd tetex theora 
threads tidy tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd 
vorbis wmf wxwindows xine xml xml2 xmlrpc xmms xpm xprint xscreensaver xsl 
xslt xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, 
PORTDIR_OVERLAY
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2005-05-30 23:15:34 UTC
% find /usr/lib/perl5 -name 'ReadKey*'
/usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi/Term/ReadKey.pm
/usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi/auto/Term/ReadKey
/usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi/auto/Term/ReadKey/ReadKey.bs
/usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi/auto/Term/ReadKey/ReadKey.so
(Note the last file)

This is both with TermReadKey-2.30 and TermReadKey-2.21. So, it looks like
that's not installing correctly for you for some reason.

perl guys, could you take a look at this?
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2005-05-31 05:40:52 UTC
Um, weird. Which version of ufed? (desperate attempt at a stall - line 10 is 
use Term::ReadKey, and if you've installed dev-perl/TermReadKey then you should 
already be able to run it). 
Comment 3 John 2005-05-31 14:21:58 UTC
*  app-portage/ufed 
      Latest version available: 0.36 
      Latest version installed: 0.36 
 
*  dev-perl/TermReadKey 
      Latest version available: 2.21 
      Latest version installed: 2.21 
 
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-06-01 16:25:16 UTC
I've just downgraded both my ufed and TermReadKey, and ufed still works, so I'm   
sort of at a loss to dup. Your missing the ReadKey.so file, which is why this   
is totally broken for you. I don't know if this is some weird side effect of   
ccache needing to be reset (I've heard it happens, but have no experience with   
it). If you wouldn't mind, could you disable ccache and distcc and re-emerge  
TermReadKey? This would at least discount the 2 obvious features of pain. 
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-06-03 05:53:04 UTC
Any word? 
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2005-06-30 16:32:40 UTC
a month without a response, closing as can't fix, reopen as needed