Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2016 22:19:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209551] Python bits ignore DEFAULT_VERSIONS
Message-ID:  <bug-209551-13-M9fCT8sNYQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209551-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209551-13@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=3D209551

Hiroo Ono <hiroo.ono+freebsd@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hiroo.ono+freebsd@gmail.com

--- Comment #12 from Hiroo Ono <hiroo.ono+freebsd@gmail.com> ---
As a submitter of bug 207809, 207937 (and not mentioned 708202), I think th=
at
the bug reports I have sent are not related to this bug report, if this bug
report is about the order of PYTHON_VERSION and DEFAULT_VERSIONS.

The ports I have sent the patches were unable to build with python 3.x, but=
 not
treated so in the Makefiles. The submitted patches are to make them build
whether the default python is python 2.x or python 3.x.

For example, japanese/mozc-server (dealt with in bug 207937) has python scr=
ipts
run at build time. They run with python 2.x but not with 3.x. Instead of
patching the scripts run with both python 2.x and 3.x, which seemed difficu=
lt
for me, I changed the port build depend on python2 and made scripts call
python2 instead of python, which can be ether python 2.x or 3.x. In this ca=
se,
depending on python2 seems to be correct.

The bug 207809 (devel/pygobject3-common) addresses the problem that it alwa=
ys
depend on graphics/py-cairo which is for python 2.x. For python 3.x, there =
is
graphics/py3-cairo.

The patch in bug 208202 changed textproc/ibus depend on python 2.x, because=
 one
of the ports it depends works only with python 2.x.

When setting the default python version to 3.x, there are some ports that f=
ail
to build. I tried to fix a few of these. These ports could not be built not
because of the priority of PYTHON_VERSION and DEFAULT_VERSIONS, but because
they forgot to limit the dependency on python 2.x only, or they forgot to l=
ook
the case of python 3.x.

So, I say again that I think the bug 207809 and 207937 are not related to t=
his
bug report.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209551-13-M9fCT8sNYQ>