Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7718 - gimp-1.2.3-r2 emerge fails with "ACCESS DENIED"
Summary: gimp-1.2.3-r2 emerge fails with "ACCESS DENIED"
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
Depends on:
Reported: 2002-09-09 20:31 UTC by Zack Pearsall
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

replacement gimp-1.2.3-r2 ebuild - new export line (gimp-1.2.3-r2.ebuild,3.82 KB, text/plain)
2002-09-12 19:54 UTC, Michael Cummings (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Zack Pearsall 2002-09-09 20:31:14 UTC
"#emerge gimp" fails consistently for me on gentoo-1.4_beta with the following error

make[4]: Entering directory `/var/tmp/portage/gimp-1.2.3-r2/work/gimp-1.2.3/plug
make[4]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r2/work/gimp-1.2.3/plug-
true || (cd embed && make all)
ACCESS DENIED  mkdir:     /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Gimp
mkdir /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Gimp: Permission denied at
/usr/lib/perl5/5.6.1/ExtUtils/ line 137
make[3]: *** [pure_site_install] Error 255
make[3]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r2/work/gimp-1.2.3/plug-
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r2/work/gimp-1.2.3/plug-  
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r2/work/gimp-1.2.3/plug-  
make: *** [install-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 25, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-gimp-1.2.3-r2-8541.log"

mkdir:     /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Gimp

I have the following in /etc/make.conf
USE="alsa tcltk xinetd xface sse samba"
CFLAGS="-march=athlon-xp -O3 -pipe"

I'm using profile default-x86-1.4
and portage-2.0.36
Comment 1 Tobias Eichert 2002-09-11 14:25:04 UTC
i can confirm this! same here.
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2002-09-11 21:02:31 UTC
Working on this now. Gimp is breaking because it doesn't use the
perl-module.eclass directly and the revised ExtUtils::MakeMaker is very strict
about how it is abused. I am working on a fix to the ebuild for gimp.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2002-09-12 19:54:06 UTC
Created attachment 3872 [details]
replacement gimp-1.2.3-r2 ebuild - new export line

Please try the attached replacement for your -r2 ebuild. If you diff the
original with this file, you should see the addition of an export line during
the use perl detection section. This addition tells gimp to build the perl
module to be more compliant with the sandbox until it is done. I have tested
this on a perl-5.6.1, gcc 3.2 machine (x86) and it installed smoothly. Let me
know if this works for you,

Comment 4 Zack Pearsall 2002-09-12 21:10:23 UTC
That worked for me.  It installed without a hitch.

Comment 5 Tobias Sager 2002-09-13 02:57:45 UTC
as it did for me too.
Comment 6 Spider (RETIRED) gentoo-dev 2002-09-13 12:48:52 UTC

Well, I'm commiting this as I got more bugreports about it and the fix seems to
work :) call me hasty. thanks for the fix Michael