From owner-freebsd-stable@FreeBSD.ORG Tue Sep 5 13:55:55 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAB0916A4E2 for ; Tue, 5 Sep 2006 13:55:55 +0000 (UTC) (envelope-from chris@chris-j.net) Received: from mail1.toplevel.net.au (mail1.toplevel.net.au [150.101.78.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12F5D43D49 for ; Tue, 5 Sep 2006 13:55:54 +0000 (GMT) (envelope-from chris@chris-j.net) Received: from mail1.toplevel.net.au (localhost [127.0.0.1]) by mail1.toplevel.net.au (Postfix) with ESMTP id 341074516B; Tue, 5 Sep 2006 23:25:53 +0930 (CST) X-Virus-Scanned: amavisd-new at toplevel.net.au Received: from [127.0.0.1] (chris1.joneshome.net [192.168.0.103]) by mail1.toplevel.net.au (Postfix) with ESMTP id 9E0D64509B; Tue, 5 Sep 2006 23:25:49 +0930 (CST) Message-ID: <44FD8216.8070100@chris-j.net> Date: Tue, 05 Sep 2006 23:26:38 +0930 From: Chris Jones User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Ron Tarrant References: <44FD7AD2.5010000@sympatico.ca> In-Reply-To: <44FD7AD2.5010000@sympatico.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Ports Update: Failed to Generate INDEX X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 13:55:55 -0000 Ron Tarrant wrote: > Hi all, > > While trying to update ports for FreeBSD 6.1-STABLE using this command: > > /usr/local/sbin/portsdb -Uu > > I got the following error (please see below for the process leading up > to this): > > Updating the ports index ... Generating INDEX.tmp - please > wait.."Makefile", lin > e 33: Could not find > /usr/ports/japanese/gnomelibs/../../x11/gnomelibs/Makefile > "/usr/ports/Mk/bsd.port.mk", line 1886: Malformed conditional > (${X_WINDOW_SYSTEM > :L} == xfree86-3) > "/usr/ports/Mk/bsd.port.mk", line 1951: Malformed conditional > (${PERL_LEVEL} >= > 500600) > "/usr/ports/Mk/bsd.port.mk", line 1960: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 2200: Malformed conditional > (${PREFIX} == ${X1 > 1BASE_REL} || defined(USE_X_PREFIX)) > "/usr/ports/Mk/bsd.port.mk", line 2203: Malformed conditional > (${X_WINDOW_SYSTEM > :L} == xfree86-3) > "/usr/ports/Mk/bsd.port.mk", line 2208: if-less elif > "/usr/ports/Mk/bsd.port.mk", line 2210: if-less else > "/usr/ports/Mk/bsd.port.mk", line 2212: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 2213: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 2864: Malformed conditional > (${PREFIX} == /usr > ) > "/usr/ports/Mk/bsd.port.mk", line 2866: if-less else > "/usr/ports/Mk/bsd.port.mk", line 2868: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 2956: Malformed conditional > (${PREFIX} == /usr > ) > "/usr/ports/Mk/bsd.port.mk", line 2958: if-less else > "/usr/ports/Mk/bsd.port.mk", line 2960: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 5503: Malformed conditional > ((${PREFIX} != ${L > OCALBASE_REL} && ${PREFIX} != ${X11BASE_REL} && ${PREFIX} != > ${LINUXBASE_REL} && > ${PREFIX} != "/usr")) > "/usr/ports/Mk/bsd.port.mk", line 5508: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 5992: if-less endif > make: fatal errors encountered -- cannot continue > ===> japanese/gnomelibs failed > *** Error code 1 > 1 error > > ******************************************************************** > Before reporting this error, verify that you are running a supported > version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you > have a complete and up-to-date ports collection. (INDEX builds are > not supported with partial or out-of-date ports collections -- in > particular, if you are using cvsup, you must cvsup the "ports-all" > collection, and have no "refuse" files.) If that is the case, then > report the failure to ports@FreeBSD.org together with relevant > details of your ports configuration (including FreeBSD version, > your architecture, your environment, and your /etc/make.conf > settings, especially compiler flags and WITH/WITHOUT settings). > > Note: the latest pre-generated version of INDEX may be fetched > automatically with "make fetchindex". > ******************************************************************** > > *** Error code 1 > > Stop in /usr/ports. > *** Error code 1 > > Stop in /usr/ports. > failed to generate INDEX! > portsdb: index generation error > > > Process: > > cd /usr/ports/net/cvsup > make install clean > (reboot) > cp /usr/share/examples/cvsup/ports-supfile /root/ > > I then edited /root/ports-supfile and added the host: > > *default host=cvsup12.FreeBSD.org > > At first, I commented out all the ports for languages I don't > understand such as Russian, Japanese, etc. But I got a similar error, > so I commented out all the individual ports and uncommented ports-all > to do a complete job of it. That's when I ran portsdb -Uu and got the > above error. > > This is my first time doing this, so I'm sure I've missed something > somewhere. > > -Ron T. Instead of regenerating the INDEX, why not just download it? # cd /usr/ports # make fetchindex Regards, Chris Jones -- Chris Jones chris@chris-j.net