Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114946 - app-text/sgml-common-0.6.3-r4 fails to build if $ROOT is set
Summary: app-text/sgml-common-0.6.3-r4 fails to build if $ROOT is set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 116757 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-08 19:09 UTC by Philippe Troin
Modified: 2006-01-17 12:53 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 Philippe Troin 2005-12-08 19:09:19 UTC
The culprit is this stanza in pkg_postinst():

        if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ]
        then
                einfo "Installing Catalogs..."
                ...
        else
                ewarn "install-catalog not found! Something went wrong!"
                die
        fi
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2006-01-13 01:48:31 UTC
*** Bug 116757 has been marked as a duplicate of this bug. ***
Comment 2 Leonardo Boshell (RETIRED) gentoo-dev 2006-01-14 06:06:05 UTC
This required some changes in sgml-common's ebuild and the install-catalog script, which hopefully take into account multiple $ROOT values correctly now. Please re-sync your trees and re-emerge sgml-common to test it. Thanks.

agaffney,
I would be glad to hear how it goes in your case using the installer.
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2006-01-17 12:53:05 UTC
I ended up switching to chroot'ing before running each 'ebuild' step simply because I figured I would run into this problem with many other packages. I'd rather take the slight speed hit of chroot'ing 4 times per package than filing a ton of bugs for proper ROOT support :P