I get this error message running g-cpan: Use of uninitialized value in split at /usr/bin/g-cpan line 354. No matter what command line options I give, g-cpan says everything is fine, there are no updates etc. I am running version 0.14.0 on amd64. Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 x86_64) ================================================================= System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.12.6 Last Sync: Wed, 06 Dec 2006 04:00:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64" CHOST="x86_64-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" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -march=athlon64" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j4" 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=" " SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa asf audiofile avahi bash-completion beagle berkdb bitmap-fonts bonobo bzip2 cairo cdinstall cdparanoia cdr chm cli cracklib crypt css cups dbus dga dlloader dri dts dv dvb dvd dvdr dvdread elibc_glibc encode evo exif fbcon ffmpeg firefox flac gdbm ghostscript gif gimp gimpprint glitz glut gnome gphoto2 gpm gtk gtk2 hal hbci hddtemp iconv ieee1394 imap input_devices_evdev input_devices_keyboard input_devices_mouse ipod isdnlog java javascript jpeg kernel_linux kqemu ldap libg++ lirc lirc_devices_streamzap mad mikmod mjpeg mono mozcalendar mp3 mpeg mplayer musicbrainz ncurses nls nntp nptl nptlonly nsplugin nvidia offensive ofx ogg ole opengl pam pcre pdf perl png ppds pppd print python qt3 qt4 quicktime quotes readline reflection samba scanner sdl session smp sndfile speex spl sql ssl streamzap subtitles subversion svg symlink tcpd theora threads tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa visualization vorbis wmf wmv x264 xine xinerama xml xorg xv xvid xvmc yahoo yv12 zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Looks like you have PORTDIR_OVERLAY set to two spaces...?
The cause of PORTDIR_OVERLAY being wierd was layman. I had been using layman to get the vmware-server overlay. But that is now part of portage so I had done layman -d. The /usr/portage/local/layman/make.conf looked like this: PORTDIR_OVERLAY="$PORTDIR_OVERLAY " (ie two newlines) I completely removed the source line from /etc/make.conf and emerge --info reports that PORTDIR_OVERLAY is unset. I *still* get the error from g-cpan and it still appears to not work. Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 x86_64) ================================================================= System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.12.6 Last Sync: Mon, 11 Dec 2006 00:00:03 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64" CHOST="x86_64-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" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -march=athlon64" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j4" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa asf audiofile avahi bash-completion beagle berkdb bitmap-fonts bonobo bzip2 cairo cdinstall cdparanoia cdr chm cli cracklib crypt css cups dbus dga dlloader dri dts dv dvb dvd dvdr dvdread elibc_glibc encode evo exif fbcon ffmpeg firefox flac gdbm ghostscript gif gimp gimpprint glitz glut gnome gphoto2 gpm gtk gtk2 hal hbci hddtemp iconv ieee1394 imap input_devices_evdev input_devices_keyboard input_devices_mouse ipod isdnlog java javascript jpeg kernel_linux kqemu ldap libg++ lirc lirc_devices_streamzap mad mikmod mjpeg mono mozcalendar mp3 mpeg mplayer musicbrainz ncurses nls nntp nptl nptlonly nsplugin nvidia offensive ofx ogg ole opengl pam pcre pdf perl png ppds pppd print python qt3 qt4 quicktime quotes readline reflection samba scanner sdl session smp sndfile speex spl sql ssl streamzap subtitles subversion svg symlink tcpd theora threads tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa visualization vorbis wmf wmv x264 xine xinerama xml xorg xv xvid xvmc yahoo yv12 zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
0.15_rc1 is in the tree and contains fixes that cover this bug.