Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2014 05:17:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 184954] Installation checks prevent multiple python ports being installed
Message-ID:  <bug-184954-21822-1cs7ECyB66@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-184954-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-184954-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184954

--- Comment #5 from Marcus von Appen <mva@FreeBSD.org> ---
The problem is not about man pages, but about how you configure poudriere.
There can be only one default python version at any time, which is the reason,
why your approach does not work.

The correct approach for your poudriere environment would be to build packages
with the proper default python version and to build packages with a
user-supplied PYTHON_VERSION setting.

If you build packages for python2.7 as default and python3.4 as default,
packages may conflict, since e.g. the f2py binary would link to f2py-2.7 and
also to f2py-3.4 (or the man page or the docs, etc.).

A correct poudriere configuration could look like this:

/usr/local/etc/poudriere.d/make.conf:

PYTHON_DEFAULT_VERSION=python2.7

/usr/local/etc/poudriere.d/python34-make.conf:

PYTHON_DEFAULT_VERSION=python2.7
PYTHON_VERSION=python3.4

To build packages for your default, just invoke poudriere without a set option,
as you are used to. To build packages for python3.4, add the set option:

poudriere ... -z python34 ...

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-184954-21822-1cs7ECyB66>