ports/167368: Python version propagation breaks USE_PYTHON= usage for dependency builds

Marcus von Appen mva at FreeBSD.org
Sun May 6 17:13:41 UTC 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bsd.python.mk.patch
Type: text/x-diff
Size: 956 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20120506/9c40b64d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20120506/9c40b64d/attachment.sig>


More information about the freebsd-ports-bugs mailing list