From owner-freebsd-ports-bugs@freebsd.org Wed May 4 06:43:40 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 05443B2C5D1 for ; Wed, 4 May 2016 06:43:40 +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 D1B3413D4 for ; Wed, 4 May 2016 06:43:39 +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 u446hdB4056137 for ; Wed, 4 May 2016 06:43:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 209204] Changing default Python version unduly difficult Date: Wed, 04 May 2016 06:43:39 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dbn@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: Wed, 04 May 2016 06:43:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209204 David Naylor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress CC| |dbn@FreeBSD.org --- Comment #3 from David Naylor --- The build logs would allow us to have a better understanding of what the problem is. In this particular case I suspect a warning message in the bui= ld logs would give a clue as to the solution.=20=20 Also, I am able to reproduce the problem on my system: # cd /usr/ports/textproc/py-pygments # make -V PYTHON_VER 2.7 # make -V PYTHON_VER DEFAULT_VERSIONS=3Dpython=3D3.5 2.7 # make -V WARNING "Your requested default python version 3.5 is different from the installed default python interpreter version 2.7" The above warning is what should appear in your build logs. If not we can address that.=20=20 The issue is you have already installed lang/python (i.e. the default) as version 2.7. This means your system is "hard-coded" to use python-2.7 as t= he default until you uninstall all ports that depend on lang/python, inclusive, and rebuild them all with the new default.=20=20 The effect of "default" is stronger than what the word implies, it is more = akin to choosing i386 and amd64 at install time. Once you have chosen it, that's it. Until you undo and redo. In other words, the choice of default is persistent and cannot be changed, only undone.=20=20 I hope this clarifies the issue. --=20 You are receiving this mail because: You are on the CC list for the bug.=