From owner-freebsd-python@FreeBSD.ORG Mon Apr 8 04:08:29 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ECC18C5D for ; Mon, 8 Apr 2013 04:08:29 +0000 (UTC) (envelope-from giffunip@yahoo.com) Received: from nm22-vm0.bullet.mail.bf1.yahoo.com (nm22-vm0.bullet.mail.bf1.yahoo.com [98.139.212.126]) by mx1.freebsd.org (Postfix) with ESMTP id 962A3F56 for ; Mon, 8 Apr 2013 04:08:29 +0000 (UTC) Received: from [98.139.212.151] by nm22.bullet.mail.bf1.yahoo.com with NNFMP; 08 Apr 2013 04:08:23 -0000 Received: from [98.139.215.254] by tm8.bullet.mail.bf1.yahoo.com with NNFMP; 08 Apr 2013 04:08:23 -0000 Received: from [127.0.0.1] by omp1067.mail.bf1.yahoo.com with NNFMP; 08 Apr 2013 04:08:23 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 283204.91812.bm@omp1067.mail.bf1.yahoo.com Received: (qmail 78278 invoked by uid 60001); 8 Apr 2013 04:08:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1365394103; bh=SYV3TDlWhzs2cGY9B2j8kN7Sgb5d6Sb++ZmeCVmoxlc=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=RAwq5IjZPL1Y+Ka5Y6udVymVRfL+rK6FHGsPIFhYf8oGPxnZtKDxC+W7rOhgru8xucaNrdz235zA50zhG1Oy3rzvQ/n1Fqq3o6iyctMUsWwIZXM8CigAC8z+3ZPQwE++WYUuU72/MU9xKNXF2qZrpA2EznsrHpd0+d+6JAh6tCQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=USDBqDcjUqZGZr6n+KRyRhym0ENJTg8Rd3uDURDCRdcD6PL/4J1rYSHLJD3gbhoctAEMJWba3sCJbxlA/VJ0CC1zuZbHQPmP1E180VcYX2bpHUulnXrf6xKg0PaBsgfuBCd1zI3W0gDnNCMqMREkL31TuPMUAGdcD1vS3jfwB2o=; X-YMail-OSG: UXKOPfUVM1lVbpC6UOHZ.K_L.SgvD8BPYAKqIKGHwnmlwee rSbc6B5UjOa2fS0pJotRyiD8AQyogm4gJUWaq7uwYjyW5QGF__CGRVzBi4qt lCIWwLv24aqPyc0.xUPe55YVq0h0V06IuHh62L_XLBh.aIAnpwUap9WkB50Y O.GNnsShm6KBtfjhZAhhI7Eik2Sx37n.3k8m35DGS_W64ZE3f7c2C__yweIK Z0Dt30831U2Lh4amZRwD.3WL8Od8EpBByaWG_QMefXKaqSdNZbKlQePBQJ1k P_cOApwRIgJ01aa0DYzekentewKklZe6H6.2Qucm6iU3TutyrqErtGy1lEh1 BFEMGaDcf3k4STPaAT2APAZSInGAy46crgdmhdX0pej1TICaPBBTzAb9NC3Q Ph.9WvQFU2U693AnzMBgdqMlWoDlWJukwPm.Yi8_dkkEHX1W6wIstBoosGSR HlY5XwbHcBIOdSBU5kAo7bv898AzAnECE4zLOv8O2NUri5eFRb7O63VixT9l aMPEvERq6bu2PFdQREfUJ.BqsFSOwkN2ATYulox.miUX6OgytmeYqt52Sbti E6TGl110Sk9yGpTwTJr8jglui7t72PAlKdTYO3VVI Received: from [190.157.126.109] by web162103.mail.bf1.yahoo.com via HTTP; Sun, 07 Apr 2013 21:08:23 PDT X-Rocket-MIMEInfo: 002.001, SGVsbG8gZ3V5czsKClRoZXJlIGlzIGEgbmV3IGJ1Z2ZpeCByZWxlYXNlIGluIHRoZSAyNyBzZXJpZXMgd2l0aCBodW5kcmVkcyBvZiAKYnVnZml4ZXM6Cmh0dHA6Ly9oZy5weXRob24ub3JnL2NweXRob24vZmlsZS85MjkwODIyZjIyODAvTWlzYy9ORVdTCgpJIGdhdmUgYSB0cnkgYXQgdXBkYXRpbmcgdGhlIHB5dGhvbjI3IHBvcnQgYW5kIGl0IHdhcyByYXRoZXIgZWFzeSB0byAKZ2V0IHN0YXJ0ZWQgKGFsbW9zdCBhbGwgcGF0Y2hlcyBhcHBseSBjbGVhbmx5KSBidXQgSSBnZXQgdGhpcyBwcm9ibGVtCiB3aGUBMAEBAQE- X-RocketYMMF: giffunip X-Mailer: YahooMailWebService/0.8.140.532 Message-ID: <1365394103.76019.YahooMailMobile@web162103.mail.bf1.yahoo.com> Date: Sun, 7 Apr 2013 21:08:23 -0700 (PDT) From: "Pedro F. Giffuni" Subject: Python 2.7.4 Released (but I had touble updating the port) To: python@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 04:08:30 -0000 Hello guys;=0A=0AThere is a new bugfix release in the 27 series with hundre= ds of =0Abugfixes:=0Ahttp://hg.python.org/cpython/file/9290822f2280/Misc/NE= WS=0A=0AI gave a try at updating the python27 port and it was rather easy t= o =0Aget started (almost all patches apply cleanly) but I get this problem= =0A when building:=0A=0A...=0Acc -c -fno-strict-aliasing -O2 -fno-strict-al= iasing -pipe -march=3Dnocona =0A-DNDEBUG -O2 -fno-strict-aliasing -pipe -ma= rch=3Dnocona -I. -IInclude =0A-I./../Include -fPIC -DPy_BUILD_CORE -o Pyth= on/Python-ast.o =0APython/Python-ast.c=0Acc: Python/Python-ast.c: No such f= ile or directory=0Acc: No input files specified=0A*** [Python/Python-ast.o]= Error code 1=0A=0AThe file actually exists.=0A=0AI went ahead and reported= the issue upstream (Issue17649) but it is=0Airreproducible in their buildb= ot and the problem is not really theirs:=0Ait looks like the hacks that we = do to stop some modules from building=0Aand the environment used to build t= he code out-of-tree don't get along=0Avery well.=0A=0APerhaps someone = here knows the port well enough to provide a fix?=0AI guess it should be po= ssible to modify the makefile to skip generating=0Athat file since it exist= s already but that's not very clean ;).=0A=0ARegards,=0A=0APedro. From owner-freebsd-python@FreeBSD.ORG Mon Apr 8 04:58:08 2013 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CE786F3F for ; Mon, 8 Apr 2013 04:58:08 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.104]) by mx1.freebsd.org (Postfix) with ESMTP id 8EBBCD5 for ; Mon, 8 Apr 2013 04:58:08 +0000 (UTC) Received: from [89.182.31.83] (helo=localhost) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1UP43N-0002sV-Q2; Mon, 08 Apr 2013 06:51:38 +0200 Date: Mon, 8 Apr 2013 06:51:37 +0200 From: Marcus von Appen To: python@FreeBSD.org, "Pedro F. Giffuni" Subject: Re: Python 2.7.4 Released (but I had touble updating the port) Message-ID: <20130408045137.GA1230@medusa.sysfault.org> Mail-Followup-To: python@FreeBSD.org, "Pedro F. Giffuni" References: <1365394103.76019.YahooMailMobile@web162103.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EuxKj2iCbKjpUGkD" Content-Disposition: inline In-Reply-To: <1365394103.76019.YahooMailMobile@web162103.mail.bf1.yahoo.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Df-Sender: MTEyNTc0Mg== X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Marcus von Appen List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2013 04:58:08 -0000 --EuxKj2iCbKjpUGkD Content-Type: multipart/mixed; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On, Mon Apr 08, 2013, Pedro F. Giffuni wrote: > 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. Right, as they changed Makefile.pre.in in a way that stops out-of-tree builds. Attached is a simple patch for it. Just copy the file into lang/python27/files. I did not test anything else yet, but at least the build runs. Cheers Marcus --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-Makefile.pre.in" Content-Transfer-Encoding: quoted-printable --- Makefile.pre.in.orig 2013-04-08 06:45:53.000000000 +0200 +++ Makefile.pre.in 2013-04-08 06:46:14.000000000 +0200 @@ -283,7 +283,7 @@ # AST AST_H_DIR=3D Include AST_H=3D $(AST_H_DIR)/Python-ast.h -AST_C_DIR=3D Python +AST_C_DIR=3D $(srcdir)/Python AST_C=3D $(AST_C_DIR)/Python-ast.c AST_ASDL=3D $(srcdir)/Parser/Python.asdl =20 --vtzGhvizbBRQ85DL-- --EuxKj2iCbKjpUGkD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlFiTNkACgkQi68/ErJnpkeTkACfRnEf9STrqF1eoAsPe9aHD1rV YU0An2vO95AKUOiKSNyn2Tf67yOYScvC =I4Hc -----END PGP SIGNATURE----- --EuxKj2iCbKjpUGkD--