After installing perl 5.10.1, all perl module ebuilds install to the root directory: $ ls / Test YAML.pm boot etc lib media opt root sys usr your YAML bin dev home lost+found mnt proc sbin tmp var Besides making a mess of root, perl cannot find the installed modules, because they're not in @INC. Reinstalling a 5.8-series perl did not fix it. Reproducible: Always Steps to Reproduce: 1. emerge yaml 2. Module ends up in / Actual Results: $ equery files yaml [ Searching for packages matching yaml... ] * Contents of dev-perl/yaml-0.71: /Test /Test/YAML.pm /YAML /YAML.pm /YAML/Any.pm /YAML/Base.pm /YAML/Dumper /YAML/Dumper.pm /YAML/Dumper/Base.pm /YAML/Error.pm /YAML/Loader /YAML/Loader.pm /YAML/Loader/Base.pm /YAML/Marshall.pm /YAML/Node.pm /YAML/Tag.pm /YAML/Types.pm /usr /usr/share /usr/share/doc /usr/share/doc/yaml-0.71 /usr/share/doc/yaml-0.71/Changes.bz2 /usr/share/doc/yaml-0.71/README.bz2 Expected Results: Install to /usr/lib/perl5/vendor_perl or somesuch $ emerge --info Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r10-i686-Intel-R-_Celeron-R-_CPU_540_@_1.86GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 27 Apr 2010 08:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p37 dev-java/java-config: 1.3.7, 2.1.10 dev-lang/python: 2.4.4-r6, 2.5.4-r3, 2.6.4-r1 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 9999 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -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/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage" SYNC="rsync://wumpus-cave.net/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa apache2 apm args arts bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli consolekit cracklib crypt cups curl cxx dbm dbus dga doc dri dts dv dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac flatfile fortran gdbm gif gkt4 glut gpm gtk hal iconv imagemagick imap ipod ipv6 jabber javascript joystick jpeg kde lcms ldap libnotify libwww lm_sensors loop-aes mad mbox mikmod mmx mng modules mozdevelop mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ocaml ogg openal opengl openmp pam pango pcre pda pdf perl png postgres ppds pppd python qicktime qt3support qt4 readline reflection ruby sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb v4l2 vcd videos vim-syntax vorbis webkit wifi x264 x86 xcb xine xml xorg xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev intel v4l vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Did you run perl-cleaner after perl update ?
Please add `perl -V`
Would PORTAGE_CONFIGROOT="/" be related? Bug 210047