Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294651 - [Tracker] Packages using ${EDITOR} at build time
Summary: [Tracker] Packages using ${EDITOR} at build time
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords: Tracker
Depends on: 286017 294759 294760 294762 294764 294766
Blocks:
  Show dependency tree
 
Reported: 2009-11-25 22:26 UTC by Ulrich Müller
Modified: 2010-10-11 20:12 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 Ulrich Müller gentoo-dev 2009-11-25 22:26:10 UTC
Some packages are doing things like "econf --with-editor=${EDITOR}", thus creating an implicit (i.e. missing from RDEPEND) dependency on the ${EDITOR} package. If that editor package is later removed, or for binpkgs installed on another system, breakage will result.

Solution: There is now a package app-editors/gentoo-editor. This will install an auxiliary /usr/libexec/gentoo-editor script that calls ${EDITOR} (determined from the environment or from the system profile) at run time.

Necessary ebuild changes:
- Add app-editors/gentoo-editor to {,R}DEPEND.
- Specify /usr/libexec/gentoo-editor instead of ${EDITOR}.

See >=app-admin/sudo-1.7.2_p1-r1 for an example ebuild.
Comment 1 Ulrich Müller gentoo-dev 2010-10-11 20:12:45 UTC
Looks like all blocking bugs have been fixed. Closing.