"#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 -ins/perl/UI' make[4]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r2/work/gimp-1.2.3/plug- ins/perl/UI' 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/Install.pm 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- ins/perl' make[2]: *** [install] Error 2 make[2]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r2/work/gimp-1.2.3/plug- ins/perl' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r2/work/gimp-1.2.3/plug- ins' 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" CXXFLAGS="${CFLAGS}" I'm using profile default-x86-1.4 and portage-2.0.36
i can confirm this! same here.
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.
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, Michael
That worked for me. It installed without a hitch. Thanks, Zack
as it did for me too.
*takeover* 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