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

Bug 389243

Summary: app-text/build-docbook-catalog does not support ROOT
Product: Gentoo Linux Reporter: Zdenek Behan <zbehan>
Component: New packagesAssignee: Gentoo SGML project <sgml>
Status: RESOLVED FIXED    
Severity: normal CC: vapier
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Zdenek Behan 2011-11-01 21:23:16 UTC
Several docbook related ebuilds use build-docbook-catalog as a tool for regenerating the catalogs in postinst section of the ebuild.

If $ROOT != "/", the tool still generates catalogs in /, resulting in an invalid (no) catalog in $ROOT.

Reproducible: Always
Comment 1 Zdenek Behan 2011-11-01 21:24:19 UTC
This is a problem in ChromiumOS, see http://code.google.com/p/chromium-os/issues/detail?id=18036
Comment 2 Mike Gilbert gentoo-dev 2012-03-25 19:38:31 UTC
If you have devised a solution for this, please share.

It looks like it may be as simple as prepending ${ROOT} to the variables at the top.
Comment 4 SpanKY gentoo-dev 2012-03-28 19:32:45 UTC
err, wrong rev list.  this is the right one:

http://sources.gentoo.org/gentoo-src/build-docbook-catalog/build-docbook-catalog?r1=1.17&r2=1.18