Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175246 - EBUILD_PHASE missing depend
Summary: EBUILD_PHASE missing depend
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: High normal
Assignee: Package Manager Specification
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-19 16:40 UTC by Petteri Räty (RETIRED)
Modified: 2017-06-07 14:41 UTC (History)
0 users

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 Petteri Räty (RETIRED) gentoo-dev 2007-04-19 16:40:40 UTC
virtualx.eclass:if [[ ${EBUILD_PHASE/depend} == "${EBUILD_PHASE}" ]] ; then
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2007-04-30 18:49:13 UTC
# Brian Harring <ferringb@gentoo.org> 11/04/2004
# do not disable the sandbox during the depend phase.
# ebuilds shouldn't touch the fs during depend phase, nor screw with the sandbox.
#
if [[ ${EBUILD_PHASE/depend} == "${EBUILD_PHASE}" ]] ; then
    [[ -z ${SANDBOX_DISABLED} ]] && export SANDBOX_DISABLED="0" || :
fi

I'd say we can remove that safely once we know that no ebuild explicity disables the sandbox globally. Opinions?

Comment 2 Brian Harring (RETIRED) gentoo-dev 2011-05-28 07:58:28 UTC
python.eclass and apache.eclass are now the users of this; no other ebuilds from a quick scan (so no longer xorg, now other uses to block global scope  invocation).

Suspect this should just be documented as exported during metadata regen...
Comment 3 Ulrich Müller gentoo-dev 2017-06-07 14:41:41 UTC
(In reply to Brian Harring from comment #2)
> python.eclass and apache.eclass are now the users of this; [...]

These eclasses are long gone. Closing.