[issue9860] Building python outside of source directory fails

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9860

[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 rep...@bugs.python.org http://bugs.python.org/issue9860 ___ ___

[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 tr...@snakebite.org: -- nosy: +trent ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9860 ___ ___ Python-bugs-list mailing

[issue9860] Building python outside of source directory fails

2011-08-01 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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':

[issue9860] Building python outside of source directory fails

2011-08-01 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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-07-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue9860] Building python outside of source directory fails

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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: ***

[issue9860] Building python outside of source directory fails

2010-09-21 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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 rep...@bugs.python.org

[issue9860] Building python outside of source directory fails

2010-09-21 Thread Ned Deily
Ned Deily n...@acm.org 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

[issue9860] Building python outside of source directory fails

2010-09-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Does this apply to 2.7 too? -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9860 ___

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Alexander Belopolsky
New submission from Alexander Belopolsky belopol...@users.sourceforge.net: 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

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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. --

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Please could you remove object files from source tree then try again. This is invalid issue. -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9860