From owner-freebsd-ports@FreeBSD.ORG Wed Aug 20 05:21:56 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 B49031065720 for ; Wed, 20 Aug 2008 05:21:55 +0000 (UTC) (envelope-from jrhett@netconsonance.com) Received: from mail.netconsonance.com (mail.netconsonance.com [198.207.204.4]) by mx1.freebsd.org (Postfix) with ESMTP id C972D8FC19 for ; Wed, 20 Aug 2008 05:21:55 +0000 (UTC) (envelope-from jrhett@netconsonance.com) Received: from [172.16.12.8] (covad-jrhett.meer.net [209.157.140.144]) (authenticated bits=0) by mail.netconsonance.com (8.14.1/8.14.1) with ESMTP id m7K5LpUK077235; Tue, 19 Aug 2008 22:21:51 -0700 (PDT) (envelope-from jrhett@netconsonance.com) X-Virus-Scanned: amavisd-new at netconsonance.com X-Spam-Flag: NO X-Spam-Score: -2.673 X-Spam-Level: X-Spam-Status: No, score=-2.673 tagged_above=-999 required=3.5 tests=[ALL_TRUSTED=-1.44, AWL=-1.234, HTML_MESSAGE=0.001] Message-Id: <55F9EC47-27A2-4FF2-8FDE-C67A1BFE01C4@netconsonance.com> From: Jo Rhett To: Simon Shapiro In-Reply-To: Mime-Version: 1.0 (Apple Message framework v928.1) Date: Tue, 19 Aug 2008 22:21:51 -0700 References: <9D1256D6-090F-4BD7-8C9C-21D664103212@niftywerks.com> <50010284@bs1.sp34.ru> X-Mailer: Apple Mail (2.928.1) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Boris Samorodov , 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, 20 Aug 2008 05:21:56 -0000 Hi, Simon. Can you send me the output of config.status? Also, are you setting the environment variables on the command line, or exporting them in the environment before running make? Can you send a snippet showing your compilation process? (starting with a fresh port extract, naturally) On Jul 22, 2008, at 10:50 PM, Simon Shapiro wrote: > 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 > > -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness