From owner-freebsd-ports@FreeBSD.ORG Wed Jul 23 05:50:54 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 637071065673 for ; Wed, 23 Jul 2008 05:50:54 +0000 (UTC) (envelope-from simon@niftywerks.com) Received: from dz-105.nwerks.net (dz-105.nwerks.net [70.86.100.194]) by mx1.freebsd.org (Postfix) with SMTP id 425898FC2D for ; Wed, 23 Jul 2008 05:50:54 +0000 (UTC) (envelope-from simon@niftywerks.com) Received: (qmail 1587 invoked by uid 89); 23 Jul 2008 05:50:53 -0000 Received: from unknown (HELO ?192.168.1.197?) (simon@niftywerks.com@24.22.177.160) by 0 with SMTP; 23 Jul 2008 05:50:53 -0000 In-Reply-To: <50010284@bs1.sp34.ru> References: <9D1256D6-090F-4BD7-8C9C-21D664103212@niftywerks.com> <50010284@bs1.sp34.ru> Mime-Version: 1.0 (Apple Message framework v753.1) Message-Id: From: Simon Shapiro Date: Tue, 22 Jul 2008 22:50:51 -0700 To: Boris Samorodov X-Mailer: Apple Mail (2.753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Jo Rhett , ports@FreeBSD.org, sergei@FreeBSD.org Subject: Re: FreeBSD Port: cfengine-2.2.7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2008 05:50:54 -0000 On Jul 22, 2008, at 10:16 PM, Boris Samorodov wrote: > On Tue, 22 Jul 2008 21:03:22 -0700 Simon Shapiro wrote: > >> Hello there, >> it appears that an old(ish) bug has come back in the cfengine port? >> Its compiling with the oldest existing BDB version found on the >> system. >> Tested on both 7.0 and 6.3 with the same result. > >> Configure says: >> ===> cfengine-2.2.7 depends on shared library: db-4.6.0 - found >> but then 4.0 is linked. >> I have found this to be perfectly repeatable, and reversable (if old >> versions are removed, it works with 4.6). > >> let me know if i can be of further assistance, and thank you for your >> time, > > Current maintainer is rather unresponsive and Jo Rhett (CCed) is very > active and responsive about this port. > > Jo, can you help here? Thanks! > > > WBR > -- > Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD committer, http://www.FreeBSD.org The Power To Serve Thank you Boris. Some more info from my digging... forgive my complete unfamiliarity, this is deeper than I usually venture into the workings of the ports tree. As far as I can tell, the ports tree makefile (ports/sysutils/ cfengine/Makefile) gets it right, it appears that environment variables passed to the cfengine configure script (ports/sysutils/ cfengine/work/cfengine-2.2.7/configure) are ignored. That is, cfengine seems to want the command line argument --with- berkleydb= and we seem to be passing the information as an environment variable, which quickly gets overwritten with the string 'default' The evidence being that the first place i see any reference to the *old* bdb, is when the cfengine package's configure script says "checking for BerkeleyDB location in default... Found header in /usr/ local/include/db4" -Simon Shapiro