From owner-freebsd-ports@freebsd.org Fri Oct 9 07:49:57 2015 Return-Path: Delivered-To: freebsd-ports@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 D62B79D1F8A for ; Fri, 9 Oct 2015 07:49:57 +0000 (UTC) (envelope-from loic.blot@unix-experience.fr) Received: from smtp.unix-experience.fr (kingslanding.unix-experience.fr [62.4.22.5]) (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 9386FB84 for ; Fri, 9 Oct 2015 07:49:57 +0000 (UTC) (envelope-from loic.blot@unix-experience.fr) Received: from smtp.unix-experience.fr (unknown [192.168.200.21]) by smtp.unix-experience.fr (Postfix) with ESMTP id 01A613B0F; Fri, 9 Oct 2015 09:49:49 +0200 (CEST) X-Virus-Scanned: scanned by unix-experience.fr Received: from smtp.unix-experience.fr ([192.168.200.21]) by smtp.unix-experience.fr (smtp.unix-experience.fr [192.168.200.21]) (amavisd-new, port 10024) with ESMTP id X6D-CcNXOu_0; Fri, 9 Oct 2015 09:49:47 +0200 (CEST) Received: from mail.unix-experience.fr (repo.unix-experience.fr [192.168.200.30]) by smtp.unix-experience.fr (Postfix) with ESMTPSA id C1F573B01; Fri, 9 Oct 2015 09:49:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=unix-experience.fr; s=uxselect; t=1444376986; bh=tpDyHVhmtMzYwLvR2vcE422Do5yasnv1I7z6vo9zyPw=; h=Date:From:Subject:To:In-Reply-To:References; b=gaU3gd3UwV7ip3Lxl1PYE/+dZRJo0g4Mk8zxZ8b7dGBuj99G66iabZFPXb9KGrbIJ czU745EbIy7iEshkZ32uUJ6mI6/em9mfDNsi/MGtOloK3KF4FaIUrxSNpzFMM7Vi51 HuMo5Tqrdes3A8bK96rnd/Ows96kwjf0aR0wSVkE= Mime-Version: 1.0 Date: Fri, 09 Oct 2015 07:49:46 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <50acf6c7746fef5d771f4958111fb64c@mail.unix-experience.fr> X-Mailer: RainLoop/1.9.2.343 From: loic.blot@unix-experience.fr Subject: Re: llvm37 python3 problem To: "Shane Ambler" , "Walter Schwarzenfeld" , freebsd-ports@freebsd.org In-Reply-To: <5617545A.3020109@ShaneWare.Biz> References: <5617545A.3020109@ShaneWare.Biz> <76687e803e29e0eead142826805f7376@mail.unix-experience.fr> <561693E4.6000105@utanet.at> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 07:49:57 -0000 Hi Shane,=0AThanks for the information.=0AThe problem is that the Clang/L= LVM 3.6 works perfect with PYTHON_VERSION=3D3.4, but not clang/llvm 3.7, = for an update it looks like a regression, and i want to make python3.4 as= a default version for my whole port tree. Else maybe it could be good to= force python2 in LLVM3.7 port=0A=0AThanks !=0A=0A9 octobre 2015 07:45 "S= hane Ambler" a =C3=A9crit:=0A> On 09/10/2015 02:3= 3, Walter Schwarzenfeld wrote:=0A> =0A>> I think this should work:=0A>> i= n /etc/make.conf:=0A>> either=0A>> DEFAULT_VERSIONS=3Dpython=3D2.7 python= 2=3D2.7 python3=3D3.4=0A>> or=0A>> .if ${.CURDIR:M*/ports/devel/llvm*}=0A= >> USE_PYTHON=3D2.7=0A>> .endif=0A>> =0A>> should work.=0A> =0A> We know = it works with the old python2.7. The point is that it fails if=0A> you on= ly want to use something recent like python3.4=0A> =0A> python 2.7 was re= leased 5 years ago. Even python3.4 was release over a=0A> years and a hal= f ago. If I had trouble with FreeBSD 7.3 you would tell=0A> me to upgrade= , so why do we have to keep using such an old version of=0A> python? Not = everyone wants to keep using old software.=0A> =0A> The point of original= the email was to get llvm/clang 3.7 working on a=0A> machine that has py= thon 3.4 installed as default and not 2.7=0A> =0A> Which leads to wanting= to place in make.conf -=0A> DEFAULT_VERSIONS=3Dpython=3D3.4 python2=3D2.= 7 python3=3D3.4=0A> =0A> And Loic - just so you know, while python 2.7 wa= s going to be supported=0A> until 2015, it was extended again for yet ano= ther 5 years - see=0A> =0A> http://legacy.python.org/dev/peps/pep-0373=0A= > =0A> -- FreeBSD - the place to B...Software Developing=0A> =0A> Shane A= mbler=0A> =0A> _______________________________________________=0A> freebs= d-ports@freebsd.org mailing list=0A> https://lists.freebsd.org/mailman/li= stinfo/freebsd-ports=0A> To unsubscribe, send any mail to "freebsd-ports-= unsubscribe@freebsd.org"