Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 136536

Summary: www-servers/gorg doesn't cache /doc/$LANG/overview.xml
Product: Gentoo Linux Reporter: Jan Kundrát (RETIRED) <jkt>
Component: Current packagesAssignee: Xavier Neys (RETIRED) <neysx>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jan Kundrát (RETIRED) gentoo-dev 2006-06-12 05:59:01 UTC
www-servers/gorg-0.6.1 USE="apache examples fastcgi -mysql" doesn't seem to cache result of XSLT processing of /doc/{en,cs}/overview.xml. Haven't tried other languages, cache model is "flat" (all files in one directory), the result is the same with cacheTree = 1. Other files are cached just fine.
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2006-06-12 06:16:47 UTC
Yes, it does:

Jun 12 15:10:05 [gorg] DEBUG Cache hit on /doc/en/overview.xml failed: (Empty/No meta file)_
Jun 12 15:10:08 [gorg] DEBUG Cached /doc/en/overview.xml, mstat=#<File::Stat dev=0x812, ino=16310, mode=0100644, nlink=2, uid=81, gid=81, rdev=0x0, size=7057, blksize=4096, blocks=16, atime=Mon Jun 12 15:10:08 CEST 2006, mtime=Mon Jun 12 12:19:16 CEST 2006, ctime=Mon Jun 12 15:10:08 CEST 2006>_

I guess your setup makes it access remote files. See gorg's changelog.
Most likely cause is docs whose DTD looks like http://www.gentoo.org/dtd/...
Do you really need a link to our doc tips'n'tricks ? ;-)
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2006-06-12 07:24:49 UTC
There you go when you setup gorg on another box and forget to update the catalog. Thanks, works nice :)