From owner-freebsd-ports@FreeBSD.ORG Wed May 4 19:04:01 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 5C43A16A4CE for ; Wed, 4 May 2005 19:04:01 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E30B743D31 for ; Wed, 4 May 2005 19:04:00 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from localhost (24-53-250-148.pittpa.adelphia.net [24.53.250.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internet.potentialtech.com (Postfix) with ESMTP id DA81B69A22; Wed, 4 May 2005 15:03:41 -0400 (EDT) Date: Wed, 4 May 2005 15:03:40 -0400 From: Bill Moran To: Jim Campbell Message-Id: <20050504150340.708ad300.wmoran@potentialtech.com> In-Reply-To: <4278F2E9.9010601@charter.net> References: <4278F2E9.9010601@charter.net> Organization: Potential Technologies X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org 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 19:04:01 -0000 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. 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. You'd do much better to "cd /usr/port && make fetchindex" to download the latest successful index build from the Internet. > 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? > > 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. -- Bill Moran Potential Technologies http://www.potentialtech.com