Subject: pkg/33439: subversion apr dependency fails
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: brad harder <bharder@methodlogic.net>
List: pkgsrc-bugs
Date: 05/08/2006 02:05:00
>Number: 33439
>Category: pkg
>Synopsis: the regex Subversion-base is using to check apr version is incorrect.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 08 02:05:00 +0000 2006
>Originator: brad harder <bharder@methodlogic.net>
>Release: NetBSD 3.0_STABLE
>Organization:
Method Digital Logic
>Environment:
System: NetBSD manchester 3.0_STABLE NetBSD 3.0_STABLE (MANCHESTER2) #25: Thu Apr 20 15:16:42 EDT 2006 root@manchester:/usr/src/sys/arch/i386/compile/MANCHESTER2 i386
Architecture: i386
Machine: i386
>Description:
With latest (as of 7 May 2006) version of apr (0.9.12), subversion-base won't build
checking APR version... 0.9.12
wanted regex is 0\.9\.[5-9] or 1\.
configure: error: invalid apr version found
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/subversion-base
===>
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===> * config.log
===> * /usr/pkgsrc/devel/subversion-base/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/subversion-base
>How-To-Repeat:
update pkgsrc to include latest devel/apr, try to build subversion-base
>Fix:
I modified devel/subversion-base/work/subversion-1.3.1/configure as follows:
manchester# diff -u configure configure.corrected
--- configure 2006-05-07 21:43:07.000000000 -0400
+++ configure.corrected 2006-05-07 21:46:34.000000000 -0400
@@ -2933,9 +2933,9 @@
-APR_VER_REGEX="0\.9\.[5-9]"
+APR_VER_REGEX="0\.9\.[1-9][0-9]"
APR_VER_REGEX_TOO="1\."
-APU_VER_REGEX="0\.9\.[5-9]"
+APU_VER_REGEX="0\.9\.[1-9][0-9]"
APU_VER_REGEX_TOO="1\."
This could be improved to handle more cases, but works in this instance.