From owner-freebsd-ports@FreeBSD.ORG Wed May 4 21:16:22 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 2696B16A4CE for ; Wed, 4 May 2005 21:16:22 +0000 (GMT) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id E68A243D70 for ; Wed, 4 May 2005 21:16:20 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 8870 invoked from network); 4 May 2005 21:08:12 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 4 May 2005 21:08:12 -0000 Received: (qmail 14415 invoked by uid 89); 4 May 2005 21:27:56 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 4 May 2005 21:27:56 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 2C9CB1141A; Thu, 5 May 2005 00:15:19 +0300 (EEST) Date: Thu, 5 May 2005 00:15:18 +0300 From: Ion-Mihai Tetcu To: Bill Moran Message-ID: <20050505001518.45cc1f4b@it.buh.tecnik93.com> In-Reply-To: <20050504150340.708ad300.wmoran@potentialtech.com> References: <4278F2E9.9010601@charter.net> <20050504150340.708ad300.wmoran@potentialtech.com> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org cc: Jim Campbell Subject: Re: Problem with portsdb X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2005 21:16:22 -0000 On Wed, 4 May 2005 15:03:40 -0400 Bill Moran wrote: > Jim Campbell wrote: > > > Let me preface this by saying that I am a newbie at FreeBSD specifically > > and the *NIX world in general. > > > > I have checked the archives and found problems similar to mine, but > > cannot find what to do to fix the problem. > > > > I have installed FreeBSD 4.11-Stable on my machine. I run "cvsup" to > > update my ports collection. I then run "portsdb -uU" to update the > > INDEX.db file. This gives me two warning messages about duplicate index > > entries for "freeciv-gtk-1.14.2" and "fvwm-imlib-2.4.19". I can run > > "make index" with the same results. However, I can run "make describe" > > with no error messages. If I run "whereis freeciv-gtk" it is found > > whereas "whereis fvwm-imlib" is not found. This has been explained before, see i.e kris@ posts on this subj. on this list. > Because the ports tree changes continuously, it's about a 50/50 shot > (in my opinion, actual numbers may differ) that you'll get a version > that can build a full index. Everything has to be 100% perfect for > an index to build, as far as I can tell. Yes, but the chances are actually more 99.9%. > You'd do much better to "cd /usr/port && make fetchindex" to download > the latest successful index build from the Internet. Not exactly: the index generated by the build cluster is for default ports options while your installed ports can have different dependencies; this affects portversion and friends. Take a look at sysutils/p5-FreeBSd-portindex. > > I believe that I read that the /usr/ports/INDEX file is downloaded with > > "cvsup" (?). If so and I run "portsdb -u" then the INDEX.db file is > > built from the INDEX file that was downloaded. If I do this, I get no > > warning message. I am guessing that "portsdb -uU" rebuilds the INDEX > > file from the contents of the port tree. If so, then something is amiss > > in my port tree. Is this correct? No see kris@ explanations. > > Is this a serious problem that needs fixing? If so, how do I go about > > fixing it? In baby steps, please :=) > > Yes, it' needs fixing, but it's generally something the ports folks have > to take care of, and they have an automated system that warns them when > index isn't building, so they already know. But for him the index is building (as for anyone else right now); that's only a harmless warning. -- IOnut Unregistered ;) FreeBSD "user"