Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 12:21:43 GMT
From:      Martijn Broeders <m.broeders@hublabs.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/88029: portsdb -Uu fails when you have WITH_BDB_43=yes in /etc/make.conf
Message-ID:  <200510261221.j9QCLhfi054706@www.freebsd.org>
Resent-Message-ID: <200510261230.j9QCUIw5001857@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88029
>Category:       ports
>Synopsis:       portsdb -Uu fails when you have WITH_BDB_43=yes in /etc/make.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 26 12:30:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Martijn Broeders
>Release:        5.4
>Organization:
HUB Uitgevers
>Environment:
FreeBSD hublabs.hub.nl 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Wed Jul 27 18:57:10 CEST 2005     root@hublabs.hub.nl:/usr/obj/usr/src/sys/HUBLABS  i386              
>Description:
I use portupgrade to upgrade my ports after a cvsup of the ports-tree and a 'portsdb -Uu'.

Portupgrade is installed with the BDB=4 flag and the dependency database/ruby-bdb port is installed with the WITH_BDB_43=yes flag. For future ports to be installed with a db4x dependency, I added WITH_BDB_43=yes in my /etc/make.conf, to make sure the database/db43 port is installed.

Now, since a few days, the 'portsdb -Uu' fails on the security/doorman port. The following error appears:

Generating INDEX.tmp - please wait.."Makefile", line 41: WITH_BDB_VER must be one between 2, 3, 4, 41 and 42
===> security/doorman failed
*** Error code 1

It is clear that the security/doorman port cannot handle a WITH_BDB_43=yes in the /etc/make.conf.
              
>How-To-Repeat:
Put WITH_BDB_43=yes in the /etc/make.conf and do a 'portsdb -Uu'              
>Fix:
Two options:

1) add db43 support to the security/doorman port, for example this diff of the Makefile:

39a40,41
> .elif ${WITH_BDB_VER} == 43
> LIB_DEPENDS=  db-4.3.29:${PORTSDIR}/databases/db43
41c43
< .error WITH_BDB_VER must be one between 2, 3, 4, 41 and 42
---
> .error WITH_BDB_VER must be one between 2, 3, 4, 41, 42 and 43



2) remove WITH_BDB_43=yes from the /etc/make.conf
              
>Release-Note:
>Audit-Trail:
>Unformatted:



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