From owner-freebsd-ports@FreeBSD.ORG Sat May 8 19:36:51 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 2658516A4CE for ; Sat, 8 May 2004 19:36:51 -0700 (PDT) Received: from smtp0.server.rpi.edu (smtp0.server.rpi.edu [128.113.53.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E7E943D4C for ; Sat, 8 May 2004 19:36:50 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp0.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i492amEd027611; Sat, 8 May 2004 22:36:49 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20040508134709.GA35555@xor.obsecurity.org> References: <20040508134709.GA35555@xor.obsecurity.org> Date: Sat, 8 May 2004 22:36:47 -0400 To: Kris Kennaway From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) cc: ports@freebsd.org Subject: Re: Make index || portsdb -uU fails after cvsup 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: Sun, 09 May 2004 02:36:51 -0000 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: (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 Now that I've made it to the weekend and no one else has reported this, I started to look into it. From what I can see, it seems to me that update v1.53 should break `make index' for everyone, the same way it's broken for me. And yet, that change was commited over a month ago. I can not believe I'm the first person to do a make index in over a month! I'll also admit that I do not quite understand what that section of the makefile is doing, but I changed it to something which seemed more understandable to me, and `make index' now seems to be working for me. The quick change I made was: --- bsd.port.subdir.mk.orig Fri Apr 2 02:25:23 2004 +++ bsd.port.subdir.mk Sat May 8 21:39:42 2004 @@ -209,7 +209,9 @@ .for i in ${SUBDIR} describe.$i: - @${MAKE} -B ${i:S/^/_/:S/$/.describe/} > ${INDEX_TMPDIR}/${INDEXFILE}.desc.${i} + @cd ${.CURDIR}/${i}; \ + echo "`date +%T` in `pwd`" ; \ + ${MAKE} -B describe > ${INDEX_TMPDIR}/${INDEXFILE}.desc.${i} .endfor .else describe: ${SUBDIR:S/^/_/:S/$/.describe/} (apologies if my email client mangles that...) Comparing the BUILDING_INDEX version of the "describe" target to the plain one, I could not see why one had to `cd' into each ports-subdirectory, and the other one didn't, so I added that. I also added the `echo' statement just for debugging purposes. So, which episode of Twilight Zone am I on that this only seem to be effecting me? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu