From owner-freebsd-python@FreeBSD.ORG Sun Nov 30 05:13:12 2014 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B881793A for ; Sun, 30 Nov 2014 05:13:12 +0000 (UTC) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0143.outbound.protection.outlook.com [65.55.169.143]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BC2067B for ; Sun, 30 Nov 2014 05:13:11 +0000 (UTC) Received: from [10.0.0.21] (73.5.142.244) by CY1PR0301MB0841.namprd03.prod.outlook.com (25.160.163.147) with Microsoft SMTP Server (TLS) id 15.1.26.15; Sun, 30 Nov 2014 04:40:14 +0000 Message-ID: <547A9FA8.9070909@my.hennepintech.edu> Date: Sat, 29 Nov 2014 22:40:08 -0600 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Subject: Re: PYTHON_VERSION=python3.4 and USES=python:2,build References: <547A9656.9030602@saltant.com> In-Reply-To: <547A9656.9030602@saltant.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [73.5.142.244] X-ClientProxiedBy: BY2PR01CA0029.prod.exchangelabs.com (10.255.242.19) To CY1PR0301MB0841.namprd03.prod.outlook.com (25.160.163.147) X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0841; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB0841; X-Forefront-PRVS: 04111BAC64 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6049001)(199003)(24454002)(189002)(107046002)(20776003)(107886001)(47776003)(2351001)(97736003)(59896002)(65806001)(66066001)(105586002)(89122001)(65956001)(110136001)(64706001)(33656002)(46102003)(87976001)(106356001)(19580395003)(95666004)(75432002)(102836001)(101416001)(80316001)(54356999)(87266999)(42186005)(65816999)(76176999)(50986999)(15975445006)(83506001)(88552001)(40100003)(122386002)(92566001)(99396003)(64126003)(21056001)(120916001)(23676002)(50466002)(4396001)(86362001)(77156002)(92726001)(450100001)(31966008)(62966003)(77096004)(142933001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB0841; H:[10.0.0.21]; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; A:0; MX:1; LANG:en; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB0841; X-OriginatorOrg: my.hennepintech.edu X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2014 05:13:12 -0000 On 2014.11.29 22:00, John W. O'Brien wrote: > Let's say that I want to build net/py-pyzmq with > PYTHON_VERSION=python3.4. Why this instead of using DEFAULT_VERSIONS? > It looks like the right thing to do, short of > patching openpgm's build scripts to be py3k-friendly, is to update > net/openpgm/Makefile from USES=python to USES=python:2,build. The > trouble is that doesn't work either My Poudriere instance disagrees that there is an issue with this solution: https://candace.robotsondrugs.com/poudriere/build.html?mastername=101x64-porttest&build=2014.11.29_22%3A27%3A52 Take note of what's in /usr/local/etc/poudriere.d/101x64-make.conf as listed in any of the log files. [perry /usr/local/poudriere/ports/porttest]# svnlite diff Index: net/openpgm/Makefile =================================================================== --- net/openpgm/Makefile (revision 373657) +++ net/openpgm/Makefile (working copy) @@ -14,7 +14,7 @@ LICENSE= LGPL3 GNU_CONFIGURE= yes -USES= pathfix perl5 tar:bzip2 libtool python +USES= pathfix perl5 tar:bzip2 libtool python:2,build USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${DISTNAME}/openpgm/pgm INSTALL_TARGET= install-strip Also, FWIW, I have an open PR requesting this exact change to net/openpgm.