Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 153322

Summary: subversion should check apr-util's berkdb use flag
Product: Gentoo Linux Reporter: Michael Hordijk <hoffbrinkle>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-util/subversion-1.4.0.ebuild patch

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.