Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24322 - 'emerge mozilla' fails "Can't locate File/Spec.pm in @INC"
Summary: 'emerge mozilla' fails "Can't locate File/Spec.pm in @INC"
Status: RESOLVED FIXED
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: 2003-07-11 18:49 UTC by Todd Walton
Modified: 2003-07-23 10:01 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 Todd Walton 2003-07-11 18:49:54 UTC
elf-dynstr-gc.c: In function `read_word':
elf-dynstr-gc.c:63: warning: const qualifier ignored on asm
elf-dynstr-gc.c: In function `read_sword':
elf-dynstr-gc.c:71: warning: const qualifier ignored on asm
elf-dynstr-gc.c: In function `write_word':
elf-dynstr-gc.c:79: warning: const qualifier ignored on asm
elf-dynstr-gc.c: In function `read_half':
elf-dynstr-gc.c:87: warning: const qualifier ignored on asm
elf-dynstr-gc.c: In function `write_half':
elf-dynstr-gc.c:95: warning: const qualifier ignored on asm
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/i686-linux/IO/File.pm line 113.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/i686-linux/IO/File.pm
line 113.
Compilation failed in require at mozBDate.pm line 25.
BEGIN failed--compilation aborted at mozBDate.pm line 25.
Compilation failed in require at ./bdate.pl line 22.
BEGIN failed--compilation aborted at ./bdate.pl line 22.
make[1]: *** [build_number] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.3-r2/work/mozilla/config'
make: *** [default] Error 2

!!! ERROR: net-www/mozilla-1.3-r2 failed.
!!! Function src_compile, Line 363, Exitcode 2
!!! (no error message)
=================================================
This looks to me like a problem with Perl.  However, if emerging Mozilla needs
Perl, then why isn't that dependency detected?  Otherwise, I don't know what's
wrong here.

'emerge info' says:
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
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=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libwww mmx mpeg ncurses
nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm
slang readline arts svga tcltk java X sdl tcpd pam ssl esd imlib oggvorbis gtk
qt kde motif opengl mozilla moznoirc moznomail -libg++ -mad -mikmod -berkdb -gpm
-perl -python -gnome -gphoto2"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Todd Walton 2003-07-11 20:11:43 UTC
New information:  I'm getting this same error on 'emerge mozilla-firebird' and 'emerge ufed' as well.  This has got to be something wrong with my settings.  If this isn't a bug, I apologize.
Comment 2 SpanKY gentoo-dev 2003-07-11 20:31:25 UTC
make sure you've emerged dev-perl/File-Spec 
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-07-13 15:33:58 UTC
nice error
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2003-07-20 07:29:28 UTC
Todd,

Did manually emerging File-Spec solve this for you? File-Spec is a core perl module - the ebuild is for emergency/upgrade cases (guess this qualifies :) )
Comment 5 Todd Walton 2003-07-20 08:46:16 UTC
Michael,

I manually emerged perl, which emerged File-Spec.  Everything works now.  Strange that this should happen.  I don't know why File-Spec would have gone away.
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2003-07-23 08:32:15 UTC
it's possible that the notes at http://dev.gentoo.org/~mcummings/makemaker.html are relevant in this case (sure, it's about makemaker, but the concept/impact is the same). Is it ok to close this out since you're good now?
Comment 7 Todd Walton 2003-07-23 08:38:47 UTC
Yes, it's fixed now, it can be closed.  Was I supposed to do that?
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2003-07-23 10:01:04 UTC
Either/or. I don't like to close a bug out until there is confirmation in case I missed something in my last read-through of the ticket (eh, it happens, I admit it)