I emerged freetype 2.1.4 an it worked. I deleted /usr/lib/libfreetype* and tried to remerge freetype and since then every times I try to compile freetype I get an ACCESS DENIED open_wr: /usr/lib/... And I tried to touch those file (which worked) as the same user who's emerging (root). Reproducible: Always Steps to Reproduce: 1.emerge freetype-2.1.4 2.emerge freetype-2.1.4 3. Actual Results: The second step did'nt finish. Expected Results: Write to the writable device. I merged freetype twice both times with the samething in emerge info... emerge info output >> System uname: 2.4.20-gentoo-r5 i686 Pentium II (Deschutes) GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/ http://gentoo.oregonstate.edu http://www.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="/home/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 gif libg++ gdbm gpm -3dnow X aalib alsa apm arts avi berkdb crypt cups cdr curl dga directfb dvd encode esd fbcon foomaticdb -gnome gtk gtk2 imlib java jpeg -kde lib libwww mad matrox mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcpd tetex tiff truetype usb xml2 xmms xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -falign-functions=4 -frerun-loop-opt -fforce-addr" CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -falign-functions=4 -frerun-loop-opt -fforce-addr" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Temporary solution: emerge freetype-2.1.3-r2 then emerge freetype-2.1.4
you shouldnt just delete stuff around portage's back, thats is the problem here most likely. unmerge packages to remove them.