Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 2004 22:36:47 -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:  <p0602040fbcc33d188518@[128.113.24.47]>
In-Reply-To: <20040508134709.GA35555@xor.obsecurity.org>
References:  <BCC2AE80.128AC%tomonage2@gmx.de> <20040508134709.GA35555@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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