From owner-freebsd-python@FreeBSD.ORG Sat Jun 23 21:49:05 2012 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E5311065675 for ; Sat, 23 Jun 2012 21:49:05 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id F29FE8FC1F for ; Sat, 23 Jun 2012 21:49:04 +0000 (UTC) Received: by obbun3 with SMTP id un3so5136123obb.13 for ; Sat, 23 Jun 2012 14:49:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=t3kEASvl1XWglX8iY+Iu3pdEr7gw2xABdHo/FWfS05I=; b=KvZYTH3yVRIq7Qvqdbc/sgWok3NnsboqPz+8+KYrztwQwKh/S73m04IUIa4bFNXf9N rwubVZg3r6OobN1F5tyopbtabV37bY6X2l9zGQcHe2kF+wM3Mbtu3zisKq8q1prfFGmR +O8kvALUplljU0+GW6ep8IgipEIiTxJSmuKX9JXXs91MjnpxBxkyKVVc4NzUXfPOpYDm CST9PzqSQrClmRZj2MKZvicMADG2ot3po/QEcWw6V8ce64UKyGRKQ/AltxliQXZPOwmM NyGQJ7+tDvaEkLMU07zQXPXqTsGVm+qV18dTl8oN9C+ZduqUKutFjG4um9MBJZtrYScF oE7g== Received: by 10.60.19.42 with SMTP id b10mr7055285oee.12.1340488144575; Sat, 23 Jun 2012 14:49:04 -0700 (PDT) MIME-Version: 1.0 Sender: sunpoet@sunpoet.net Received: by 10.182.65.164 with HTTP; Sat, 23 Jun 2012 14:48:44 -0700 (PDT) In-Reply-To: <4FE6234C.7020805@yandex.ru> References: <4FE36961.9020200@yandex.ru> <4FE36D95.2010703@yandex.ru> <20120621194709.GA2082@medusa.sysfault.org> <4FE37B4E.5000006@yandex.ru> <20120621204523.GB2082@medusa.sysfault.org> <4FE6234C.7020805@yandex.ru> From: Sunpoet Po-Chuan Hsieh Date: Sun, 24 Jun 2012 05:48:44 +0800 X-Google-Sender-Auth: ll_xWAdC46C1-hJwKZP1xWx3e7s Message-ID: To: Ruslan Mahmatkhanov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmt+WFvTnuLJDIMARGCyNP40ILgqam5UY0A7qEFUXsmLA1FZO8kCKxYHcfmYWs7DxvXEeqz Cc: Marcus von Appen , Li-Wen Hsu , python Subject: Re: [SPAM] Re: [SPAM] Re: python32 build broken in tinderbox X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2012 21:49:05 -0000 On Sun, Jun 24, 2012 at 4:13 AM, Ruslan Mahmatkhanov wr= ote: > Sunpoet Hsieh wrote on 22.06.2012 05:20: > >> On Fri, Jun 22, 2012 at 4:45 AM, Marcus von Appen wrot= e: >>> >>> On, Thu Jun 21, 2012, Ruslan Mahmatkhanov wrote: >>> >>>> Marcus von Appen wrote on 21.06.2012 23:47: >>>>> >>>>> Hi Ruslan, >>>>> >>>>> On, Thu Jun 21, 2012, Ruslan Mahmatkhanov wrote: >>>>> >>>>>> Ok, revision 1.187 is the culprit. Reverting to 1.186 fixed things f= or >>>>>> me. >>>>>> >>>>> [...] >>>>> >>>>> Does the latest one (1.188) work for you? I can't reproduce the issue >>>>> with my tinderboxes. How are the ports and dependencies configured on >>>>> yours? >>>>> >>>>> Cheers >>>>> Marcus >>>> >>>> >>>> No, it is not. I consequently revert 1.188 (with no success), then 1.1= 87 >>>> (the same) and now it builds fine when I'm on 1.186. >>>> All ports options are default. Tinderbox is i386. The only difference = - >>>> python32 is system-wide default: >>>> >>>> nx7400> cat scripts/etc/env/build.9.0-FreeBSD-py3 >>>> USE_PYTHON=3D3.2 >>>> PYTHON_VERSION=3Dpython3.2 >>>> PYTHON_DEFAULT_VERSION=3D3.2 >>> >>> >>> The issue is that USE_PYTHON=3Dxx will introduce python as dependency f= or >>> _every_ port. Do not set it, since it is for usage in port Makefiles, >>> not for the environmental flags. >>> The reason for your problem is the circular dependency introduced by >>> that. >>> >>> Cheers >>> Marcus >> >> >> Hi, >> >> In tinderbox env, I'm sure that PYTHON_DEFAULT_VERSION=3Dpython3.2 is >> enough for specify the python port. >> HTH >> >> Regards, > > > Hi, > > Yes, it's true. By the way, missing PYTHON_DEFAULT_VERSION was the reason= of > py-distribute packaging break, that I asked you about a week ago. Hi, Oops, I forgot to reply that mail. :( I've compared my tinderbox log with yours. The main difference is that you have both USE_PYTHON=3D3.2 and PYTHON_VERSION=3Dpython3.2 defined but PYTHON_DEFAULT_VERSION undefined. It makes the expression [1] false, therefore bin/easy_install is not installed. I consulted lwhsu@ on [1] and it's the final result. Please note that USE_PYTHON and PYTHON_VERSION are meant to be used by port maintainers in ports' Makefile [2]. [1] devel/py-distribute/Makefile line 48: .if ${PYTHON_VERSION} =3D=3D ${PYTHON_DEFAULT_VERSION} && !exists(${LOCALBASE}/bin/easy_install) [2] Mk/bsd.python.mk line 14-18, 79-82 Regards, sunpoet > -- > Regards, > Ruslan > > Tinderboxing kills... the drives. > > --=20 =C2=A0 Sunpoet Po-Chuan Hsieh =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B = 8CC0 DC44 247E CC57 E36B =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 http://people.FreeBSD.org/~sunpoet/pgpkeys.txt