Make index || portsdb -uU fails after cvsup
Garance A Drosihn
drosih at rpi.edu
Sat May 8 19:36:51 PDT 2004
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 at gilead.netel.rpi.edu
Senior Systems Programmer or gad at freebsd.org
Rensselaer Polytechnic Institute or drosih at rpi.edu
More information about the freebsd-ports
mailing list