Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238129 - dev-util/git useflag logic broken for subversion
Summary: dev-util/git useflag logic broken for subversion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Fernando J. Pereda (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-19 16:59 UTC by Elias Pipping
Modified: 2008-11-24 01:10 UTC (History)
2 users (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 Elias Pipping 2008-09-19 16:59:58 UTC
When emerging git with USE="subversion -perl", what happens is that subversion
is not a dependency, but

  built_with_use dev-util/subversion perl

is called in pkg_postinst(), resulting in an error if subversion is not installed.

With USE="subversion -perl", the most reasonable action would be to error immediately,
informing the user that USE=perl needs to be specified as well. It's non-obvious that
git-svn requires perl after all (from a user's perspective).
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-11-24 01:10:52 UTC
Fixed in CVS.