Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24871 - emerge dev-php/turck-mmcache fails
Summary: emerge dev-php/turck-mmcache fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Stuart Herbert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-20 04:46 UTC by Narada Sage
Modified: 2003-07-20 09:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mmcache.log (mmcache.log,16.48 KB, text/plain)
2003-07-20 04:46 UTC, Narada Sage
Details
patch to the turck-mmcache ebuild (turck-mmcache.sandbox.patch,229 bytes, patch)
2003-07-20 05:59 UTC, Mike Gardiner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Narada Sage 2003-07-20 04:46:05 UTC
$ 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"
Comment 1 Narada Sage 2003-07-20 04:46:41 UTC
Created attachment 14753 [details]
mmcache.log
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2003-07-20 05:48:42 UTC
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}).

Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2003-07-20 05:59:46 UTC
Created attachment 14768 [details, diff]
patch to the turck-mmcache ebuild
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2003-07-20 06:33:56 UTC
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 
Comment 5 Narada Sage 2003-07-20 08:40:18 UTC
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.
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2003-07-20 09:50:48 UTC
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