when emerging dev-perl/ExtUtils-CBuilder I get: ACCESS DENIED chmod: /usr/share/man/man3/ExtUtils::CBuilder::Platform::Windows.3pm ACCESS DENIED unlink: /usr/share/man/man3/ExtUtils::CBuilder::Platform::Windows.3pm then it exits and refers to a log file --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-dev-perl_-_ExtUtils-CBuilder-0.18-8850.log" Reproducible: Always Steps to Reproduce: 1. emerge ExtUtils-CBuilder 2. 3. Actual Results: ACCESS DENIED chmod: /usr/share/man/man3/ExtUtils::CBuilder::Platform::Windows.3pm ACCESS DENIED unlink: /usr/share/man/man3/ExtUtils::CBuilder::Platform::Windows.3pm Cannot forceunlink /usr/share/man/man3/ExtUtils::CBuilder::Platform::Windows.3pm: Permission denied at /usr/lib64/perl5/5.8.8/File/Find.pm line 886 * Cleaning out stray man files >>> Completed installing ExtUtils-CBuilder-0.18 into /var/tmp/portage/dev-perl/ExtUtils-CBuilder-0.18/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-dev-perl_-_ExtUtils-CBuilder-0.18-8850.log" chmod: /usr/share/man/man3/ExtUtils::CBuilder::Platform::Windows.3pm unlink: /usr/share/man/man3/ExtUtils::CBuilder::Platform::Windows.3pm -------------------------------------------------------------------------------- Expected Results: succesful emerge if I emerge perl-core/File-Spec-3.15 using --nodeps because it depends on ExtUtils-CBuilder I get the same sort of error emerge --nodeps File-Spec ACCESS DENIED chmod: /usr/lib64/perl5/5.8.8/x86_64-linux/auto/Cwd/Cwd.so
emerge --info please.
Portage 2.1.2-r9 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.17-gentoo-r4 x86_64) ================================================================= System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm)64 X2 Dual Core Processor 4200+ Gentoo Base System version 1.6.14 Timestamp of tree: Thu, 22 Feb 2007 06:30:01 +0000 dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 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-r1, 1.10 sys-devel/binutils: 2.16.1 sys-devel/gcc-config: 1.3.12-r6 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/lib/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/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.planetmirror.com/pub/gentoo/ ftp://ftp.swin.edu.au/gentoo" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 arts bash-completion berkdb bitmap-fonts browserplugin caps cdr cli cracklib crypt cups divx4linux doc dri dv dvb dvd dvdr dvdread eds emboss encode ethereal examples ffmpeg firefox flac fluidsynth foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal iconv imagemagick imlib ipv6 isdnlog jabber jack jack-tmpfs java jpeg kde ladcca lirc lm_sensors lzw lzw-tiff mad mbox midi mime mozilla mp3 mpeg mysql ncurses nls nptl nsplugin nvidia ogg opengl pam pcre perl png portaudio pppd python qt3 qt4 quicktime readline reflection samba scanner sdl session speex spell spl ssl tcpd tiff timidity truetype-fonts type1-fonts usb v4l v4l2 videos vorbis wma wmf wmv xine xml xorg xpm xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Can you try emerging perl-info and attaching the results of running that? I have an idea, but I can't reproduce this on amd64 with the same features. It seems like you still have a copy of ExtUtils-MakeMaker (old copy, not the version packaged with perl) still around, but that's just a memory tickle (we used to see this with EU::MM installed from ebuilds before we got rid of the ebuild).
perl-info version 0.14 - brought to you by the Gentoo perl-herd-maintainer ;-) Distributed under the terms of the GPL-2 * Systeminfo: Arch : amd64 Perl : dev-lang/perl-5.8.8-r2 USE="berkdb -debug doc -gdbm -ithreads -perlsuid -build" libperl: sys-devel/libperl-5.8.8-r1 USE="berkdb -debug -gdbm -ithreads" * Perl configuration: Off_t='UNKNOWN'; alignbytes='8'; archname='x86_64-linux'; bincompat5005='UNKNOWN'; byteorder='12345678'; cc='x86_64-pc-linux-gnu-gcc'; cccdlflags='-fPIC'; ccdlflags='-rdynamic'; ccflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'; ccversion=''; cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement'; d_dlsymun='undef'; d_longdbl='define'; d_longlong='define'; dlext='so'; dlsrc='dl_dlopen.xs'; doublesize='8'; gccosandver='UNKNOWN'; gccversion='3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)'; gnulibc_version='2.3.5'; intsize='4'; ivsize='8'; ivtype='long'; ld='x86_64-pc-linux-gnu-gcc'; lddlflags='-shared -L/usr/local/lib64'; ldflags=' -L/usr/local/lib64'; libc='/lib/libc-2.3.5.so'; libperl='libperl.a'; libpth='/usr/local/lib64 /lib64 /usr/lib64'; libs='-lpthread -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc'; longdblsize='16'; longlongsize='8'; longsize='8'; lseeksize='8'; nvsize='8'; nvtype='double'; optimize='-march=k8 -O2 -pipe'; osname='linux'; osvers='2.6.17-gentoo-r4'; perllibs='-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc'; prototype='define'; ptrsize='8'; so='so'; uname='uname'; use5005threads='undef'; use64bitall='define'; use64bitint='define'; useithreads='undef'; uselargefiles='define'; uselongdouble='undef'; usemultiplicity='undef'; usemymalloc='n'; useperlio='define'; useposix='true'; useshrplib='false'; usesocks='undef'; usethreads='undef'; * INC: /etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux /usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl/5.8.7 /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux /usr/lib64/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux /usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl . * Installed packages from category dev-perl: Archive-Tar-1.26 USE="-minimal" Authen-SASL-2.09 USE="-minimal" CGI-Session-4.13 USE="" Class-MethodMaker-1.11 USE="-minimal" Compress-Zlib-1.41 USE="-minimal" Crypt-SSLeay-0.51 USE="-minimal" DBD-mysql-2.9007 USE="perl -minimal" DBI-1.50 USE="perl -minimal" DateManip-5.44 USE="-minimal" Digest-HMAC-1.01-r1 USE="-minimal" Digest-SHA1-2.10 USE="-minimal" Email-Find-0.09 USE="-minimal" Email-Valid-0.15-r1 USE="-minimal" Exporter-Lite-0.01 USE="-minimal" GD-2.35-r1 USE="-animgif gif jpeg png -truetype xpm" GDGraph-1.43.08 USE="" GDTextUtil-0.86 USE="" HTML-Element-Extended-1.13 USE="-minimal" HTML-FromText-2.05 USE="-minimal" HTML-LinkExtractor-0.13 USE="-minimal" HTML-Parser-3.46 USE="-unicode -minimal" HTML-TableExtract-2.06 USE="-minimal" HTML-Tagset-3.10 USE="-minimal" HTML-Tree-3.19.01 USE="-minimal" IO-Socket-SSL-0.97 USE="-minimal" IO-String-1.08 USE="-minimal" IO-Zlib-1.04 USE="-minimal" IO-stringy-2.110 USE="-minimal" Lingua-EN-Numbers-Ordinate-1.02 USE="-minimal" Lingua-Preferred-0.2.4 USE="-minimal" Locale-gettext-1.03 USE="" Log-TraceMessages-1.4 USE="-minimal" MIME-Lite-3.01 USE="-minimal" MIME-tools-5.417 USE="-minimal" MP3-Info-1.20 USE="" MailTools-1.67 USE="-minimal" Net-DNS-0.49 USE="-minimal" Net-Daemon-0.38 USE="perl -minimal" Net-Domain-TLD-1.62 USE="-minimal" Net-Jabber-2.0 USE="-minimal" Net-SSLeay-1.25 USE="-minimal" Net-XMPP-1.0 USE="-minimal" Parse-RecDescent-1.94 USE="" PlRPC-0.2018 USE="perl -minimal" PortageXS-0.02.02 USE="" SGMLSpm-1.03-r5 USE="" SOAP-Lite-0.60a-r1 USE="jabber ssl -minimal" String-ShellQuote-1.03 USE="" Term-ANSIColor-1.11 USE="-test" Term-ProgressBar-2.06-r1 USE="-minimal" TermReadKey-2.30 USE="-minimal" Text-Iconv-1.4 USE="-minimal" Text-Kakasi-2.04 USE="-minimal" Tie-IxHash-1.21-r1 USE="-minimal" Tk-TableMatrix-1.1-r1 USE="-minimal" URI-1.35 USE="-minimal" Unicode-String-2.07 USE="-minimal" WWW-Mechanize-1.16 USE="-minimal" XML-Filter-BufferText-1.01 USE="-minimal" XML-Handler-YAWriter-0.23-r1 USE="-minimal" XML-LibXML-1.58-r1 USE="-minimal" XML-LibXML-Common-0.13 USE="-minimal" XML-NamespaceSupport-1.09 USE="-minimal" XML-Parser-2.34 USE="-minimal" XML-SAX-0.12 USE="-minimal" XML-SAX-Writer-0.44-r1 USE="-minimal" XML-Stream-1.22 USE="ssl -minimal" XML-Twig-3.17 USE="nls -minimal" XML-Writer-0.600 USE="-minimal" XML-XPath-1.13 USE="-minimal" extutils-depends-0.205 USE="" extutils-pkgconfig-1.07 USE="" glib-perl-1.120 USE="xml" gtk2-perl-1.122 USE="" libwww-perl-5.803-r1 USE="ssl -minimal" libxml-perl-0.08 USE="-minimal" module-build-0.25 USE="-minimal" perl-tk-804.027 USE="-minimal" yaml-0.39 USE="-minimal" * Installed packages from category perl-core: CGI-3.23 USE="" PodParser-1.34 USE="" Scalar-List-Utils-1.14 USE="-minimal" Storable-2.15 USE="-minimal" Test-Harness-2.56 USE="" Test-Simple-0.62 USE="-minimal" digest-base-1.13 USE="-minimal" * Installed packages from category perl-gcpan: none * eclasses: perl-app: 1.10 perl-module: 1.104 perl-post: 1.16
I feel like a broken record, but this still 'feels' like an old ExtUtils-MakeMaker problem somehow....could you do a find /usr/lib64/perl -name MakeMaker.pm and post the results? I'll give up the horse after that and move on to other notions :)
find /usr/lib64/perl5 -name MakeMaker.pm /usr/lib64/perl5/5.8.8/ExtUtils/MakeMaker.pm I'm not familiar with the original MakeMaker problem, are you saying if I delete MakeMaker that will fix the problem?
goodness no. The old problem was due to a version of makemaker being available as an ebuild that would cause problems in more recent perl's. This is obviously not your case - please don't delete this :) Unfortunately, this still leaves me in a quandry because otherwise I cannot dup this at all on the same arch with the same config.
I found some log files in /var/log/portage/elog suggesting I run perl-cleaner, so I ran # perl-cleaner modules and that has fixed the problem the emerge is now OK, let me know if you want to see any log files.
Fred, Sad thing is I wrote perl-cleaner and didn't think to ask if you'd run it...sorry for the hassle