I've tried this with the latest stable g-cpan-0.13.02 on x86, and also with g-cpan-0.14.0_rc2 on ~amd64. I tried to g-cpan -i SOAP::MIME, but g-cpan seemed to get a bit confused. It produced an ebuild directory SOAP-MIME-0.55 and an invalid ebuild filename of SOAP-MIME-0.55-7.ebuild. I've dug around a bit in the source code for 0.13.02, and produced the attached (only slightly tested) patch; which at least works for SOAP MIME :) --cut here-- # emerge --info Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.12.6-xen i686) ================================================================= System uname: 2.6.12.6-xen i686 Intel(R) Celeron(R) CPU 2.53GHz Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: 2.3 dev-util/confcache: [Not Present] 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 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=i686 -mtune=pentium3 -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -mtune=pentium3 -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/mnt/dmz-packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 cli crypt cscope cups curl dri eds emboss encode esd expat foomaticdb fortran gd gdbm gif gmp gpm gstreamer gtk2 idn imlib innodb isdnlog jpeg kde libg++ libwww mad mhash mikmod ming motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl perlsuid php png pppd python qt3 qt4 quicktime readline reflection session spell spl ssl syslog tcpd truetype truetype-fonts type1-fonts udev unicode usb vorbis x86 xml xml2 xmms xorg xv zlib zsh-completion userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Created attachment 90406 [details, diff] Patch for g-cpan 0.13.2
thanks! i'll need to try and integrate this into 0.14 though (0.13 is a dead line)
I can take a look at the new version, if you like. It's just that I normally run the stable build.
No sweat, I'll get to it this weekend. For me, the new version and the stable are about ten million light years apart :)
fixed in rc3