From owner-freebsd-python@FreeBSD.ORG  Mon Apr  8 08:21:38 2013
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: python@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id EAB9F52E
 for <python@FreeBSD.org>; Mon,  8 Apr 2013 08:21:38 +0000 (UTC)
 (envelope-from cvs-src@yandex.ru)
Received: from forward14.mail.yandex.net (forward14.mail.yandex.net
 [IPv6:2a02:6b8:0:801::4])
 by mx1.freebsd.org (Postfix) with ESMTP id 9D9B79E3
 for <python@FreeBSD.org>; Mon,  8 Apr 2013 08:21:38 +0000 (UTC)
Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191])
 by forward14.mail.yandex.net (Yandex) with ESMTP id 5C9B81980992;
 Mon,  8 Apr 2013 12:21:37 +0400 (MSK)
Received: from smtp12.mail.yandex.net (localhost [127.0.0.1])
 by smtp12.mail.yandex.net (Yandex) with ESMTP id 2D4E016A033B;
 Mon,  8 Apr 2013 12:21:37 +0400 (MSK)
Received: from ctsoff2.webstroy.ru (ctsoff2.webstroy.ru [213.27.12.78])
 by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTP id uz0DJSt1Ak-LavuFtcR;
 Mon,  8 Apr 2013 12:21:36 +0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
 t=1365409297; bh=xnVMnV8auiRsEOPdOS0zByEd3drtbhFYLRlbAkxEX3I=;
 h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:
 References:In-Reply-To:Content-Type:Content-Transfer-Encoding;
 b=f4RJfaLlbiKj9KrbVuNUqaL1bZhfDJivkSImCyDJ0ZjGZsrbiMmZNu7zytobAS68V
 Gvx4fiebpDYTDmm0CdR/KUapJIU08BbeUgE8mG9lyB7S6bG6wWz+LS+fVu290qsLqI
 JenEF9Xa8VsLBRmVOtCzv0avkOxcn1SRaDWLDeUU=
Message-ID: <51627DD4.5090809@yandex.ru>
Date: Mon, 08 Apr 2013 12:20:36 +0400
From: Ruslan Makhmatkhanov <cvs-src@yandex.ru>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:17.0) Gecko/20130311 Thunderbird/17.0.4
MIME-Version: 1.0
To: "Pedro F. Giffuni" <giffunip@tutopia.com>
Subject: Re: Python 2.7.4 Released (but I had touble updating the port)
References: <1365394103.76019.YahooMailMobile@web162103.mail.bf1.yahoo.com>
 <516271E9.4010103@yandex.ru>
In-Reply-To: <516271E9.4010103@yandex.ru>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: python@FreeBSD.org
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Apr 2013 08:21:39 -0000

Ruslan Makhmatkhanov wrote on 08.04.2013 11:29:
> Pedro F. Giffuni wrote on 08.04.2013 08:08:
>> Hello guys;
>>
>> There is a new bugfix release in the 27 series with hundreds of
>> bugfixes:
>> http://hg.python.org/cpython/file/9290822f2280/Misc/NEWS
>>
>> I gave a try at updating the python27 port and it was rather easy to
>> get started (almost all patches apply cleanly) but I get this problem
>>   when building:
>>
>> ...
>> cc -c -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe -march=nocona
>> -DNDEBUG -O2 -fno-strict-aliasing -pipe -march=nocona  -I. -IInclude
>> -I./../Include -fPIC -DPy_BUILD_CORE -o Python/Python-ast.o
>> Python/Python-ast.c
>> cc: Python/Python-ast.c: No such file or directory
>> cc: No input files specified
>> *** [Python/Python-ast.o] Error code 1
>>
>> The file actually exists.
>>
>> I went ahead and reported the issue upstream (Issue17649) but it is
>> irreproducible in their buildbot and the problem is not really theirs:
>> it looks like the hacks that we do to stop some modules from building
>> and the environment used to build the code out-of-tree don&#x27;t get
>> along
>> very well.
>>
>> Perhaps someone here knows the port well enough to provide a fix?
>> I guess it should be possible to modify the makefile to skip generating
>> that file since it exists already but that&#x27;s not very clean ;).
>>
>> Regards,
>>
>> Pedro.
>
> As Marcus already said, the problem in changed path to AST_C_DIR (I also
> changed AST_H_DIR in the same way).
>
> Here is the updated version by the way (pkg-plist changes is not yet
> included):
> https://github.com/mexicarne/newpython/commit/7f03049da6883f1eb145a73e83c73be5fd6378a5

pkg-plist updated, so the port is ready, now doing runtime tests:
https://github.com/mexicarne/newpython/tree/master/lang/python27

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.