Got errors which I assume indicate gtk-perl ebuild was trying to write outside the PORTAGE_TMPDIR. ebuild appears to have installed despite the error. This occurred on a fresh install of Gentoo 1.4r4 onto a new box during "emerge gnome" Writing /var/tmp/portage/gtk-perl-0.7008-r9/image///usr/lib/perl5/site_perl/5.8.0/i686-linux/auto/Gtk/base/.packlist Appending installation info to /usr/lib/perl5/5.8.0/i686-linux/perllocal.pod ACCESS DENIED open_wr: /usr/lib/perl5/5.8.0/i686-linux/perllocal.pod /bin/sh: line 1: /usr/lib/perl5/5.8.0/i686-linux/perllocal.pod: Permission denied Reproducible: Didn't try Steps to Reproduce: Expected Results: played nicely within PORTAGE_TMPDIR Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.22-pre6-ac1 i686 AMD Athlon(tm) GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss avi crypt cups encode foomaticdb gif jpeg kde gnome libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime sdl slang spell svga truetype xml2 xmms xv zlib gdbm berkdb readline arts java X tcpd pam ssl python esd imlib oggvorbis gtk qt opengl -3dnow -apm -motif alsa bonobo cdr curl dvd emacs gd gphoto2 gpm gtk2 gtkhtml imap maildir mozilla mule perl postgres bindist samba sasl slp sse tcltk tiff wmf" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
The emerge gtk-perl actually fails... so it is quite easy to reproduce. I just try emerge gtk-perl again and get the same results.
please do not directly assign bugs, perl sais very little to me. Perl guys, please have a look. Does this error mean anything to you ?
Can you please provide emerge -p gnome? The gtk-perl ebuild shouldn't be getting invoked - it's an add on for some sub-packages in gnome and not part of the gnome build phase. That and I've emerged it six ways from Sunday today to try and duplicate this and couldn't, so I'd like to see what your box thinks is pulling it in. Thanks, Mike
These are the remaining gnome ebuilds which I haven't been able to emerge. goebel root # emerge -p gnome These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] gnome-base/control-center-2.2.2 [ebuild N ] sys-apps/eject-2.0.12-r1 [ebuild N ] gnome-base/nautilus-2.2.3 [ebuild N ] gnome-extra/nautilus-media-0.2.2 [ebuild N ] dev-perl/gtk-perl-0.7008-r9 [ebuild N ] media-gfx/gimp-1.2.4 [ebuild N ] media-gfx/gimp-print-4.2.5 [ebuild N ] app-text/ghostscript-7.05.6-r2 [ebuild N ] app-text/ggv-2.0.1 [ebuild N ] gnome-extra/gnome-utils-2.2.3 [ebuild N ] gnome-base/gnome-2.2.1
OK, I guess that makes sense (not much of a gnome guy myself). OK, couple of more random questions to try and narrow this down. Which perl do you have installed? (including -r number) Also, does emerge search ExtUtils-MakeMaker yield any results, and if so (doesn't have to, just curious) which version? Finally, and this is just random, but what is the HEADER number in /usr/portage/eclass/perl-module.eclass (assuming /usr/portage/ is your portage dir of course). Thanks!
For what it's worth, I have a fairly fresh chroot tree that I have just started an emerge gnome (129 packages, dev-perl/gtk-perl smack dab in the middle). This is going to be as close as I can get to testing to verify your problem on a new build.
gnome folks - I really think this is a perl specific issue, so if you want to swap out who's cc: and who's primary I understand
ok swapping reporter, most likely you can complete your gnome emerge by setting USE="-perl", i assume you would like a working desktop. But please keep on helping us solve this problem.
Nope, I can't duplicate this - on a fresh chroot gtk-perl installed without error. Please emerge sync and try again (in case your copy of the perl-module.eclass was corrupted or something, something I've seen this week and the only thing I can think of). Failing that, please provide the version and -r of perl you are using, and whether or not you have the ExtUtils-MakeMaker ebuild installed (not necessary to install it if not) and if so what version.
I don't mind working through this. I'll try to start digging into the gtk-perl module to figure out where and why it is trying to write outside PORTAGE_TMPDIR. I've been curious to dig deeper into ebuild development and debugging, but haven't been able to locate comprehensive documentation, i.e. beyond man pages... and haven't yet found the time to go far along the the figure it out as you go route. * dev-lang/perl Latest version available: 5.8.0-r12 Latest version installed: 5.8.0-r12 * dev-perl/ExtUtils-MakeMaker Latest version available: 6.05-r6 Latest version installed: [ Not Installed ] # $Header: /home/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.49 2003/07/27 14:46:02 mcummings Exp $ Did an emerge sync and tried again... same problem
hey I missed something. gtk-perl still gives the same error, but it is no longer on the package list when I do an emerge -p gnome. Perhaps it was a corrupt perl-module.eclass? I wish I'd backed it up so I could have done a diff... oh well. So the "can't emerge gnome" problem appears to have gone away, though the gtk-perl one remains.
the ebuild for gtk-perl was long since fixed for this. closing.