From owner-freebsd-ports@FreeBSD.ORG Wed Dec 29 22:18:06 2004 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 1896916A4CE for ; Wed, 29 Dec 2004 22:18:06 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C7F143D4C for ; Wed, 29 Dec 2004 22:18:05 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 16403 invoked by uid 89); 29 Dec 2004 22:25:02 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by 0 with SMTP; 29 Dec 2004 22:25:02 -0000 Received: (qmail 10250 invoked from network); 29 Dec 2004 22:18:03 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (82.76.1.117) by mail.rdsnet.ro with SMTP; 29 Dec 2004 22:18:03 -0000 Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 970116098; Thu, 30 Dec 2004 00:18:01 +0200 (EET) Received: from it.buh.cameradicommercio.ro (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id C2BA71F7; Thu, 30 Dec 2004 00:18:48 +0200 (EET) Date: Thu, 30 Dec 2004 00:18:48 +0200 From: Ion-Mihai Tetcu To: Glenn Sieb Message-ID: <20041230001848.35d7d3cf@it.buh.cameradicommercio.ro> In-Reply-To: <41D31CFC.7030309@wingfoot.org> References: <41D31CFC.7030309@wingfoot.org> X-Mailer: Sylpheed-Claws 0.9.13 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: ports@freebsd.org Subject: [FAQ]Re: Problem building index: 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, 29 Dec 2004 22:18:06 -0000 On Wed, 29 Dec 2004 16:09:16 -0500 Glenn Sieb wrote: > /usr/ports 515 $ make index > \Generating INDEX - please wait..make: don't know how to make describe. Stop > ===> games/xblast-beta failed > *** Error code 1 > 1 error a `ls /usr/ports/games/xblast-beta` will show why. The port got removed, but you most certainly have a README.html in it, who deasn't exist in cvs, so is wasn't deleted by cvsup, so the dir exists but with no Makefile in it `make describe` fails. This quick and un-elegant script will remove those kind of scripts: #!/bin/sh PORTS_CATEG_DIRS=`find /usr/ports/ -type d -maxdepth 1` for CURR_DIR in ${PORTS_CATEG_DIRS} do echo ${CURR_DIR} CURR_PORTS_DIR=`find ${CURR_DIR} -type d -maxdepth 1` for CURR_PORT in ${CURR_PORTS_DIR} do if [ -f ${CURR_PORT}/README.html ] then FILES_NO=`ls -1 ${CURR_PORT} | wc -l | sed '/ /s///g'` if [ "${FILES_NO}" -eq "1" ] then rm -R ${CURR_PORT} echo -e "\t rm'ed ${CURR_PORT}" fi fi done done -- IOnut Unregistered ;) FreeBSD "user"