Click to See Complete Forum and Search --> : Portage error - Permission denied


ions
11-11-2004, 03:11 PM
This is a combination post of all my posts here: http://forums.gentoo.org/viewtopic.php?t=250275

make [1]: entering directory '/var/tmp/portage/tiff-3.6.1-r2/work/tiff-v3.6.1/port'
/usr/lib/ccache/bin/gcc -march=athlon-tbird -O2 -pipe -mmmx -m3dnow -fomitframe-pointer -I. -I../port -c -o strcasemp.o strcasemp.o
make[1]:execvp: /usr/lib/ccache/bin/gcc: Permission denied
make[1]: *** [strcasemp.o] Error 127
make[1]: Leaving directory '/var/tmp/portage/tiff-3.6.1-r2/work/tiff-v3.6.1/port'

make: *** [all] error 2

!!! Error: media-libs/tiff-3.6.1-r2 failed
!!! function src_compile, line 48, Exitcode 2
!!! (no error message)

Is the error I get when I try to emerge tiff. Tiff is a dep of gnome which I would like to emerge on this fresh 2004.2 install.

My CFLAGS are:
CFLAGS="-march=athlon-tbird -O2 -pipe -mmmx -m3dnow -fomeit-frame-pointer"

CHOST:
CHOST="i686-pc-linux-gnu"

#ls -ld /usr/lib/ccache/bin/gcc
drwxr-xr-x 2 root root 4096apr 8 2003 /usr/lib/ccache/bin/gcc

Other possible relevant points:
- The only FEATURE I have is 'eyecandy'.
- Error occurs regardless if 'tiif' or '-tiff' is in USE flags.
- Compile has been tried with just 'athlon' and 'O2' as CFLAGS. Still fails.
- I did mount '#/dev/hda3 -o remount,rw,exec ' and that did nothing. Tried that because of this thread: http://forums.gentoo.org/viewtopic.php?t=201036

squeegy
11-11-2004, 04:04 PM
Looks to be some sort of problem with ccache maybe... Regardless if it's not in your features, portage automatically takes advantage of ccache if you've emerged it.

or it might be the fact you have
-fomeit-frame-pointer
when it should be
-fomit-frame-pointer

ions
11-11-2004, 04:09 PM
Please do not take any typos too seriously. The output I get is handwritten onto a post-it note then transcribed in here on a keyboard I'd take great pleasure in smashing. I do have the correct fomit-frame-pointer. I do appreciate them being pointed out just in case though.

I have not emerged ccache directly - it may be a dep of another package? Perhaps if I -C that sucker? Yeah...I'll try that.

ions
11-11-2004, 07:25 PM
Thank you squeegy! The problem was that I did not have ccache emerged. Once that was emerged everything has been emerging fine. Perhaps this is a bug?