[issue15819] Unable to build Python out-of-tree when source tree is readonly.

koobs report at bugs.python.org
Tue Nov 19 11:08:05 CET 2013


koobs added the comment:

I'm not sure how I missed this, but our FreeBSD ports that build out-of-tree required adding a local patchthat reverts the Makefile.pre.in change in ab6ab44921b2 when we updated each port to the latest releases of 2.7, 3.2 and 3.3:

https://svnweb.freebsd.org/ports?view=revision&revision=318353

Without it, builds fail with:

cc -c -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./../Include -I/usr/local/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

Stop in /freebsd/ports/lang/python27/work/Python-2.7.6/portbld.shared.

I also note Trents msg173160 in issue #15298, which may be related?, but seems only resolved for OSX.

What needs to be done to remove the need for this patch?

----------
nosy: +koobs

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15819>
_______________________________________


More information about the Python-bugs-list mailing list