Date: Sun, 24 Jun 2012 05:48:44 +0800 From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Cc: Marcus von Appen <mva@freebsd.org>, Li-Wen Hsu <lwhsu@freebsd.org>, python <python@freebsd.org> Subject: Re: [SPAM] Re: [SPAM] Re: python32 build broken in tinderbox Message-ID: <CAMHz58Q6yMHr7z8netunV4CoD_e0pzOJu0dxB61q8=ztS1jPRw@mail.gmail.com> 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> <CAMHz58RdXc%2BNc9EVa0SiWukWrJCg6ixpkQnnff2N4jzWxZnOkQ@mail.gmail.com> <4FE6234C.7020805@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 24, 2012 at 4:13 AM, Ruslan Mahmatkhanov <cvs-src@yandex.ru> wr= ote: > Sunpoet Hsieh wrote on 22.06.2012 05:20: > >> On Fri, Jun 22, 2012 at 4:45 AM, Marcus von Appen <mva@freebsd.org> 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 <sunpoet at sunpoet.net> <sunpoet at FreeBSD.= org> =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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58Q6yMHr7z8netunV4CoD_e0pzOJu0dxB61q8=ztS1jPRw>