Date: Wed, 10 Aug 2011 19:48:25 GMT From: Kurt Lidl <kurt.lidl@cello.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/159656: bsd.database.mk fails to locate installed bdb51 library Message-ID: <201108101948.p7AJmPra062685@red.freebsd.org> Resent-Message-ID: <201108101950.p7AJoAOZ008239@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108101948.p7AJmPra062685>