Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389243 - app-text/build-docbook-catalog does not support ROOT
Summary: app-text/build-docbook-catalog does not support ROOT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-01 21:23 UTC by Zdenek Behan
Modified: 2012-03-28 19:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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