Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2004 19:33:23 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Kent Stewart <kstewart@owt.com>, freebsd-ports@freebsd.org
Cc:        ports@freebsd.org
Subject:   Re: Make index || portsdb -uU fails after cvsup
Message-ID:  <p06020412bcc46aa632ed@[128.113.24.47]>
In-Reply-To: <200405082024.26051.kstewart@owt.com>
References:  <BCC2AE80.128AC%tomonage2@gmx.de> <20040508134709.GA35555@xor.obsecurity.org> <p0602040fbcc33d188518@[128.113.24.47]> <200405082024.26051.kstewart@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 8:24 PM -0700 5/8/04, Kent Stewart wrote:
>On Saturday 08 May 2004 07:36 pm, Garance A Drosihn wrote:
>  > The error I see is:
>  >
>>  (10) make index
>>  Generating INDEX - please wait..make: don't know how to make
>>  _accessibility.describe. Stop
>>  *** Error code 2
>  > make: don't know how to make _arabic.describe. Stop
>  > *** Error code 2
>  > 2 errors
>>
>
>Just as a test, I tried doing a "make describe" from /usr/ports/arabic
>and had no problem. I did a rm -rf * and cvsup'ed and had no problem
>doing the make describe.

Note that I can do the same thing.  If I:
      cd /usr/ports/arabic
      make describe

then it works perfectly fine.  However, that is not what the above
error message complains about.  The error says:

     don't know how to make _arabic.describe.
                            ^^^^^^^^^^^^^^^^

and "_arabic.describe" *is* the target which is bsd.ports.subdir.mk
is trying to make.  And it is trying to make that in /usr/ports, not
in /usr/ports/arabic, because there is no 'cd' in the section which
does the   '@${MAKE} -B ${i:S/^/_/:S/$/.describe/} ...'

In fact, if I put a debugging printf in that target, it is:

    making _accessibility.describe in /usr/obj/usr/ports

I don't see how that can possibly work for anyone.

Also note that the section of Mk/bsd.port.subdir.mk that I changed
is not executed for the plain `make describe'.  `make index' does a
`make -j${INDEX_JOBS} INDEX_TMPDIR=$${tmpdir} BUILDING_INDEX=1 describe',
and the code I changed to fix the problem is in the section for
defined(BUILDING_INDEX).

>So, the first questions that come to mind are did you cvsup ports-all
>and do you have any refuses.

This is my cvsup file:

*default tag=.
*default host=cvsup12.freebsd.org
*default prefix=/usr
*default base=/usr/ports-Cetc
*default release=cvs delete use-rel-suffix
*default umask=022
ports-all

There is no refuse file.  I used to refuse some categories, but that
always caused problems with 'make index'.  And I rechecked just now
to make sure I have no refuses.  I ran down the '/usr/ports-Cetc'
directory which I have specified in my cvsup file.  I can also
remove /usr/ports/Makefile, /usr/ports/Mk/*mk, and /usr/ports/arabic,
and when I 'cvsup' I get new versions of all of them.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



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