[issue9860] Building python outside of source directory fails

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue9860] Building python outside of source directory fails

2012-10-21 Thread Éric Araujo
Éric Araujo added the comment: FYI hg -R path_to_repo works, we don't have to cd. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue9860] Building python outside of source directory fails

2012-08-30 Thread Trent Nelson
Trent Nelson added the comment: FWIW, `make patchcheck` fails for me as follows: % make patchcheck ./python /home/trent/hg/cpython-3.2/Tools/scripts/patchcheck.py Getting the list of files that have been added/changed ... abort: no repository found in '/tmp/cpython-3.2-build' (.hg not found)!

[issue9860] Building python outside of source directory fails

2012-08-29 Thread Trent Nelson
Changes by Trent Nelson : -- nosy: +trent ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue9860] Building python outside of source directory fails

2011-08-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset bea11ce24bb0 by Éric Araujo in branch '2.7': Let “make patchcheck” work for out-of-dir builds (#9860) http://hg.python.org/cpython/rev/bea11ce24bb0 -- ___ Python tracker

[issue9860] Building python outside of source directory fails

2011-08-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 313a71664781 by Éric Araujo in branch '3.2': Let “make patchcheck” work for out-of-dir builds (#9860) http://hg.python.org/cpython/rev/313a71664781 New changeset 5993f91598ce by Éric Araujo in branch 'default': Merge fixes for #9860, #11104/#8688 a

[issue9860] Building python outside of source directory fails

2011-07-05 Thread Éric Araujo
Éric Araujo added the comment: I am working on a patch to make patchcheck use os.path.join(sysconfig.get_config_var('srcdir'), etc.) to look for the .hg dir and open files (to do its checks) with the right paths. -- ___ Python tracker

[issue9860] Building python outside of source directory fails

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Here is a related bug: $ make patchcheck ./python.exe ../py3k-commit/Tools/scripts/patchcheck.py Getting the list of files that have been added/changed ... need a checkout to get modified files [49399 refs] make: *** [patchcheck] Error 1 -- vers

[issue9860] Building python outside of source directory fails

2010-09-21 Thread Ned Deily
Ned Deily added the comment: FYIW, the OS X installer build script (Mac/BuildScript/build-installer.py for years has, and continues to, depend on building outside of the source directory. When I build one, I always start with a clean source directory. There are so many opportunities for the

[issue9860] Building python outside of source directory fails

2010-09-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > Does this apply to 2.7 too? I think it does, but it would be hard to sell any improvements in this area as a bug fix. -- ___ Python tracker __

[issue9860] Building python outside of source directory fails

2010-09-20 Thread Éric Araujo
Éric Araujo added the comment: Does this apply to 2.7 too? -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Wed, Sep 15, 2010 at 5:45 PM, Roumen Petrov wrote: .. > Please could you remove object files from source tree then try again. > It looks like you missed my penultimate comment. > This is invalid issue. At the very least, Building Python [1] section c

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Roumen Petrov
Roumen Petrov added the comment: Please could you remove object files from source tree then try again. This is invalid issue. -- nosy: +rpetrov ___ Python tracker ___ __

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > (what is VPATH?) VPATH is a search path that make uses to find targets and prerequisites. configure sets it to its own location when invoked from a directory other than cwd. -- ___ Python tracker

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It turns out that make only gets confused when target files (Parser/pgenmain.o etc.) exist in the source directory. Thus an obvious workaround is to build all versions in alternative directories or delete object files from source tree before alternativ

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: It works here (Linux). Did you try make distclean first? Also, try to remove the various files created by configure. (what is VPATH?) -- nosy: +pitrou ___ Python tracker

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I think the problem is with the following explicit rules in Makefile: Parser/tokenizer_pgen.o:$(srcdir)/Parser/tokenizer.c Parser/pgenmain.o: $(srcdir)/Include/parsetok.h It looks like these rules are not VPATH friendly. Per Antoine's sug

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : When testing config options, it is often useful to build python in a directory different from the root of the source tree. This is supported by autoconf based builds as follows: you cd to the desired directory run configure with an explicit path. For