Python 2.7.4 Released (but I had touble updating the port)
Marcus von Appen
mva at FreeBSD.org
Mon Apr 8 04:58:08 UTC 2013
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
-------------- next part --------------
--- 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= Include
AST_H= $(AST_H_DIR)/Python-ast.h
-AST_C_DIR= Python
+AST_C_DIR= $(srcdir)/Python
AST_C= $(AST_C_DIR)/Python-ast.c
AST_ASDL= $(srcdir)/Parser/Python.asdl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-python/attachments/20130408/afabbf5e/attachment.sig>
More information about the freebsd-python
mailing list