This seems to be an upstream issue, a Google search on the error turns up quite a few people with similar issues. make[1]: Leaving directory `/var/tmp/portage/PDL-2.4.2/work/PDL-2.4.2/Basic' make[1]: Entering directory `/var/tmp/portage/PDL-2.4.2/work/PDL-2.4.2/Demos' /usr/bin/perl5.8.8 BAD2_demo.pm.PL BAD2_demo.pm Can't locate PDL/Config.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.7/i686-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at BAD2_demo.pm.PL line 12. BEGIN failed--compilation aborted at BAD2_demo.pm.PL line 12. make[1]: *** [BAD2_demo.pm] Error 2 make[1]: Leaving directory `/var/tmp/portage/PDL-2.4.2/work/PDL-2.4.2/Demos' make: *** [subdirs] Error 2 !!! ERROR: dev-perl/PDL-2.4.2 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1249: Called perl-module_src_compile perl-module.eclass, line 130: Called die !!! compilation failed !!! If you need support, post the topmost build error, and the call stack if relevant. # emerge --info Portage 2.1.1_pre1 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 Mobile AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -ggdb -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon64 -ggdb -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distlocks metadata-transfer nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://distfiles.gentoo.org/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_CA.utf8" LC_ALL="en_CA.utf8" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/portage/overlay" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X X509 Xaw3d a52 aac aalib acpi alsa apache2 arts asf asm async audiofile automount avahi avi bash-completion berkdb bitmap-fonts bl bootsplash bzip2 cairo cddb cdparanoia cdr chroot cjk cli cpudetection crypt cscope ctype cups curl curlwrappers dbus dhcp doc dri dts dv dvd dvdr dvdread dvi edl eds emboss encode exif expat fam fat fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm gif gimp gimpprint glitz glut gmp gnome gnutls gpm gs gstreamer gtk gtk2 gtkhtml hal hfs hpn iconv idn ieee1394 imagemagick imlib ipod ipv6 isdnlog java javascript jfs joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lcms ldap libcaca libg++ libwww live logitech-mouse logrotate lua lzo mad matroska md5sum memlimit mikmod mjpeg mmap mmx mmxext mng mp3 mpeg mplayer multicall musicbrainz nas nautilus ncurses network new-login nfs nls nntp no-htdocs nptl nptlonly nsplugin ntfs offensive ogg oggvorbis on-the-fly-crypt openal opengl oss pam pcmcia pcre pda pdf pdflib perl png povray ppds pppd python qt quicktime rdesktop readline real reflection reiser4 reiserfs rtc samba sasl scanner sdl session simplexml slp soap sockets speex spell spl sqlite sse sse2 ssl startup-notification subtitles svg svga syslog t1lib tcpd tga theora threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vidix vim-with-x vorbis vv widescreen wifi win32codecs wmf xanim xcomposite xfs xine xinerama xml xml2 xorg xpm xprint xrandr xscreensaver xv xvid xvmc zeroconf zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_radeon video_cards_fglrx" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
I managed to get it to emerge by copying /var/tmp/portage/PDL-2.4.2/work/PDL-2.4.2/blib/lib/PDL/Config.pm to /usr/local/lib/site_perl/PDL/Config.pm - Not to imply that I know anything about the problem...
Can you please try emerging PDL-2.4.2-r1? I'll file a ticket to get it marked stable based on your outcome (but that was why we created -r1 ;)
yesterday I unmerged PDL, reemerged the stable version to verify that it still fails, and then after that emerge failed, I emerged 2.4.2-r1, and it worked. So 2.4.2-r1 fixes it for me.
Is it possible to close the bug now that dev-perl/PDL-2.4.2-r1 is stable?
Closing, as bug #137427 was resolved (I have no idea why I thought 2.4.2-r1 was already stable, btw ;))