From owner-freebsd-ports-bugs@freebsd.org Mon Jun 20 22:19:07 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A208DAC47D4 for ; Mon, 20 Jun 2016 22:19:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 723452CF6 for ; Mon, 20 Jun 2016 22:19:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u5KMJ7X8079796 for ; Mon, 20 Jun 2016 22:19:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 209551] Python bits ignore DEFAULT_VERSIONS Date: Mon, 20 Jun 2016 22:19:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiroo.ono+freebsd@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 22:19:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209551 Hiroo Ono changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hiroo.ono+freebsd@gmail.com --- Comment #12 from Hiroo Ono --- 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.=