Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2005 13:09:02 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Naram Qashat <cyberbotx@cyberbotx.com>
Cc:        ports@freebsd.org
Subject:   Re: Problem in 'make index' using portsdb
Message-ID:  <790a9fff05051311099b016d2@mail.gmail.com>
In-Reply-To: <01be01c557cd$2a2299b0$fe02a8c0@metroid>
References:  <01be01c557cd$2a2299b0$fe02a8c0@metroid>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/13/05, Naram Qashat <cyberbotx@cyberbotx.com> wrote:
> I was trying to rebuild the ports database using portsdb after getting th=
e
> lastest version of the ports tree via CVSup.  It failed on me, and here's
> what I get:
>=20
> [samus /usr/local/etc/rc.d]# portsdb -fU
> Updating the ports index ... Generating INDEX.tmp - please
> wait.."Makefile",
> line 45: WITH_BDB_VER must be one between 3, 4, 41 or 42
> =3D=3D=3D> dns/fastresolve failed
> *** Error code 1
> "/usr/ports/Mk/bsd.port.mk", line 4847: warning: duplicate script for
> target
> "add-plist-post" ignored
> 1 error
>=20

> And here's my make.conf (I haven't exactly cleaned it up since I made it
> yet...):
>=20
:=20
> # ports options
> BATCH=3Dyes
> WITHOUT_GNOME=3Dyes
> WITH_OPTIMIZED_CFLAGS=3Dyes
> WITH_BDB_VER=3D43
> WITH_MYSQL_VER=3D41
> WITH_OPENSSL_PORT=3Dyes
> WITH_OPTIMIZED_BYTESWAP=3Dyes
> WITH_DVD_DEVICE=3D"/dev/acd0"
>=20
The problem is that the dns/fastresolve port doesn't know how to build
with Berkley DB 4.3 (WITH_BDB_VER).

Building the ports INDEX file with these changes in your
/etc/make.conf haven't been tested, and are unsupported.  You'll need
to do the following:

mv /etc/make.conf /etc/make.conf.old
portsdb -fU
mv /etc/make.conf.old /etc/make.conf

You could also try fixing the dns/fastresolve port to build with
Berkley DB 4.3, but you'll find that another port will break.

Someone should consolidate these Berkley DB selection into a
bsd.berkleydb.mk file someday.

Scot



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