Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2004 19:50:33 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ports@freebsd.org
Subject:   Re: Make index || portsdb -uU fails after cvsup
Message-ID:  <p06020414bcc4733233ee@[128.113.24.47]>
In-Reply-To: <20040509231911.GA54086@xor.obsecurity.org>
References:  <BCC2AE80.128AC%tomonage2@gmx.de> <20040508134709.GA35555@xor.obsecurity.org> <p0602040fbcc33d188518@[128.113.24.47]> <20040509024226.GA79746@xor.obsecurity.org> <p06020411bcc4683ea298@[128.113.24.47]> <20040509231911.GA54086@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 4:19 PM -0700 5/9/04, Kris Kennaway wrote:
>On Sun, May 09, 2004, Garance A Drosihn wrote:
>  > At 7:42 PM -0700 5/8/04, Kris Kennaway wrote:
>>  >On Sat, May 08, 2004, Garance A Drosihn wrote:
>>  > > Hmm.  Well, I am baffled here.
>>  >>
>>  >> This week I tried to do a `make index' for the first time in
>>  >> awhile, and it failed for me on both a 4.x and 5.x system.  I
>>  >> do not understand why no one else seems to be seeing this.  The
>>  >> error I see is:
>>  >
>>  >Do you have WRKDIRPREFIX set?  This is known to fail.
>>
>>  I do not.  During the processing of target ${.CURDIR}/${INDEXFILE}
>>  (aka /usr/ports/INDEX-5 ), the environment variables which seem to
>>  be set are:
>
>>  OLDPWD=/usr/obj/usr/ports
>
>The existence of /usr/obj/usr/ports seems to confuse ports.

Ugh.  YES, that seems to be the culprit.  I thought I had gotten
recently gotten rid of /usr/obj/usr/ports on all my systems, but
I must have done something to bring them back.  I should have
noticed that with the last DEBUG statement I had added.

I'll note that with the update I posted earlier, at least
`make index' will not be confused by that directory existing.

If that directory is going to be such a headache, perhaps
something in the ports Makefile should check if that directory
exists, and just error-out if it does.

-- 
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?p06020414bcc4733233ee>