Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153322 - subversion should check apr-util's berkdb use flag
Summary: subversion should check apr-util's berkdb use flag
Status: RESOLVED DUPLICATE of bug 114481
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-29 10:51 UTC by Michael Hordijk
Modified: 2006-10-29 13:09 UTC (History)
0 users

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


Attachments
dev-util/subversion-1.4.0.ebuild patch (subversion-1.4.0.ebuild.patch,608 bytes, patch)
2006-10-29 10:52 UTC, Michael Hordijk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hordijk 2006-10-29 10:51:52 UTC
When subversion's berkdb use flag is set, it requires apr-util to be compiled with berkdb as well.  Failure is pretty early in the configure stage and pretty clear, but the ebuild should be checking this dependency in pkg_setup so we don't get an error in configure.

Attaching patch.
Comment 1 Michael Hordijk 2006-10-29 10:52:36 UTC
Created attachment 100729 [details, diff]
dev-util/subversion-1.4.0.ebuild patch
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-29 11:04:18 UTC

*** This bug has been marked as a duplicate of 114481 ***
Comment 3 Michael Hordijk 2006-10-29 13:09:26 UTC
I'm not sure how this is a dup of 114481, espcially as 114481 is marked as INVALID.

1. User has apr-util intalled (with no berkdb, say from apache installation)
2. User set berkdb in /etc/make.conf
3. Emerge of subversion fails during configure.

If berkdb is set for subversion, it apr-util MUST be built with berkdb USE flag.

Reasons I feel this should be fixed the ebuild rather than letting configure error out:

1. We do this sort of consistancy checking all over portage.
2. Provides a cleaner error for the end user with clear steps for resolution.