From owner-freebsd-ports@FreeBSD.ORG Mon May 17 12:05:31 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 0FF5616A4CE for ; Mon, 17 May 2004 12:05:31 -0700 (PDT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id E240643D45 for ; Mon, 17 May 2004 12:05:29 -0700 (PDT) (envelope-from itetcu@apropo.ro) Received: (qmail 19827 invoked by uid 89); 17 May 2004 18:58:39 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by 0 with SMTP; 17 May 2004 18:58:39 -0000 Received: (qmail 21597 invoked from network); 17 May 2004 19:05:28 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 17 May 2004 19:05:28 -0000 Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 992E7613F; Mon, 17 May 2004 22:05:12 +0300 (EEST) Received: from localhost (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id B65DE126; Mon, 17 May 2004 22:09:10 +0300 (EEST) Received: from it.buh.cameradicommercio.ro ([127.0.0.1])port 10024) with ESMTP id 10155-02; Mon, 17 May 2004 22:09:10 +0300 (EEST) Received: from it.buh.cameradicommercio.ro (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with SMTP id 4AC682B; Mon, 17 May 2004 22:09:10 +0300 (EEST) Date: Mon, 17 May 2004 22:09:10 +0300 From: Ion-Mihai Tetcu Message-Id: <20040517220910.426bf0f6@it.buh.cameradicommercio.ro> In-Reply-To: <20040517215854.3f084fae@it.buh.cameradicommercio.ro> References: <20040517215854.3f084fae@it.buh.cameradicommercio.ro> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at it.buh.cameradicommercio.ro cc: ports@FreeBSD.org cc: Joseph Kim Subject: Re: "portsdb -Uu" failed 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: Mon, 17 May 2004 19:05:31 -0000 On Mon, 17 May 2004 21:58:54 +0300 Ion-Mihai Tetcu wrote: > On Mon, 17 May 2004 08:54:12 -0700 > "Joseph Kim" wrote: > > > To whom it may concern: > > > > I'm reporting the error messages from 'portsdb -Uu'. > > This problem started lastnight and there were no such problems before. > > > > Here are the said error messages: > > ===================================================================================== > > % sudo portsdb -Uu > > Updating the ports index ... Generating INDEX.tmp - please wait..===> www/opera-devel failed: > > make: don't know how to make describe. Stop > > *** Error code 1 > > 1 error > > www/opera-devel was removed a few days ago, as there isn't currently a > development version of Opera. Probably in that directory you only have a > README.html file which does not exist on cvsup but only on install CDROM > and of course make has no Makefile to get its instructions from. So > delete the hole dir and you will be OK. The following ugly script should find and delete all dirs containing only a README.html for you. #!/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"