ports/159656: bsd.database.mk fails to locate installed bdb51 library

Kurt Lidl kurt.lidl at cello.com
Wed Aug 10 19:50:11 UTC 2011


>Number:         159656
>Category:       ports
>Synopsis:       bsd.database.mk fails to locate installed bdb51 library
>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:   Wed Aug 10 19:50:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Kurt Lidl
>Release:        8.2-RELEASE
>Organization:
Cello Software, LLC
>Environment:
FreeBSD dev00.cello.com 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #0: Fri May 20 10:05:52 EDT 2011     lidl at dev00.cello.com:/usr/obj/usr/src/sys/CELLO  i386

>Description:
On a freshly installed machine, with an up-to-date version of
the ports tree (fetched via "portsnap fetch && portsnap extract",
with a previously empty filesystem mounted as /usr/ports, I see
the following.

I install /usr/ports/databases/db51:

cd /usr/ports/databases/db51
make WITH_SQL=yes && make WITH_SQL=yes install clean

When I build software that needs a bdb library, the software
fails to locate the installed bdb51 library, and then attempts
to install something else, like bdb41 or bdb42.

I think the code in /usr/ports/Mk/bsd.database.mk isn't figuring
out that I have bdb51 installed on the machine:

This has been happening for several weeks now, I had assumed it was
a temporary failure in the ports tree, but it's pretty clear that
the problem isn't widely known.

>How-To-Repeat:
On a freshly installed machine:

portsnap fetch && portsnap extract
cd /usr/ports/databases/db51
make WITH_SQL=yes && make WITH_SQL=yes install clean
cd /usr/ports/devel/subversion
make

Notice that bdb42 is downloaded and installed.

If the "make" line is given as "make WITH_BDB_VER=51", the
installed bdb51 libraries will used.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list