On Thu, Jul 03, 2008 at 06:11:07PM +0200, Markus Lude wrote: > Hello, > after building python 2.5 from ports I get the following while doing a > make clean: > > ===> Cleaning for python-2.5.2p2 > rm: /usr/obj/ports/Python-2.5.2/Python-2.5.2/Lib/plat-openbsd4/regen: > Permission denied > rm: /usr/obj/ports/Python-2.5.2/Python-2.5.2/Lib/plat-openbsd4/IN.py: > Permission denied > rm: /usr/obj/ports/Python-2.5.2/Python-2.5.2/Lib/plat-openbsd4: Directory not > empty > rm: /usr/obj/ports/Python-2.5.2/Python-2.5.2/Lib: Directory not empty > rm: /usr/obj/ports/Python-2.5.2/Python-2.5.2: Directory not empty > rm: /usr/obj/ports/Python-2.5.2: Directory not empty > > $ ls -l /usr/obj/ports/Python-2.5.2/Python-2.5.2/Lib/plat-openbsd4 > total 24 > -rw-r--r-- 1 root wsrc 8492 Jul 3 07:59 IN.py > -rwxr-xr-x 1 root wsrc 97 Jul 3 07:59 regen* > > make clean doesn't seem to use sudo here to remove these files, but why? > A few weeks ago this problem didn't appear.
Probably the change of ALL_TARGET in r1.20 of Makefile introduced this problem: @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.19 2008/05/10 17:10:24 deanna Exp $ +# $OpenBSD: Makefile,v 1.20 2008/06/09 12:34:55 espie Exp $ VERSION= 2.5 PATCHLEVEL= .2 @@ -16,7 +16,7 @@ AUTOCONF_VERSION= 2.61 CONFIGURE_ARGS+= --with-cxx_main -ALL_TARGET?= all ./Lib/plat-openbsd4 +ALL_TARGET = everything post-extract: rm -r ${WRKDIST}/Modules/expat > I build from ports as a normal user, not as root. I'm running the > snapshot from june 30th on sparc64 here. Is "make clean" for python 2.5 working for anyone of you not building as root? Regards, Markus