I have several <VirtualHost> sections in my apache config. Most of these have document roots outside /home/httpd/htdocs. When I install phpmyadmin, or upgrade an existing install, I get these errors during the emerge: Calculating dependencies ...done! >>> emerge (1 of 1) dev-db/phpmyadmin-2.5.3-r1 to / chown: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client1_old/htdocs': No such file or directory chown: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client2': No such file or directory chown: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/wiki/twiki/htdocs': No such file or directory chown: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client1/htdocs': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client1_old/htdocs': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client2': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/wiki/twiki/htdocs': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client1/htdocs': No such file or directory >>> md5 src_uri ;-) phpMyAdmin-2.5.3-php.tar.bz2 chown: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client1_old/htdocs': No such file or directory chown: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client2': No such file or directory chown: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/wiki/twiki/htdocs': No such file or directory chown: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client1/htdocs': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client1_old/htdocs': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client2': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/wiki/twiki/htdocs': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client1/htdocs': No such file or directory * Installing into //home/httpd/htdocs /home/allym/projects/client1_old/htdocs /home/allym/projects/client2 /home/allym/projects/wiki/twiki/htdocs /home/allym/projects/client1/htdocs. ACCESS DENIED open_wr: /home/allym/projects/client1_old/htdocs ACCESS DENIED open_wr: /home/allym/projects/client2 ACCESS DENIED open_wr: /home/allym/projects/wiki/twiki/htdocs ACCESS DENIED open_wr: /home/allym/projects/client1/htdocs/.keep chown: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client1_old/htdocs': No such file or directory chown: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client2': No such file or directory chown: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/wiki/twiki/htdocs': No such file or directory chown: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client1/htdocs': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client1_old/htdocs': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client2': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/wiki/twiki/htdocs': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/phpmyadmin-2.5. 3-r1/image//home/allym/projects/client1/htdocs': No such file or directory >>> Unpacking source... >>> Unpacking phpMyAdmin-2.5.3-php.tar.bz2 to /var/tmp/portage/phpmyadmin-2.5. 3-r1/work * Applying config.inc.php-2.5.3.patch... [ ok ] >>> Source unpacked. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-phpmyadmin-2.5.3-r1-12633.log" open_wr: /home/allym/projects/client1_old/htdocs open_wr: /home/allym/projects/client2 open_wr: /home/allym/projects/wiki/twiki/htdocs open_wr: /home/allym/projects/client1/htdocs/.keep -------------------------------------------------------------------------------- I suspect (though I don't really know) that the problem is that these virutal hosts have their roots outside the standard /home/httpd/htdocs. A sample section from the apache config is: <VirtualHost wiki> DocumentRoot /home/allym/projects/wiki/twiki/htdocs ServerName wiki ServerAlias wiki ScriptAlias /twiki/bin/ /home/allym/projects/wiki/twiki/bin/ SetEnv WIKIWEBMASTER=hmm@spamme.com SetEnv SMTPMAILHOST=localhost SetEnv SMTPSENDERHOST=hmm.spamme.com <Directory /home/allym/projects/wiki/twiki/bin> AllowOverride None Options None Order allow,deny Allow from all </Directory> </VirtualHost> Reproducible: Always Steps to Reproduce: 1.add virtualhost setting to apache similar to above and restart apache 2. emerge phpmyadmin 3. To workaround, back up your apache.conf, edit the real one, remove any virtualhost settings, emerge phpmyadmin, and copy your good apache.conf back. There is no need to restart apache, just change the config file for the duration of the install. Actual Results: Error as reported above Expected Results: ignored all <virutalhost> sections and only installed in the default host, or installed itself in the first <virtualhost> section. Apache 1.3.28 (mod_perl still ain't great on apache 2.x, plus I have clients to support) vega conf # emerge --info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21) ================================================================= System uname: 2.4.21 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz Gentoo Base System version 1.4.3.10p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" 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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs -userpriv" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio. org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://altair/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex svga tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl ldap cdr"
closing with phpmyadmin-2.5.4