Date: Mon, 17 May 2004 13:17:10 -0700 From: "Joseph Kim" <kks@stanford.edu> To: <itetcu@apropo.ro> Cc: ports@FreeBSD.org Subject: RE: "portsdb -Uu" failed Message-ID: <NHEFKMCMPICCEIOEIJBBCECHCFAA.kks@stanford.edu> In-Reply-To: <20040517220910.426bf0f6@it.buh.cameradicommercio.ro>
next in thread | previous in thread | raw e-mail | index | archive | help
Many thanks for your prompt response! Yes, "README.html" caused the problem and your suggestion has solved my problem exactly & completely. With Regards, Joseph -- STMicroelectronics Researcher-in-Residence Stanford Networking Research Center Voice: (650) 736-2295 Packard Building, Room #073 Fax: (509) 562-7705 Stanford, CA 94305 E-mail: kks@stanford.edu Home Page: http://www.stanford.edu/~kks/ -----Original Message----- From: itetcu@apropo.ro [mailto:itetcu@apropo.ro] Sent: Monday, May 17, 2004 12:09 PM Cc: kks@stanford.edu; ports@FreeBSD.org Subject: Re: "portsdb -Uu" failed On Mon, 17 May 2004 21:58:54 +0300 Ion-Mihai Tetcu <itetcu@apropo.ro> wrote: > On Mon, 17 May 2004 08:54:12 -0700 > "Joseph Kim" <kks@stanford.edu> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NHEFKMCMPICCEIOEIJBBCECHCFAA.kks>