$ emerge turck-mmcache Result attached in log file (mmcache.log) $ emerge info Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) III Mobile CPU 1200MHz GENTOO_MIRRORS="http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://194.83.57.3/sites/www.ibiblio.org/gentoo/ http://212.219.56.152/sites/www.ibiblio.org/gentoo/ http://194.83.57.11/sites/www.ibiblio.org/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi encode foomaticdb gif jpeg mad mmx mpeg ncurses pdflib png quicktime truetype xml2 xmms xv zlib directfb berkdb slang readline bonobo svga tcltk java mysql X sdl tcpd pam libwww ssl perl python imlib oggvorbis gtk motif opengl cdr aalib apache2 dvd fbcon imap kerberos maildir md5sum nptl pcmcia pnp sse tiff usb xml -arts -crypt -cups -gpm -kde -libg++ -mikmod -nls -qt -spell -gtkhtml -gdbm -guile -esd -gnome -mozilla" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" FEATURES="sandbox ccache buildpkg fixpackages manifest strict"
Created attachment 14753 [details] mmcache.log
I emailed the devlist as well, but it's the mkdir /var/cache/mmcache, and then the two ownership/permissions lines which are causing problems as they're attempting to write outside of the sandbox (more concretely, the image, which has it's root at ${D}).
Created attachment 14768 [details, diff] patch to the turck-mmcache ebuild
I've committed Mike's patch. Please resync and give it a go. Look for v1.4 of the ebuild file - that's the one with Mike's patch in it. Stu
It works just fine now. So this bug can be closed now. Incidentally, where can I get a bulky php example that would allow me to test the differences in speed between cached and non-cached php? At the moment, I can't really tell whether it has made any difference.
I think the best way to test the benefits of caching is to simulate load on the server. Take a look at turck-mmcache.sourceforge.net. They posted some benchmarks; maybe they have a link (or at least information) about how they tested the performance. Stu