From owner-freebsd-python@FreeBSD.ORG Mon Apr 8 07:30:49 2013 Return-Path: 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 BB330333 for ; Mon, 8 Apr 2013 07:30:49 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward2h.mail.yandex.net (forward2h.mail.yandex.net [IPv6:2a02:6b8:0:f05::2]) by mx1.freebsd.org (Postfix) with ESMTP id 72047756 for ; Mon, 8 Apr 2013 07:30:49 +0000 (UTC) Received: from smtp3h.mail.yandex.net (smtp3h.mail.yandex.net [84.201.186.20]) by forward2h.mail.yandex.net (Yandex) with ESMTP id AB90170104C; Mon, 8 Apr 2013 11:30:46 +0400 (MSK) Received: from smtp3h.mail.yandex.net (localhost [127.0.0.1]) by smtp3h.mail.yandex.net (Yandex) with ESMTP id 5C2201B40BDF; Mon, 8 Apr 2013 11:30:46 +0400 (MSK) Received: from ctsoff2.webstroy.ru (ctsoff2.webstroy.ru [213.27.12.78]) by smtp3h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id L81wXBNw5z-UkLCaBGv; Mon, 8 Apr 2013 11:30:46 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1365406246; bh=C7cr0AQQqYkSuWBhWnRNQTmFHojuxoVTgvKWR61QDkQ=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=UsgyNnWtQksU16+n0+LAGLuc9YakgDkNBfVVLF4rIBALy7j0vw8gBG039d3CaOMYg 87Wp+gMFouefr90Av7GWQ1Fz2xB+vOAo7gexNIO793DCSbgjHWhmZLhsuPi3x03S93 kZ8qZFOnkcNVPtEbCSBOkqU0MqXqL9knf1XAhsWc= Message-ID: <516271E9.4010103@yandex.ru> Date: Mon, 08 Apr 2013 11:29:45 +0400 From: Ruslan Makhmatkhanov 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" Subject: Re: Python 2.7.4 Released (but I had touble updating the port) References: <1365394103.76019.YahooMailMobile@web162103.mail.bf1.yahoo.com> In-Reply-To: <1365394103.76019.YahooMailMobile@web162103.mail.bf1.yahoo.com> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2013 07:30:49 -0000 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'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'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 -- Regards, Ruslan Tinderboxing kills... the drives.