From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 15 05:00:22 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E63A51065673; Sun, 15 Jul 2012 05:00:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B21A88FC0C; Sun, 15 Jul 2012 05:00:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6F50LpY025544; Sun, 15 Jul 2012 05:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6F50LQx025543; Sun, 15 Jul 2012 05:00:21 GMT (envelope-from gnats) Resent-Date: Sun, 15 Jul 2012 05:00:21 GMT Resent-Message-Id: <201207150500.q6F50LQx025543@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Cc: python@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mark Linimon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B385106564A for ; Sun, 15 Jul 2012 04:56:47 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 454DC8FC14 for ; Sun, 15 Jul 2012 04:56:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6F4ul1p025426 for ; Sun, 15 Jul 2012 04:56:47 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6F4ulxG025425; Sun, 15 Jul 2012 04:56:47 GMT (envelope-from linimon) Message-Id: <201207150456.q6F4ulxG025425@freefall.freebsd.org> Date: Sun, 15 Jul 2012 04:56:47 GMT From: Mark Linimon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 X-GNATS-Notify: python@FreeBSD.org Cc: Subject: ports/169873: [patch] fix fetch problem in bsd.python.mk that affects jails X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Linimon List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2012 05:00:22 -0000 >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 simon@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: