ports/125372: Build of devel/subversion, devel/subversion-devel and devel/subversion-freebsd fails
Paul Shepel
Paul.Shepel at gmail.com
Mon Jul 7 15:40:02 UTC 2008
>Number: 125372
>Category: ports
>Synopsis: Build of devel/subversion, devel/subversion-devel and devel/subversion-freebsd fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 07 15:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Paul Shepel
>Release: FreeBSD 7.0-RELEASE-p2 i386
>Organization:
Asters Attorneys at Lawaster
>Environment:
System: FreeBSD shepelp 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
When I try to build devel/subversion I've got an error
Error: shared library "apr-1.2" does not exist
But currently installed version of apr is 1.3
# pkg_info | grep apr
apr-gdbm-db42-1.3.2 The Apache Group's Portability Library
>How-To-Repeat:
# cd /usr/ports/devel/subversion/
# make clean && make
>Fix:
To make it compile I've just changed lines "LIB_DEPENDS+= apr-1.2:${PORTSDIR}/devel/apr-svn" and "LIB_DEPENDS+= apr-1.2:${PORTSDIR}/devel/apr" in devel/subversion/Makefile with "LIB_DEPENDS+= apr-1.3:${PORTSDIR}/devel/apr-svn" and "LIB_DEPENDS+= apr-1.3:${PORTSDIR}/devel/apr"
Patch attached with submission follows:
--- Makefile 2008-06-30 13:00:04.000000000 +0300
+++ Makefile.good 2008-07-07 18:09:08.000000000 +0300
@@ -108,11 +108,11 @@
APR_CONFIG= apr-1-config
APU_CONFIG= apu-1-config
.if defined(WITH_BDB)
-LIB_DEPENDS+= apr-1.2:${PORTSDIR}/devel/apr-svn
+LIB_DEPENDS+= apr-1.3:${PORTSDIR}/devel/apr-svn
APR_PORT= devel/apr-svn
OPT_NAME= APR_UTIL_WITH_BERKELEY_DB=yes
.else
-LIB_DEPENDS+= apr-1.2:${PORTSDIR}/devel/apr
+LIB_DEPENDS+= apr-1.3:${PORTSDIR}/devel/apr
APR_PORT= devel/apr
.endif
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list