No matter how you start euse it immediately fails with the following message: $ euse Can't locate File/Spec.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /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 .) at /usr/lib/perl5/5.8.0/File/Copy.pm line 14. BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/File/Copy.pm line 14. Compilation failed in require at /usr/bin/euse line 12. BEGIN failed--compilation aborted at /usr/bin/euse line 12. It worked before, unfortunately I have no idea when it stopped working. I didn't install a new Perl either. The only perl related thing i remember is unmerging some perl ebuilds that gimp needed before I re-emerged it with USE=-perl. Here some other output: $ locate *.pm|grep -i spec /usr/lib/perl5/5.8.0/File/Spec/Cygwin.pm /usr/lib/perl5/5.8.0/File/Spec/Epoc.pm $ qpkg -I -v -nc gentool app-admin/gentoolkit-0.1.28 Reproducible: Always Steps to Reproduce: 1. $ euse 2. see 1) 3. see 2) ;) Actual Results: Can't locate File/Spec.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linu x /usr/lib/perl5/5.8.0 /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-l inux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/ perl5/5.8.0/File/Copy.pm line 14. BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/File/Copy.pm line 14. Compilation failed in require at /usr/bin/euse line 12. BEGIN failed--compilation aborted at /usr/bin/euse line 12. Expected Results: euse (1) - command line USE flag editor for Gentoo Linux $ emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.21 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu x/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 3dnow apm avi crypt cups encode gif gpm jpeg libg++ mmx mpeg ncurses nl s pdflib png quicktime truetype xml2 xmms xv zlib alsa gdbm berkdb slang readlin e tetex svga java ruby X sdl tcpd pam ssl perl python imlib oggvorbis gtk motif opengl gphoto2 dga gtk2 hyriand maildir samba xface -oss -arts -kde -libwww -mik mod -qt -spell -gnome -nas -esd" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox userpriv usersandbox strict ccache"
Alex, You can try emerging dev-perl/File-Spec - this will replace the missing file with the newer version, though I've no idea why the copy you have dissapeared - it's a core perl module, this ebuild is only an updated version of it (i.e., it's an addon/upgrade, but you should still have it in there from your base install). Let me know if that works or if you have any problems installing the module.
$ emerge File-Spec Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/File-Spec-0.82 to / >>> md5 src_uri ;-) File-Spec-0.82.tar.gz >>> Unpacking source... >>> Unpacking File-Spec-0.82.tar.gz to /var/tmp/portage/File-Spec-0.82/work >>> Source unpacked. Can't locate File/Spec.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /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 .) at /usr/lib/perl5/5.8.0/ExtUtils/Liblist.pm line 6. Heh. I checked /var/log/portage and File-Spec is a dependency of gimp (see my initial report), so when I unmerged this it seems the file was deleted.
Now that makes for a bad gimp.... In that case, I can offer two suggestions: * You can either recompile perl from scratch, which will get you the File::Spec back in place -or- * (And I don't like offering this, but for a single set of .pm's it might be preferrable) I can make a tarball for you that contains the necessary files for you to drop in. One of the nice thing about perl modules is that although you "compile" them, they're really just a set of text files for the most part. Your call.
Ok, I re-emerged perl and got the missing files back. The bug remains though, the next one who tries this will see the same. File a new bug?
No - we'll move this to fixed for now only because that's the only category that fits and add it to our list of things to watch out for. If this appears to happen again, we will reopen this bug, or at least reference it. Thanks for your patience, Michael