>Number:         169873
>Category:       ports
>Synopsis:       [patch] fix fetch problem in bsd.python.mk that affects jails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 15 05:00:21 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mark Linimon
>Release:        FreeBSD 9.0-STABLE i386
>Organization:
FreeBSD
>Environment:
System: FreeBSD freefall.freebsd.org 9.0-STABLE FreeBSD 9.0-STABLE #6 r235139: 
Tue May 8 21:19:03 UTC 2012 
si...@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386
>Description:
On pointyhat-west, the rules for jails have been tightened.  Despite the
claim in bsd.python.mk, it seems that devel/py-distribute will be dragged
in if:

  defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install"

, no matter whether ${PYTHON_SUFFIX} < 30 or not.

This patch moves the dependency outside the < 30 test (but still inside
the other test).

I am going to test this on pointyhat-west.
>How-To-Repeat:
See, for example,

http://pointyhat-west.isc.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp-clang.20120516023538.pointyhat-west/py27-amf-0.6.1.log
>Fix:

Index: Mk/bsd.python.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.python.mk,v
retrieving revision 1.150
diff -u -r1.150 bsd.python.mk
--- Mk/bsd.python.mk    26 Jun 2012 13:54:59 -0000      1.150
+++ Mk/bsd.python.mk    15 Jul 2012 03:36:15 -0000
@@ -453,10 +453,9 @@
 .if ${PYTHON_SUFFIX} < 30
 BUILD_DEPENDS+=                
${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
 RUN_DEPENDS+=          ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
-.else
+.endif
 BUILD_DEPENDS+=                
${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-distribute
 RUN_DEPENDS+=          ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-distribute
-.endif
 
 PYDISTUTILS_BUILD_TARGET?=             bdist_egg
 PYDISTUTILS_INSTALL_TARGET?=   easy_install
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to