I noticed a random PHP file in my /usr directory: [23:24:38 dwc@aurelia ~]$ equery belongs /usr/run-tests.php [ Searching for file(s) /usr/run-tests.php in *... ] dev-php/php-4.4.0-r1 (/usr/run-tests.php) I tracked this down to the src_install function in php-sapi.eclass. It appears to be a simple search and replace error on the insinto call immediately before run-tests.php is installed, but I'll attach a patch. Reproducible: Always Steps to Reproduce: 1. Install dev-php/php. Actual Results: A PHP file is installed at /usr/run-tests.php. Expected Results: The file should have been installed at /usr/lib/php/run-tests.php. Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12.5 i686) ================================================================= System uname: 2.6.12.5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mcpu=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_US.UTF-8" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.1.1/gentoo-portage" USE="x86 acl berkdb bitmap-fonts crypt curl eds emacs emboss fortran gd gdbm gif gstreamer imlib ipv6 java jpeg junit libg++ libwww maildir mmx mp3 mysql ncurses nls nptl ogg pam perl png postgres python readline samba spell ssl tcpd truetype-fonts type1-fonts unicode vhosts vorbis xml xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
Created attachment 69968 [details, diff] Use libdir in insinto call
Fixed in CVS. Best regards, CHTEKK.