From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 29 05:50:14 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 C3070106566C for ; Sun, 29 Apr 2012 05:50:13 +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 AC4A08FC0A for ; Sun, 29 Apr 2012 05:50:13 +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 q3T5oDgR060234 for ; Sun, 29 Apr 2012 05:50:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3T5oDb9060233; Sun, 29 Apr 2012 05:50:13 GMT (envelope-from gnats) Date: Sun, 29 Apr 2012 05:50:13 GMT Message-Id: <201204290550.q3T5oDb9060233@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Shane Ambler Cc: Subject: Re: ports/167368: Python version propagation breaks USE_PYTHON= usage for dependency builds X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Shane Ambler List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 05:50:14 -0000 The following reply was made to PR ports/167368; it has been noted by GNATS. From: Shane Ambler To: bug-followup@FreeBSD.org, mva@freebsd.org Cc: Subject: Re: ports/167368: Python version propagation breaks USE_PYTHON= usage for dependency builds Date: Sun, 29 Apr 2012 15:11:35 +0930 While this pr originated from graphics/blender (ports/167061) I will fix that as it's own issue as I think the issue of python dependency versions should be kept separate. As for python versions I'm not sure if that can be improved or just needs to be a check for port maintainers to verify that leaf ports use compatible python versions to their dependants. Do we need to consider ports being installed against multiple python versions? For reference I missed this as I built openimageio with python bindings using USE_PYTHON=2.6+ which led to the openimageio pylib and boost-python-libs being installed in the py27 libdir. When the new blender port was then built (using py32) it saw openimageio was installed but done no check to verify that it was installed into the same/compatible version of python. This also propagated within tinderbox as I built openimageio first and the existing packages were installed for dependants without testing python versions used. For others testing with tinderbox, adding a step of removing python using dependant packages before building a new port could be useful. Maybe a new tinderbox command/option to search for python using dependant packages for a port to be removed.