Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 14:21:03 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc:        ports@freebsd.org, Vsevolod Stakhov <vsevolod@FreeBSD.org>
Subject:   USE_BDB inconsistency
Message-ID:  <20060131132103.GC91568@pcwin002.win.tue.nl>
In-Reply-To: <20051111133654.53679f43@it.buh.tecnik93.com>
References:  <200511111029.jABATMW9087903@repoman.freebsd.org> <20051111133654.53679f43@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Fri, Nov 11, 2005 at 01:36:54PM +0200, Ion-Mihai Tetcu wrote:
> Can we be _consistent_ in respect of the *_DATABASE* variables ? E.g.
> either WITH_DATABASE_VER= nn or USE_DATABASE= nn as user settable
> option; BROKEN_WITH_DATABASE (it should be a enumeration and work for
> all databases); WANT_DATABASE_VERSION= nn; DEFAULT_DATABASE_VER= nn.
> 
> Why is the default BDB version 4.1 (and not 4.3) ?

I ran into this today. At the very least create a WITH_BDB=42+ instead
of the USE_BDB=42+ that it is now, because I'm still not sure that I
should set a USE_* variable myself; I think this is the only one for
which that is allowed.

Furthermore, I think something is broken:

%%%
[stijn@pcwin002] <~> sudo env PORTSDIR=/net/freebsd/ports portupgrade -Nfp -O -m 'USE_BDB=42+' py24-spambayes
--->  Reinstalling 'py24-spambayes-1.0.4' (mail/py-spambayes)
--->  Building '/net/freebsd/ports/mail/py-spambayes' with make flags: USE_BDB=42+
===>  Cleaning for python-2.4.2
===>  Cleaning for db42-4.2.52_4
===>  Cleaning for py24-bsddb-2.4.2_2
===>  Cleaning for libtool-1.5.22_1
===>  Cleaning for db41-4.1.25_3
===>  Cleaning for py24-spambayes-1.0.4
===>  Vulnerability check disabled, database not found
===>  Extracting for py24-spambayes-1.0.4
[...]
===>   Registering installation for py24-spambayes-1.0.4
make: Max recursion level (500) exceeded.: Resource temporarily unavailable
===>  Building package for py24-spambayes-1.0.4
make: Max recursion level (500) exceeded.: Resource temporarily unavailable
[...]
%%%

Note the two db libraries in the 'Cleaning' stage, and the infinite make
recursion.

Or am I going about this the wrong way, and do I need to set some other
variable in order to compile with BDB 4.2 ?

--Stijn

-- 
Before enlightenment
Chop wood, carry water
After enlightenment
Chop wood, carry water



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060131132103.GC91568>