From owner-freebsd-ports@FreeBSD.ORG Fri May 13 18:09:03 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 394BA16A4CE for ; Fri, 13 May 2005 18:09:03 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7FC043D80 for ; Fri, 13 May 2005 18:09:02 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so957072wri for ; Fri, 13 May 2005 11:09:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nU+Qn4gclq70RRjSmuW46FSek6HEDK1oHpt+wTrQICcaFh7gfiNc6TRg+jtoWy5NqSNYCoO6a5F4w++/JngkPr7yl7ge5qcM0BgtFM3DZDoZc1cmK4k1TluYnaJKLYWx7pxw+0kdxqL6TfQ6uDsl3do+5D278EGc/dtIJfTJJ+8= Received: by 10.54.48.76 with SMTP id v76mr1835181wrv; Fri, 13 May 2005 11:09:02 -0700 (PDT) Received: by 10.54.29.77 with HTTP; Fri, 13 May 2005 11:09:02 -0700 (PDT) Message-ID: <790a9fff05051311099b016d2@mail.gmail.com> Date: Fri, 13 May 2005 13:09:02 -0500 From: Scot Hetzel To: Naram Qashat In-Reply-To: <01be01c557cd$2a2299b0$fe02a8c0@metroid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <01be01c557cd$2a2299b0$fe02a8c0@metroid> cc: ports@freebsd.org Subject: Re: Problem in 'make index' using portsdb X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Scot Hetzel List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2005 18:09:03 -0000 On 5/13/05, Naram Qashat 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