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

Bug 61045

Summary: apr-0.9.[5-9] a real dependency of svn 1.1? apr-0.9.4 is latest release
Product: Gentoo Linux Reporter: Jeff Kowalczyk <jeff.kowalczyk>
Component: [OLD] UnspecifiedAssignee: Paul de Vrieze (RETIRED) <pauldv>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeff Kowalczyk 2004-08-20 09:27:16 UTC
I'm trying to build subversion-1.1_rc2 on gentoo linux. I've been having
the same error during config with all subversion 1.1 prereleases. There is
a configure dependency on apache2's apr, version 0.9.5 or higher. The
newest release version is apr-0.9.4.

Here's the make output:

configure: Apache Portable Runtime (APR) library configuration checking
for APR... yes
checking APR version... 0.9.4
wanted regex is 0\.9\.[5-9] or 1\.0
configure: error: invalid apr version found

!!! ERROR: dev-util/subversion-1.1.0_rc2 failed. !!! Function econf, Line
362, Exitcode 1 !!! econf failed

Is the apr-0.9.5 dependency correct? Thanks.

Reproducible: Always
Steps to Reproduce:
Unmask and build subversion-1.1_rc2
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-23 03:55:53 UTC
Don't use the separate apr releases. Use apache2 instead. It has it's own apr. The problem is that the standalone apr releases are very old compared to apache2.

This is also the reason that subversion blocks on the apr lib. There should now be a masked ebuild in the tree for rc2. Please try using it without going around the deptracking ;-)
Comment 2 Jeff Kowalczyk 2004-09-04 11:56:25 UTC
apr-1.0.0 is released (finally!). Simply renaming the 0.9.4 ebuild to 1.0.0 works, and helps satisfy the dependency of subversion 1.1.0_rc*. AFAICT, it is ready to be used with ~x86, its working OK for me.

Note that the programs apr-1-config and apu-1-config may affect other software expecting them without the -1. Should there be a symlink?

Also, there is an additional component apr-iconv listed on the apr home page. What is this component needed for, and should we add a use flag for it?
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2004-09-05 12:39:39 UTC
Great news. Let's hope that this release is for real. I'll guess this would be a great simplification of the subversion ebuild. It would also allow apache2 to be build against apr instead of it's own.
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2005-11-21 01:50:50 UTC
Newer apr releases are out, so this bug has been solved.