goldorak root # emerge Mail-SpamAssassin Calculating dependencies ...done! >>> emerge (1 of 13) 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 ExtUtils/MakeMaker.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 Makefile.PL line 1. BEGIN failed--compilation aborted at Makefile.PL line 1. make: *** Pas de cibles sp
goldorak root # emerge Mail-SpamAssassin Calculating dependencies ...done! >>> emerge (1 of 13) 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 ExtUtils/MakeMaker.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 Makefile.PL line 1. BEGIN failed--compilation aborted at Makefile.PL line 1. make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt. !!! ERROR: dev-perl/File-Spec-0.82 failed. !!! Function perl-module_src_compile, Line 36, Exitcode 2 !!! compilation failed Reproducible: Always Steps to Reproduce: 1. emerge Mail-SpamAssassin 2. 3. goldorak root # emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-ck6 i686 Pentium II (Deschutes) 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 avi crypt encode gif gpm imlib jpeg kde libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime slang spell truetype xml2 xmms xv zlib gdbm berkdb readline arts X sdl tcpd pam ssl perl python oggvorbis gtk qt opengl ldap acpi dvd gtk2 usb xml -3dnow -apm -cups -java -gnome -motif -svga -alsa" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
quick workaround #emerge dev-perl/ExtUtils-MakeMaker
Which release of 5.8 are you working with? Have you performed a depclean recently? Just checking for possible culprits - what Martin said will fix it, but for your records in case this crops again (since it shouldn't - MakeMaker is a core install module, the ebuild is for fixes). Thanks, Michael
bash-2.05b$ perl -v This is perl, v5.8.0 built for i686-linux Copyright 1987-2002, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. --------------------- I performed a -depclean, the day before trying to emerge SpamAssassin In the CVS changelog for the portage tree I remember seeing a fix about MakeMaker in perl.class or something commited yesterday, maybe it has something to do do ?
MakeMaker was removed as a dependancy in the eclass for perl modules as the one that came with perl 5.8 was sufficient - the original reason for the dependancy was for perl 5.6.1 users, but that dependancy has been rolled into the actual ebuild for 5.6.1 now. Unfortunately, as nothing explicity points to MakeMaker as a depend anymore, depclean removes it - a bad thing. Please reemerge Makemaker (or reemerge perl :), but I think the former is the least painfull). Thanks for your patience, Michael
According to 'emerge ExtUtils-MakeMaker' it *also* needs File-Spec so I am in a bit of a rut: [ root#io :: ~ ] emerge ExtUtils-MakeMaker Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/ExtUtils-MakeMaker-6.05-r6 to / >>> md5 src_uri ;-) ExtUtils-MakeMaker-6.05.tar.gz >>> Unpacking source... >>> Unpacking ExtUtils-MakeMaker-6.05.tar.gz to /var/tmp/portage/ExtUtils-MakeMaker-6.05-r6/work >>> Source unpacked. Can't locate File/Spec.pm in @INC (@INC contains: lib /usr/lib/perl5/5.8.0/i586-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i586-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/ExtUtils/Liblist.pm line 6. BEGIN failed--compilation aborted at lib/ExtUtils/Liblist.pm line 6. Compilation failed in require at lib/ExtUtils/MM.pm line 8. Compilation failed in require at lib/ExtUtils/MakeMaker.pm line 34. Compilation failed in require at Makefile.PL line 11. BEGIN failed--compilation aborted at Makefile.PL line 11. !!! ERROR: dev-perl/ExtUtils-MakeMaker-6.05-r6 failed. !!! Function src_compile, Line 16, Exitcode 2 !!! (no error message)
I'm really sorry. It's looking like your best bet will be to re-emerge perl. If you don't mind running an ~arch masked copy, I would recommend -r12, which will be unmasked for the public at large and will avoid this issue completely (rac, the other perl dev, has worked hard so that the r12 of perl uses a new inversed @INC which will overcome the possibility of overwriting the core modules but still allow them to be over-ridden).
Olivier, Is this still posing a problem for you?
Tried and works ok for me with perl 5.8.0-r12