From owner-freebsd-python@FreeBSD.ORG Sun May 6 17:13:41 2012 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6755F106564A; Sun, 6 May 2012 17:13:41 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1B5E38FC0C; Sun, 6 May 2012 17:13:41 +0000 (UTC) Received: from [89.182.21.73] (helo=localhost) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1SR4u4-0005Qk-0y; Sun, 06 May 2012 19:05:48 +0200 Date: Sun, 6 May 2012 19:07:11 +0200 From: Marcus von Appen To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@FreeBSD.org Message-ID: <20120506170711.GA1570@medusa.sysfault.org> References: <201204271848.q3RImjd5090552@medusa.sysfault.org> <201204271900.q3RJ0OY7074360@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OROCMA9jn6tkzFBc" Content-Disposition: inline In-Reply-To: <201204271900.q3RJ0OY7074360@freefall.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Df-Sender: MzAzMjU2 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: python@freebsd.org, freebsd-ports@freebsd.org Subject: Re: ports/167368: Python version propagation breaks USE_PYTHON= usage for dependency builds X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus von Appen List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2012 17:13:41 -0000 --OROCMA9jn6tkzFBc Content-Type: multipart/mixed; boundary="PuGuTyElPB9bOcsM" Content-Disposition: inline --PuGuTyElPB9bOcsM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In 2003 we introduced DEPENDS_ARGS to enforce the python version on dependencies[0]. In 2005 we introduced th .MAKEFLAGS propagation to work around an issue for Zope[1]. I doubt that both are still valid after we allowed parallel python versions for quite some while now. In any case, the current implementation _breaks_ ports, if they have non-matching sets of supported python versions. The attached patch removes both entries and a local tinderbox run did not reveal any problems. However, the problem described here does usually _not_ occur in a tinderbox, since every port is treated as a single item, instead of a typical user workflow. Thus more testing (especially with zope-related ports) is highly appreciated. [0] http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.python.mk?annotate=1.41 [1] http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.python.mk?annotate=1.62 Regards Marcus --PuGuTyElPB9bOcsM-- --OROCMA9jn6tkzFBc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk+mr78ACgkQi68/ErJnpkfXfQCfd/oAr457Rcohe4ai6+yu4ySi OOMAnihREOWnftpVzffjzz/a9cGAAN0R =HINZ -----END PGP SIGNATURE----- --OROCMA9jn6tkzFBc--