Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2004 00:18:48 +0200
From:      Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To:        Glenn Sieb <ges+lists@wingfoot.org>
Cc:        ports@freebsd.org
Subject:   [FAQ]Re: Problem building index:
Message-ID:  <20041230001848.35d7d3cf@it.buh.cameradicommercio.ro>
In-Reply-To: <41D31CFC.7030309@wingfoot.org>
References:  <41D31CFC.7030309@wingfoot.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Dec 2004 16:09:16 -0500
Glenn Sieb <ges+lists@wingfoot.org> 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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041230001848.35d7d3cf>