make readmes ends with this output: .. ===> x11-wm ===> Creating README.html ===> Creating README.html for all ports /usr/ports/Tools/make_readmes: Permission denied *** Error code 126 Stop in /usr/ports. It broke sometimes around Aug 5 2007. PERL variable seems to be undefined as indicated by this patch --- bsd.port.subdir.mk.orig Thu Aug 9 03:21:34 2007 +++ bsd.port.subdir.mk Sun Oct 14 14:12:45 2007 @@ -254,6 +254,8 @@ .if !target(readmes) .if defined(PORTSTOP) readmes: readme ${SUBDIR:S/^/_/:S/$/.readmes/} + @${ECHO_CMD} "Variable PERL:" + @${ECHO_CMD} ${PERL} @${ECHO_MSG} "===> Creating README.html for all ports" @${PERL} ${PORTSDIR}/Tools/make_readmes < ${INDEXDIR}/${INDEXFILE} .else that gives this result: .. ===> x11-wm ===> Creating README.html Variable PERL: ===> Creating README.html for all ports /usr/ports/Tools/make_readmes: Permission denied *** Error code 126 Stop in /usr/ports. Fix: make readmes works with the attached patch. This fix is probably not usable in general, but it indicates what the problem is. Patch attached with submission follows: How-To-Repeat: $ pwd /usr/ports $ make readmes ===> Creating README.html ===> accessibility ===> Creating README.html ===> arabic ===> Creating README.html .. ===> Creating README.html ===> x11-toolkits ===> Creating README.html ===> x11-wm ===> Creating README.html ===> Creating README.html for all ports /usr/ports/Tools/make_readmes: Permission denied *** Error code 126 Stop in /usr/ports.
Responsible Changed From-To: freebsd-ports-bugs->portmgr bsd.port.mk is portmgr territory (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed This should be fixed now.
pav 2008-03-12 00:13:06 UTC FreeBSD ports repository Modified files: Mk bsd.port.subdir.mk Log: - Backout part of 1.71: ${PERL} is not available in bsd.port.subdir.mk, only in bsd.port.mk. Fixes `make readmes' PR: ports/117192 Submitted by: Joergen Blomberg <jnbg@blomberg.tk> Pointy hat to: gabor Revision Changes Path 1.74 +2 -2 ports/Mk/bsd.port.subdir.mk _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"