# emerge ExtUtils-CBuilder Calculating dependencies... done! >>> Emerging (1 of 1) dev-perl/ExtUtils-CBuilder-0.18 to / * ExtUtils-CBuilder-0.18.tar.gz MD5 ;-) ... [ ok ] * ExtUtils-CBuilder-0.18.tar.gz RMD160 ;-) ... [ ok ] * ExtUtils-CBuilder-0.18.tar.gz SHA1 ;-) ... [ ok ] * ExtUtils-CBuilder-0.18.tar.gz SHA256 ;-) ... [ ok ] * ExtUtils-CBuilder-0.18.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking ExtUtils-CBuilder-0.18.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking ExtUtils-CBuilder-0.18.tar.gz to /var/tmp/portage/ExtUtils-CBuilder-0.18/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/ExtUtils-CBuilder-0.18/work/ExtUtils-CBuilder-0.18 ... /var/tmp/portage/ExtUtils-CBuilder-0.18/work/ExtUtils-CBuilder-0.18 * Using Module::Build Checking whether your kit is complete... Looks good Creating new 'Build' script for 'ExtUtils-CBuilder' version '0.18' lib/ExtUtils/CBuilder/Platform/Windows.pm -> blib/lib/ExtUtils/CBuilder/Platform/Windows.pm lib/ExtUtils/CBuilder.pm -> blib/lib/ExtUtils/CBuilder.pm lib/ExtUtils/CBuilder/Platform/aix.pm -> blib/lib/ExtUtils/CBuilder/Platform/aix.pm lib/ExtUtils/CBuilder/Platform/cygwin.pm -> blib/lib/ExtUtils/CBuilder/Platform/cygwin.pm lib/ExtUtils/CBuilder/Platform/VMS.pm -> blib/lib/ExtUtils/CBuilder/Platform/VMS.pm lib/ExtUtils/CBuilder/Platform/Unix.pm -> blib/lib/ExtUtils/CBuilder/Platform/Unix.pm lib/ExtUtils/CBuilder/Platform/darwin.pm -> blib/lib/ExtUtils/CBuilder/Platform/darwin.pm lib/ExtUtils/CBuilder/Platform/os2.pm -> blib/lib/ExtUtils/CBuilder/Platform/os2.pm lib/ExtUtils/CBuilder/Base.pm -> blib/lib/ExtUtils/CBuilder/Base.pm Manifying blib/lib/ExtUtils/CBuilder.pm -> blib/libdoc/ExtUtils::CBuilder.3pm Manifying blib/lib/ExtUtils/CBuilder/Platform/Windows.pm -> blib/libdoc/ExtUtils::CBuilder::Platform::Windows.3pm >>> Source compiled. >>> Test phase [not enabled]: dev-perl/ExtUtils-CBuilder-0.18 >>> Install ExtUtils-CBuilder-0.18 into /var/tmp/portage/ExtUtils-CBuilder-0.18/image/ category dev-perl ACCESS DENIED mkdir: /usr/lib64/perl5/site_perl/5.8.8/ExtUtils mkdir /usr/lib64/perl5/site_perl/5.8.8/ExtUtils: Permission denied at /usr/lib64/perl5/5.8.8/ExtUtils/Install.pm line 176 * Cleaning out stray man files >>> Completed installing ExtUtils-CBuilder-0.18 into /var/tmp/portage/ExtUtils-CBuilder-0.18/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-dev-perl_-_ExtUtils-CBuilder-0.18-8950.log" mkdir: /usr/lib64/perl5/site_perl/5.8.8/ExtUtils (symlink to /usr/lib/perl5/site_perl/5.8.8/ExtUtils) -------------------------------------------------------------------------------- # emerge --info Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-3.4.4, glibc-2.4-r4, 2.6.18-gentoo-r4 x86_64) ================================================================= System uname: 2.6.18-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.6 Last Sync: Tue, 12 Dec 2006 18:20: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.3.5-r2, 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.14 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="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer sandbox sfperms strict userfetch" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="he_IL.UTF-8" MAKEOPTS="-j2" 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="/usr/local/portage" SYNC="rsync://mirror.hamakor.org.il/gentoo-portage" USE="amd64 X aac alsa alsa_cards_intel8x0,usb-audio apache2 avi bash-completion berkdb bidi bitmap-fonts cairo cdda cddb cdio cdr cli cpudetection cracklib crypt crypto cups dbus directfb dlloader dri dts dvd dvdr elibc_glibc emboss encode fam ffmpeg firefox font-server fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jack jpeg kde kernel_linux libg++ mad mbrola mikmod mmext mp3 mpeg ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection rss sdl session spell spl ssl stream tcpd threads truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis wxwindows xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
I have the same problem with dev-perl/ExtUtils-CBuilder-0.15 on x86. # emerge --info Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r5 i686) ================================================================= System uname: 2.6.18-gentoo-r5 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.12.6 Last Sync: Sat, 30 Dec 2006 22:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.3.5, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -g" 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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe -g" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/" LANG="fr_FR.utf8" LC_ALL="fr_FR.utf8" LINGUAS="fr" MAKEOPTS="-j2" 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="/usr/local/portage" SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa alsa_cards_intel8x0,bt87x alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm bash-completion berkdb bitmap-fonts cairo cjk cli cracklib crypt cups dbus dlloader dri eds elibc_glibc emboss encode fbcon ffmpeg foomaticdb fortran gdbm gif glitz gpm gstreamer gtk gtk2 hal iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdeenablefinal kernel_linux libg++ libwww linguas_fr lirc mad mikmod mmx mp3 mpeg ncurses nls nptl offensive ogg opengl pam pcre perl pic png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l video_cards_radeon vorbis xinerama xml xorg xprint xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Updating dev-perl/module-build from 0.25 to 0.28 solves the problem (and pulls dev-perl/ExtUtils-CBuilder as a dependency). It seems there is some modification to do to DEPEND but I'm not sure which one... It would be easy to generate a cyclic dependency here.
there shouldn't be a loop here though - extutils-cbuilder is a pdepend (after the target is installed) for module-build, and depends on module-build to be built (so you can't build it first)...
As it's no longer possible to install less than 0.28 in portage, i'm closing this bug out. thanks!