From nobody@FreeBSD.org  Wed May 21 22:02:50 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id D6A32602
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 May 2014 22:02:50 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id C3B4625FE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 May 2014 22:02:50 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4LM2o4i048733
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 May 2014 22:02:50 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4LM2oLj048732;
	Wed, 21 May 2014 22:02:50 GMT
	(envelope-from nobody)
Message-Id: <201405212202.s4LM2oLj048732@cgiserv.freebsd.org>
Date: Wed, 21 May 2014 22:02:50 GMT
From: James McGuire <james.a.mcguire01@virgin.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Bind10 does not select correct python version
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         190092
>Category:       i386
>Synopsis:       Bind10 does not select correct python version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 21 22:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     James McGuire
>Release:        10.0-RELEASE-p3
>Organization:
>Environment:
uname -a
FreeBSD diesel.steppingstones 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:26:10 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When installing Bind10 from the ports, it complains that Bind10 requires Python 3.3 whereas my system is set to default to Python 2.7, the specific message is:

"You have python 2.7 set as the default, and this needs 3.3."

I manaully removed all of the python 2.7 packages, and ran the installation of the dns/bind10 port again. The installation then reinstall all of the Python 2.7 pacakages, and threw the above error again.

My /etc/make.conf makes no reference to python:

[jim@diesel ~]$ cat /etc/make.conf
WITHOUT_X11=YES

PACKAGESITE=ftp.uk.freebsd.org
LOADER_TFTP_SUPPORT=YES
#CPUTYPE?=c3-2
CFLAGS= -O2 -fno-strict-aliasing -pipe

#CPUTYPE?=athlon64
#MACHINE_CPU=k8 3dnow sse2

# added by use.perl 2012-04-06 13:19:31
PERL_VERSION=5.12.4

WITH_PKGNG=yes


Solution was to set the following make argument during installation: DEFAULT_VERSIONS=python=3.4

Per https://forums.freebsd.org/viewtopic.php?f=5&t=46270

This port would appear to be misconfigured.
>How-To-Repeat:
cd /usr/ports/dns/bind10 && make install
>Fix:
cd /usr/ports/dns/bind10 && make install DEFAULT_VERSIONS=python=3.4

>Release-Note:
>Audit-Trail:
>Unformatted:
